ci(async-audit): Phase 4 — enforce async-route audit#98
Merged
Conversation
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 job to "Async-route audit (BUG-JD-10 class)" (no more "soft-fail" suffix). - ``.pre-commit-config.yaml``: remove ``--exit-zero`` from the ``ruff-async-audit`` hook so violations block commits. Repo reached zero violations at end of Phase 3 (PR #96). Verified ``ruff check --select ASYNC juniper_data/`` exits clean and ``pre-commit run ruff-async-audit --all-files`` passes. First 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>
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.
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.
This is the first of four Phase 4 PRs: data → cascor → canopy → worker (per the plan's blast-radius ordering).
Changes
.github/workflows/ci.ymlcontinue-on-error: truefrom theasync-route-auditjob.--exit-zerofrom the ruff command (annotations still render via--output-format=github)..pre-commit-config.yaml--exit-zerofrom theruff-async-audithook so violations block commits locally.Verification
ruff check --select ASYNC juniper_data/exits cleanpre-commit run ruff-async-audit --all-filespassesasync-route-auditjob goes green on this PRTest plan
🤖 Generated with Claude Code