Repository navigation
feat(api): adaptive Antigravity resilience, model quarantine and hot timeouts - #47
Merged
Merged
Conversation
…s with actual contract
This was referenced Oct 24, 2026
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
Implement all four requested Antigravity/Gemini 3.8 resilience improvements together against the fork's production branch:
Evidence
Production current release 3.8.52-custom.32 (unchanged during development), production fork based on SHA
44fdae6b. Live SQLite logs in the last 24h showed about 2,824 Gemini3.8 call entries: 261 504, 576 499, 1,874 200 (window-dependent). Roughly 100 same-connection consecutive 504→504 sequences by correlation ID; owner reported 113 in another window. 504 durations near 12,025ms match current Gemini3.8 start timeout. Idle-gap evidence is correlational, not root-cause proof. Original retry classifier included 504. Client 499 and 429 are not counted as model timeout health failures.Verification gates
Unit tests:
tests/unit/antigravity-adaptive-health.test.ts,antigravity-timeout-retry.test.ts,antigravity-timing.test.ts.Integration:
tests/integration/antigravity-resilience-routing.test.ts,antigravity-resilience-settings.test.ts.All five added to
selected-upstream-regression.ymlalongside existing failover tests and TypeScript typecheck. These tests have not yet been validated by CI. Do not merge or deploy until green. No build/test was run on VPS per/opt/AGENTS.md; full audit and limitations indocs/audits/2026-10-24-antigravity-resilience/README.md.Release
After green CI and review, the operator will use GitHub Actions to build and test a packaged artifact off the production VPS and deploy once with the existing canary/rollback installer, then verify authenticated Antigravity requests and hot settings. Feature gates for adaptive quarantine and timing diagnostics default OFF for safe rollout; enable via admin API after deployment and confirm actual state.