Skip to content

Add a stable-named check for compatibility tests - #674

Merged
XSAM merged 2 commits into
mainfrom
branch/github-action-stable-compatibility-tests-a691c6
Nov 21, 2026
Merged

XSAM merged 2 commits into
mainfrom
branch/github-action-stable-compatibility-tests-a691c6

Conversation

@XSAM

@XSAM XSAM commented Nov 21, 2026

Copy link
Copy Markdown
Owner

What

Adds a compatibility-test-result job (shown as Compatibility tests) to ci.yaml. It needs the compatibility-test matrix and fails unless needs.compatibility-test.result is success, 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.
  • After merge, update branch protection to require Compatibility tests and remove the per-version compatibility checks.
  • actionlint passes on the updated workflow.

🤖 Generated with Claude Code

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

codecov Bot commented Nov 21, 2026 •

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 89.9%. Comparing base (682b034) to head (3629ee9).

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.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@XSAM
XSAM enabled auto-merge (squash) November 21, 2026 03:38
@XSAM
XSAM merged commit 5a506e1 into main Nov 21, 2026
20 checks passed
@XSAM
XSAM deleted the branch/github-action-stable-compatibility-tests-a691c6 branch November 21, 2026 03:40
@XSAM XSAM added this to the v0.45.0 milestone Nov 21, 2026
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.

1 participant