Repository navigation
Add a stable-named check for compatibility tests - #674
Merged
XSAM merged 2 commits intoNov 21, 2026
Merged
Conversation
The compatibility-test matrix job names include the Go version, so the required checks in branch protection have to change on every Go bump. Add a "Compatibility tests" job that waits for the whole matrix and fails unless every entry passed, to use as the required check instead. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## main #674 +/- ##
=====================================
Coverage 89.9% 89.9%
=====================================
Files 16 16
Lines 608 608
=====================================
Hits 547 547
Misses 61 61 ☔ View full report in Codecov by Harness. 🚀 New features to boost your workflow:
|
XSAM
enabled auto-merge (squash)
November 21, 2026 03:38
XSAM
deleted the
branch/github-action-stable-compatibility-tests-a691c6
branch
November 21, 2026 03:40
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What
Adds a
compatibility-test-resultjob (shown as Compatibility tests) toci.yaml. Itneedsthecompatibility-testmatrix and fails unlessneeds.compatibility-test.resultissuccess, meaning every matrix entry passed.Why
The matrix job names include the Go version (for example
compatibility-test (1.27.0, ubuntu-latest, amd64)), so the required checks in branch protection have to be edited every time the Go versions are bumped. This job's name never changes, so it can be the required check instead.Notes for reviewers
if: always()is intentional. Without it, the job is skipped when a matrix entry fails, and GitHub treats a skipped required check as passing.!cancelled()would have the same problem when the run is cancelled.actionlintpasses on the updated workflow.🤖 Generated with Claude Code