Skip to content

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

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

ci(async-audit): Phase 4 — enforce async-route audit#98
pcalnon merged 2 commits 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.

This is the first of four Phase 4 PRs: data → cascor → canopy → worker (per the plan's blast-radius ordering).

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

  • ruff check --select ASYNC juniper_data/ exits clean
  • pre-commit run ruff-async-audit --all-files passes
  • CI async-route-audit job goes green on this PR

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 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>
@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 3c68a95 into main May 7, 2026
23 of 24 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