fix: surface fallback/quota failures to prevent opencode from hanging indefinitely#139
Open
win0na wants to merge 7 commits intogriffinmartin:mainfrom
Open
fix: surface fallback/quota failures to prevent opencode from hanging indefinitely#139win0na wants to merge 7 commits intogriffinmartin:mainfrom
win0na wants to merge 7 commits intogriffinmartin:mainfrom
Conversation
e735749 to
36a0bf9
Compare
Author
|
The above commits fix the linting & CI build issues that were present, & update the CHANGELOG.md to reflect the latest version. |
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
Related issue
N/A.
Testing
make allCI=true pnpm testpnpm testpnpm run buildCI=true pnpm exec node --test --experimental-strip-types --test-name-pattern "auth loader aborts hung outbound fetch within request timeout|auth loader preserves caller abort signal over request timeout" src/index.test.tsnode --test --experimental-strip-types src/index.test.ts --test-name-pattern "auth loader surfaces generic 429 immediately for upstream fallback|auth loader surfaces 503 immediately for upstream fallback|auth loader surfaces 529 immediately for upstream fallback|auth loader retries once on 401 before surfacing terminal failure"node --test --experimental-strip-types src/transforms.test.ts --test-name-pattern "transformResponseStream errors stalled SSE stream after idle timeout|transformResponseStream continues streaming when boundaries arrive before timeout|transformResponseStream passes 429 errors through intact"Checklist
feat:,fix:,docs:,chore:, etc.)make allpasses locally (runs lint, build, and test)