Skip to content

ci: add bazel 8.3.0 release to the test matrix - #144

Merged
xnox merged 1 commit into
chainguard-dev:mainfrom
xnox:bazel8.3
Jul 1, 2025
Merged

xnox merged 1 commit into
chainguard-dev:mainfrom
xnox:bazel8.3

Conversation

@xnox

@xnox xnox commented Jun 24, 2025

Copy link
Copy Markdown
Member

Hopefully correctly add bazel 8.3.0 to the test matrix

@xnox
xnox enabled auto-merge (squash) June 24, 2025 12:47
@xnox
xnox requested a review from zmarano June 24, 2025 12:47
@xnox
xnox force-pushed the bazel8.3 branch 2 times, most recently from 1702488 to 759f695 Compare July 1, 2025 00:40
Add bazel 8.3.0 release to the test matrix.

Drop 8.2.0 releae from the test matrix.

Adjust test cases to check docs only with latest bazel, as older bazel
release may have doc output differences and changes.
@xnox
xnox merged commit 29a2d68 into chainguard-dev:main Jul 1, 2025
xnox added a commit to xnox/rules_apko that referenced this pull request Aug 26, 2026
The four pinned versions were each the newest of their series when they
were added (chainguard-dev#108, chainguard-dev#144, chainguard-dev#298) and have since gone stale: the matrix
tests 9.1.0 and 8.6.0 while 9.2.0 and 8.7.0 are out.

Bazelisk resolves N.x to the latest release of that LTS series, so use
9.x, 8.x and 7.x for the heads and let them track releases on their own.
.bcr/presubmit.yml already expresses its matrix this way. Verified with
bazelisk: 9.x -> 9.2.0, 8.x -> 8.7.0, 7.x -> 7.7.1.

Add rolling (currently 10.0.0-pre.20260811.3) so breakage in the next
LTS shows up before it ships. That cell is advisory: continue-on-error
is set for it alone, and a cell with continue-on-error counts as a
success for anything that needs: the job, so a broken rolling release
cannot block a merge while every supported version still gates
test-roundup.

Keep 9.1.0, 8.3.0 and 7.6.1 pinned. 9.1.0 is what .bazelversion gives
contributors locally, and the other two are the oldest releases of their
series the matrix covers, which the floating entries would otherwise
silently drop.

The docs-test conditions compared version strings relationally, which
does not extend to 'rolling' or 'N.x'. Match on the series prefix with
startsWith instead.

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants