Skip to content

Commit 951016a

Browse files
avrabeclaude
andauthored
fix(release): set release_ruleset bazel_test_command (avoid //... lazy-dep load) (#511)
The v1.1.1 release_ruleset build job failed: its default `bazel test //...` can't LOAD examples/moonbit_component (needs @rules_moonbit, deliberately lazy/not eagerly fetched — rolling-URL checksum drift). Main CI avoids //... via an explicit allowlist for the same reason. Override bazel_test_command to build the core rule packages only (//wasm //wit //rust //go //cpp //js //providers) — a pre-release sanity check; the full suite already ran in main CI on the tagged commit. Verified locally at v1.1.1: `bazel build //wasm/... //wit/... //rust/... //go/... //cpp/... //js/... //providers/...` succeeds (46 targets, no load error). Co-authored-by: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
1 parent 3bff768 commit 951016a

1 file changed

Lines changed: 6 additions & 0 deletions

File tree

.github/workflows/release.yml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -42,6 +42,12 @@ jobs:
4242
# to the release before it goes live (required for immutable releases).
4343
draft: true
4444
tag_name: ${{ inputs.tag || github.ref_name }}
45+
# release_ruleset defaults to `bazel test //...`, which fails to LOAD this
46+
# repo's optional/lazy-dep example packages (e.g. examples/moonbit_component
47+
# needs @rules_moonbit, deliberately not eagerly fetched). Build the core
48+
# rule packages only — a pre-release sanity check; the full suite already
49+
# ran in main CI on the tagged commit.
50+
bazel_test_command: "bazel build //wasm/... //wit/... //rust/... //go/... //cpp/... //js/... //providers/..."
4551

4652
publish:
4753
needs: release

0 commit comments

Comments
 (0)