Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/workflows/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
- `evidence-command.yml`: a comment on an issue or pull request whose first line starts with `/evidence`, from an owner, member or collaborator, dispatches `evidence.yml` and replies with the run URL. On a pull request it runs on the PR branch, otherwise on `main`. Arguments are `platforms=`, `task=`, `scope=`, `test_timeout=`, `displays=`, `android=`, `qualify=`, `relocate=` and `release_cell=`, for example `/evidence platforms=["macos_arm64"] task=test scope=//haskell/...`. `evidence.yml` validates them and a rejected run fails there.
- `dx-update.yml`: weekly `tools/dx update --pr` for dependency updates. `dx init` writes the same file. Where `lock-refresh.yml` exists, it then dispatches that workflow for each open `dx-update/` branch whose `MODULE.bazel.lock` changes the `rules_python` `python` or `rules_go` `go_sdk` entries.
- `pin-android-maven.yml`: dispatch-only. Runs `REPIN=1 bazel run @rules_android_maven//:pin` on `ubuntu-latest` and uploads `rules_android_maven_install.json` as an artifact to commit after a rules_android or rules_flutter bump, so the lock is not resolved through Coursier on a throttled network (#7184).
- `lock-refresh.yml`: dispatch-only. Runs `bazel mod deps --lockfile_mode=update` on the five platforms, merges them with `tools/ci/lock_merge.sh`, which starts from the `linux_x86_64` lock and replaces each extension's `os:<os>,arch:<arch>` entry whole with the one from that platform's own lock (and deep-merges `facts`); it fails when a platform lock is missing, a directory is not a known platform, or an extension has a key other than `general` or a platform factor, normalises the result with Bazel and uploads the locks as an artifact to commit. Run it with `--ref <branch>` after changing `MODULE.bazel` when an extension is locked per platform; one host only writes its own entries. With the `pr` input, the merge job also commits the merged locks to that pull request's branch, using the dx-update app token, and does nothing when the lock is unchanged.
- `lock-refresh.yml`: dispatch-only. Runs `bazel mod deps --lockfile_mode=update` on the five platforms, merges them with `producers_bin --lock-merge`, which starts from the `linux_x86_64` lock and replaces each extension's `os:<os>,arch:<arch>` entry whole with the one from that platform's own lock (and deep-merges `facts`); it fails when a platform lock is missing, a directory is not a known platform, or an extension has a key other than `general` or a platform factor, normalises the result with Bazel and uploads the locks as an artifact to commit. Run it with `--ref <branch>` after changing `MODULE.bazel` when an extension is locked per platform; one host only writes its own entries. With the `pr` input, the merge job also commits the merged locks to that pull request's branch, using the dx-update app token, and does nothing when the lock is unchanged.
- `verify-pins.yml`: weekly `//core/quality/artifacts:update -- --verify-only`. It fails naming each stale record.
- `release-cells.yml`: reusable, read-only. Builds, independently rebuilds and qualifies one archive per `//deploy/private/release:release_matrix` cell on its native runner (a consumer Bazel build included), then verifies all records. Artifacts: `release-cell-<name>` per cell and the combined `release-cells`; outputs: `version`, `sha`, `workflow_ref`. It fails when any cell is rejected, and a rejected cell never stops the others.
- `release-tools.yml`: reusable, read-only. Builds the deadnix and selene binaries on `linux-x86_64`, `linux-arm64`, `macos-arm64` and `windows-x86_64` and uploads `release-tool-<host>`, holding the binaries, their licences and the deadnix source crate.
Expand Down
11 changes: 6 additions & 5 deletions .github/workflows/lock-refresh.yml
Original file line number Diff line number Diff line change
Expand Up @@ -77,14 +77,15 @@ jobs:
with:
pattern: lock-*
path: ${{ runner.temp }}/locks
- name: Merge
env:
LOCKS: ${{ runner.temp }}/locks
DX_JQ: jq
run: bash tools/ci/lock_merge.sh "$LOCKS" MODULE.bazel.lock
- uses: ./.github/actions/setup-bazel
with:
cache-save: false
- name: Merge
env:
LOCKS: ${{ runner.temp }}/locks
run: |
bazel build --noshow_progress //tools/ci/producers:producers_bin
"$(bazel info bazel-bin)/tools/ci/producers/producers_bin" --lock-merge "$LOCKS" MODULE.bazel.lock
- name: Normalise
run: bazel mod deps --noshow_progress --lockfile_mode=update
- uses: actions/upload-artifact@cf430e030ddbb5b0abf93d22962f4752f3646cd9 # v7.0.2
Expand Down
26 changes: 13 additions & 13 deletions MODULE.bazel
Original file line number Diff line number Diff line change
Expand Up @@ -268,31 +268,31 @@ go_sdk = use_extension("@rules_go//go:extensions.bzl", "go_sdk")
go_sdk.download(
sdks = {
"darwin_amd64": [
"go1.26.10.darwin-amd64.tar.gz",
"e820ab780c273ae4a340b79d0f3c4313b74ee029aa3874792145d44b9f4f91da",
"go1.27.4.darwin-amd64.tar.gz",
"2b799377704ef12db39bd254995d5c348c9cc8d86562ca817724390e56c38f43",
],
"darwin_arm64": [
"go1.26.10.darwin-arm64.tar.gz",
"0b5183492292ada170f9b561a834863808dd02edba599e4ad0e89899330020b3",
"go1.27.4.darwin-arm64.tar.gz",
"91a44a2b8a716600ad94a4f143e156116620db8828086a6e3602291be9bd0bb4",
],
"linux_amd64": [
"go1.26.10.linux-amd64.tar.gz",
"ccfe7ae822d2c2f41f4fe7c956199967a4dac22d0ee0d2b2bfdb440aab3b20c5",
"go1.27.4.linux-amd64.tar.gz",
"7226736c2339719cda28fbf3a54d71aa63bcefe376e98cef00034268dab24840",
],
"linux_arm64": [
"go1.26.10.linux-arm64.tar.gz",
"3f4227ce7b206a513e794f1393adb473a07b46e94d18bd15d1c684bbb7319797",
"go1.27.4.linux-arm64.tar.gz",
"3392582988a273a87ab5043ee1b2c9c17a2c3c00580bf9326c47a2e0aaaeac92",
],
"windows_amd64": [
"go1.26.10.windows-amd64.zip",
"7ecd2d7260e82c59bcbd7f1077a07cee2dea607295b858df67195a1e4e09629b",
"go1.27.4.windows-amd64.zip",
"178ab98950ac69ab25069307dc6ade79f3816e414cce95b4da166a115cde1e7e",
],
"windows_arm64": [
"go1.26.10.windows-arm64.zip",
"6831fd8c31091243d5695c8fa3a721c9f4ae2bb36482763e77e57ee01b76489f",
"go1.27.4.windows-arm64.zip",
"9e7a72565792b8ab370b37ac9ac109799237abacb39ff2f541c438b963c0cc64",
],
},
version = "1.26.10",
version = "1.27.4",
)

# floor: equals tested
Expand Down
Loading
Loading