Skip to content

feat(gga): do not block commits when the review provider is unavailable - #23

Merged
Dreamcoder08 merged 1 commit into
mainfrom
feat/gga-nonblocking-global
Sep 29, 2026
Merged

Dreamcoder08 merged 1 commit into
mainfrom
feat/gga-nonblocking-global

Conversation

@Dreamcoder08

Copy link
Copy Markdown
Owner

The pin sends every gga review to Codex, and the Codex quota is shared across models (measured: gpt-6-sol hits the same usage_limit_exceeded as gpt-6.1-sol), so a model fallback would not help. With STRICT_MODE=true a provider failure makes gga exit 1, which would block every commit in the ~31 repositories that use strict mode until the quota resets.

The marked block in the global gga config (it survives gentle-ai sync) now sets STRICT_MODE="false": a real STATUS: FAILED from the reviewer still blocks, an unavailable provider does not, and gga never reports PASSED for a review that did not run. Repositories whose own .gga sets STRICT_MODE="true" override the global value and keep blocking during an outage; this is documented in docs/configuration/gga.md together with the git commit --no-verify escape.

New bats test (fails without the change): a gentle-ai-style config with STRICT_MODE="true" ends up non-strict after the installer. bats 186 ok. Observed on this very commit: Codex failed on quota and the commit went through.

The pin sends every gga review to Codex, and the quota is shared across models (gpt-6-sol hits
the same usage limit), so a model fallback would not help. With STRICT_MODE=true a provider
failure makes gga exit 1 and blocks every commit until the quota resets.

Set STRICT_MODE=false in the marked block, which survives gentle-ai sync: a real STATUS: FAILED
still blocks, an unavailable provider does not, and gga never reports PASSED for a review that
did not run. Projects that set STRICT_MODE=true themselves keep blocking; documented in
docs/configuration/gga.md.
@Dreamcoder08
Dreamcoder08 merged commit 8ce5689 into main Sep 29, 2026
8 checks passed
@Dreamcoder08
Dreamcoder08 deleted the feat/gga-nonblocking-global branch September 29, 2026 23:25
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