Skip to content

ci(async-audit): Phase 4 — enforce async-route audit#248

Merged
pcalnon merged 1 commit intomainfrom
ci/async-route-audit-phase-4-enforce
May 7, 2026
Merged

ci(async-audit): Phase 4 — enforce async-route audit#248
pcalnon merged 1 commit intomainfrom
ci/async-route-audit-phase-4-enforce

Conversation

@pcalnon
Copy link
Copy Markdown
Owner

@pcalnon pcalnon commented May 6, 2026

Summary

Phase 4 of the async-route audit migration (juniper-ml ASYNC_ROUTE_AUDIT_HOOK_MIGRATION_PLAN.md §4). Drops the soft-fail flags so any new BUG-JD-10-class violation hard-fails.

Third of four Phase 4 PRs: data (#98) → cascor (#235) → canopy → worker.

Changes

.github/workflows/ci.yml

  • Remove continue-on-error: true from the async-route-audit job.
  • Remove --exit-zero from the ruff command (annotations still render via --output-format=github).
  • Rename job from "Async-route audit (BUG-JD-10 class, soft-fail)" → "Async-route audit (BUG-JD-10 class)".
  • Update header comment from "Phase 2 — soft-fail visibility" → "Phase 4 — enforced".

.pre-commit-config.yaml

  • Remove --exit-zero from the ruff-async-audit hook so violations block commits locally.
  • Update header comment.

Verification

Test plan

  • CI green on this PR with the enforced lane
  • Branch protection rules updated to require the lane (separate manual step in repo settings)

🤖 Generated with Claude Code

Drop the soft-fail flags so any new ASYNC* violation hard-fails:
- ``.github/workflows/ci.yml``: remove ``continue-on-error: true`` from
  the ``async-route-audit`` job and ``--exit-zero`` from the ruff
  command. Rename to "Async-route audit (BUG-JD-10 class)".
- ``.pre-commit-config.yaml``: remove ``--exit-zero`` from the
  ``ruff-async-audit`` hook so violations block commits.

Repo reached zero visible violations at end of Phase 3 (PR #247).
Verified ``ruff check --select ASYNC src/`` exits clean.

Third of four Phase 4 PRs (data → cascor → canopy → worker).

Refs: notes/ASYNC_ROUTE_AUDIT_HOOK_MIGRATION_PLAN.md §4 (in juniper-ml)

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
@pcalnon pcalnon self-assigned this May 7, 2026
Copy link
Copy Markdown
Owner Author

@pcalnon pcalnon left a comment

Choose a reason for hiding this comment

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

approved

@pcalnon pcalnon merged commit 6744db7 into main May 7, 2026
19 of 25 checks passed
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