Skip to content

fix: preserve provider error status - #39976

Merged
rekram1-node merged 2 commits into
v2from
payload-recovery
Aug 1, 2026
Merged

fix: preserve provider error status#39976
rekram1-node merged 2 commits into
v2from
payload-recovery

Conversation

@rekram1-node

Copy link
Copy Markdown
Collaborator

Summary

  • preserve provider HTTP status on durable session errors and generated clients
  • classify payload-size failures separately from model context overflow
  • retain both cases as invalid-request subtypes without adding retry behavior

Testing

  • bun test test/provider-error.test.ts test/executor.test.ts from packages/ai
  • bun test test/session-error.test.ts from packages/core
  • bun run generate from packages/client

Typecheck

  • package typechecks are blocked by the existing missing @standard-schema/spec dependency

@rekram1-node
rekram1-node merged commit 003b22e into v2Aug 1, 2026
7 of 8 checks passed
@rekram1-node
rekram1-node deleted the payload-recovery branch August 1, 2026 16:06
github-actionsBot pushed a commit to ReStranger/opencode that referenced this pull request Aug 3, 2026
* upstream/v2:
test(core): stabilize shell integration timing (anomalyco#40084)
fix(core): route Bedrock packages natively (anomalyco#40165)
feat(ai): add native Bedrock Mantle support (anomalyco#40119)
fix(tui): reserve home and end for navigation (anomalyco#40123)
refactor(ai): align multimodal naming (anomalyco#40073)
refactor(tui): remove redundant code (anomalyco#40081)
fix(tui): discover plugins across config roots (anomalyco#39988)
fix(tui): make vertical tabs responsive (anomalyco#40080)
feat(tui): add vertical session tabs (anomalyco#40072)
fix: preserve provider error status (anomalyco#39976)
fix(tui): prevent sidebar scrollbar flash (anomalyco#40056)
feat(tui): prioritize favorite model search results (anomalyco#40049)
Sign up for freeto 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

@rekram1-node