Skip to content

Fix: enforce CI gates so untested code cannot ship (H-4) - #432

Merged
0xLeif merged 1 commit into
mainfrom
fix/ci-release-gate
Jul 2, 2026
Merged

Fix: enforce CI gates so untested code cannot ship (H-4)#432
0xLeif merged 1 commit into
mainfrom
fix/ci-release-gate

Conversation

@0xLeif

@0xLeif 0xLeif commented Jul 2, 2026

Copy link
Copy Markdown
Contributor

Summary

  • release.yml: add a Test gate job (fmt + clippy + cargo test) that the build matrix needs, so 5-platform release binaries can no longer be published from a commit that fails tests.
  • ci.yml: stop cancelling in-progress runs on maincancel-in-progress now excludes refs/heads/main, so every merged commit gets a completed CI verdict.
  • ci.yml: add specs/** to the push and pull_request path filters so spec-only PRs trigger the strict spec-check job instead of running no CI at all.

Addresses review finding H-4 (no release test gate / cancelled main runs) and the specs/** CI-coverage gap. Enabling branch-protection required status checks is a repo-settings change and is intentionally left out of this PR.

Test Plan

  • Workflow YAML validated locally (parses cleanly)
  • CI runs green on this PR
  • Follow-up: enable required status checks on main (lint, audit, spec-check, test (ubuntu-latest))

🤖 Generated with Claude Code

https://claude.ai/code/session_016AvsKakjAc3EKN2ztcMfYi

- release.yml: add a Test gate job (fmt + clippy + cargo test) that the
  build matrix `needs`, so 5-platform release binaries can no longer be
  published from a commit that fails tests.
- ci.yml: stop cancelling in-progress runs on main (cancel-in-progress
  now excludes refs/heads/main) so every merged commit gets a completed
  CI verdict.
- ci.yml: add specs/** to the push and pull_request path filters so
  spec-only PRs trigger the strict spec-check job instead of running no
  CI at all.

Addresses review findings H-4 (no release test gate / cancelled main
runs) and the specs/** CI-coverage gap. Branch-protection
required-status-checks is a repo-settings change and is intentionally
left out of this commit.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_016AvsKakjAc3EKN2ztcMfYi
@0xLeif
0xLeif requested a review from a team as a code owner July 2, 2026 03:31
@0xLeif
0xLeif requested review from 0xGaspar, Kyntrin and tofu-ux July 2, 2026 03:31
@gemini-code-assist

Copy link
Copy Markdown

Note

Gemini is unable to generate a review for this pull request due to the file types involved not being currently supported.

@github-actions github-actions Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

❌ Corvin says...

      _
    <(;\  .oO(oh no...)
     |/(\
      \(\\
      " "\\

"Caw... validation failed..."

CI Summary

Check Status
Dependency Audit ❌ failure
Integration (3 OS) ✅ Passed
Lint (fmt + clippy) ✅ Passed
Spec Validation ✅ Passed
Tests (3 OS) ✅ Passed

Powered by corvid-pet

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