Skip to content

fix: adjust tui retry dialog logic to be more provider specific and error case specific#26366

Merged
rekram1-node merged 3 commits into
devfrom
update-keys
May 8, 2026
Merged

fix: adjust tui retry dialog logic to be more provider specific and error case specific#26366
rekram1-node merged 3 commits into
devfrom
update-keys

Conversation

@rekram1-node

Copy link
Copy Markdown
Collaborator

No description provided.

@rekram1-node

Copy link
Copy Markdown
Collaborator Author

/review

@github-actions

github-actions Bot commented May 8, 2026

Copy link
Copy Markdown
Contributor

lgtm

@rekram1-node rekram1-node merged commit 799996d into dev May 8, 2026
9 checks passed
@rekram1-node rekram1-node deleted the update-keys branch May 8, 2026 15:48
truenorth-lj added a commit to truenorth-lj/opencode that referenced this pull request May 8, 2026
Reconciles RETRY_MAX_ATTEMPTS=3 cap on top of anomalyco#26366's retryable(error,
provider) and policy({provider,...}) signature changes. The cap check
runs before the retryable() classification, so it still terminates the
schedule independently of provider-specific reasoning.

Test pattern matches the upstream change: maxAttempts test now also
passes provider: 'test' to policy().
truenorth-lj added a commit to truenorth-lj/opencode that referenced this pull request May 9, 2026
Two cherry-picked tests on this fork branch were authored against an
older base and didn't compile cleanly when replayed onto current
origin/dev:

  - test/session/retry.test.ts: SessionRetry.policy() now requires
    provider: string per upstream PR anomalyco#26366. Added provider: "test"
    to the cap-only test setup.
  - test/acp/event-subscription.test.ts: the drain test still called
    Instance.provide(...); upstream renamed to WithInstance.provide
    everywhere else in the file. Aligned.

Production code is unchanged. Both fixups are test-only.
katosun2 pushed a commit to katosun2/opencode that referenced this pull request May 10, 2026
AIALRA-0 pushed a commit to AIALRA-0/opencode-turn-engine that referenced this pull request Jun 10, 2026
AIALRA-0 pushed a commit to AIALRA-0/opencode-turn-engine that referenced this pull request Jun 10, 2026
avion23 pushed a commit to avion23/opencode that referenced this pull request Jun 10, 2026
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