Skip to content

Test threshold-breach and feature-branch-push matrix items - #2

Closed
tbjers wants to merge 1 commit into
mainfrom
test/matrix-threshold-and-branch
Closed

Test threshold-breach and feature-branch-push matrix items#2
tbjers wants to merge 1 commit into
mainfrom
test/matrix-threshold-and-branch

Conversation

@tbjers

@tbjers tbjers commented Jun 24, 2026

Copy link
Copy Markdown
Contributor

Summary

  • Broadens the push trigger to test/** so the branch push exercises the feature-branch skip path (Not on default branch — skipping ingest).
  • Adds a threshold-breach job (PR-only) that sets min-coverage: 99, wraps the action in continue-on-error, then asserts the step outcome is failure — confirming the breach is caught rather than silently skipped by an OIDC early-return.

What to verify

  • Push-triggered run (test job): Report-metrics step should log Not on default branch (test/matrix-threshold-and-branch ≠ main) — skipping ingest. and the job is green.
  • PR-triggered run (threshold-breach job): The action step is red (coverage < 99%), the assert step is skipped, and the overall job is green.
  • PR-triggered run (test job): Normal pass with min-coverage: 20.

🤖 Generated with Claude Code

Adds two new CI verification scenarios:

- Push trigger broadened to `test/**` so feature-branch pushes exercise
  the "Not on default branch — skipping ingest" early-return path.
- New `threshold-breach` job (PR-only): sets min-coverage=99, wraps the
  action step in continue-on-error, then asserts the step outcome is
  'failure' — confirming the breach was caught and not silently skipped
  by an OIDC early-return.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
@tbjers

tbjers commented Jun 24, 2026

Copy link
Copy Markdown
Contributor Author

Matrix items verified in CI — closing without merging. The threshold-breach job design is not stable as a permanent fixture; threshold detection is better covered by unit tests in run.test.ts.

@tbjers tbjers closed this Jun 24, 2026
@tbjers
tbjers deleted the test/matrix-threshold-and-branch branch June 24, 2026 18:41
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