Add optional fallback runtimes for agents#5282
Draft
sangemaru wants to merge 9 commits into
Draft
Conversation
|
@sangemaru is attempting to deploy a commit to the IndexLabs Team on Vercel. A member of the Team first needs to authorize it. |
sangemaru
force-pushed
the
codex/optional-fallback-runtimes
branch
from
July 18, 2026 22:21
1acbf01 to
13c6f1d
Compare
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.
Closes #1398
What changed
quotaorcreditsremains non-retryable.multica/fallback-context/<source-task>/transcript.jsonl, and the opening brief contains only its relative file pointer and source task IDCREATE INDEX CONCURRENTLYstatement per index migration (202through208)Issue #1398 acceptance criteria
The retry-child path intentionally includes canonical quota/capacity failure reasons (
agent_error.provider_quota_limitandagent_error.provider_capacity_or_rate_limit). It does not retry genericagent_errorfailures.For the concern in issue comment 4976910822:
Validation
The branch is based directly on current
maincommit002ea0d87949d112d96586bd8b42c779142cf77d.gpt-5.6-terra; all four material findings resolvedpgvector/pgvector:pg17database migration from001through208go build ./...go test -race ./...git diff --checkThe real-workflow proof used an isolated Multica workspace, real agents, two different provider runtimes, and real issues. A controlled primary quota failure produced a 15-minute cooldown, queued a bounded child on the fallback provider, preserved the same worktree with a fresh provider session, materialized a mode-
0444JSONL transcript, and completed through the fallback. Separate real tasks proved that an active cooldown bypasses the primary and that the primary becomes eligible after expiry. Full task IDs, runtime IDs, database rows, Inbox/history evidence, and commands are recorded indocs/plans/fallback-runtime-live-smoke-2026-07-11.md.Remaining gate
This PR remains draft until the newly triggered upstream CI and Mobile Verify checks pass. The local unmocked web build was unable to complete the large Google Fonts fetch on this Mac; no source workaround was added, so upstream frontend CI remains the authoritative unmocked transport check.