Skip to content

fix: soft-skip auth/billing before ERROR sticky (fail-on=never) - #5

Merged
aisona-lab merged 1 commit into
mainfrom
fix/soft-skip-before-error-comment
Sep 29, 2026
Merged

aisona-lab merged 1 commit into
mainfrom
fix/soft-skip-before-error-comment

Conversation

@aisona-lab

Copy link
Copy Markdown
Owner

Summary

  • Classify Anthropic auth/billing (and rate-limit/overloaded) in the review step via scripts/soft_skip.py before the sticky comment runs.
  • On soft-skip: verdict=SKIPPED, skip comment, gate exits 0 — empty credits no longer post an ERROR sticky.
  • anthropic-api-key set required: false to match behavior.
  • Regression: fixture with real credit-balance stderr; tests/test_soft_skip.py asserts soft-skip exit 0 / hard path for network crash.
  • Docs: key-gate honest (GitHub forbids secrets in jobs.<id>.if).

Test plan

  • env -u ANTHROPIC_API_KEY uv run pytest -q (incl. test_soft_skip)
  • ruff / black / mypy
  • offline corpus prove
  • CI green on this PR

Move Anthropic auth/billing (and rate-limit/overloaded) classification into
the review step via scripts/soft_skip.py so fail-on=never sets verdict=SKIPPED
before the comment step — empty credits no longer post an ERROR sticky.
anthropic-api-key is required: false. Regression fixture uses the real credit-
balance stderr string. Docs: key-gate honest (secrets forbidden in jobs.*.if).
@aisona-lab
aisona-lab merged commit 09ca018 into main Sep 29, 2026
3 checks passed
@aisona-lab
aisona-lab deleted the fix/soft-skip-before-error-comment branch September 29, 2026 12:54
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