fix(opencode): increase OpenAI header timeout - #37770
Merged
Merged
Conversation
Bkm016
pushed a commit
to Bkm016/opencode
that referenced
this pull request
Jul 20, 2026
Co-authored-by: Aiden Cline <rekram1-node@users.noreply.github.com>
avion23
pushed a commit
to avion23/opencode
that referenced
this pull request
Jul 20, 2026
Co-authored-by: Aiden Cline <rekram1-node@users.noreply.github.com>
tobocop2
pushed a commit
to tobocop2/opencode
that referenced
this pull request
Jul 29, 2026
Co-authored-by: Aiden Cline <rekram1-node@users.noreply.github.com>
3kaiu
pushed a commit
to 3kaiu/opencode-x
that referenced
this pull request
Jul 31, 2026
Co-authored-by: Aiden Cline <rekram1-node@users.noreply.github.com>
MarsQiu007
referenced
this pull request
in MarsQiu007/openNovel
Jul 31, 2026
Co-authored-by: Aiden Cline <rekram1-node@users.noreply.github.com>
banlanzs
pushed a commit
to banlanzs/opencode
that referenced
this pull request
Aug 6, 2026
Co-authored-by: Aiden Cline <rekram1-node@users.noreply.github.com>
charlesverge
pushed a commit
to charlesverge/opencode
that referenced
this pull request
Aug 11, 2026
Co-authored-by: Aiden Cline <rekram1-node@users.noreply.github.com>
androidand
added a commit
to androidand/opencode-skein
that referenced
this pull request
Aug 14, 2026
Reconciles the 35/34 divergence between local dev and origin/dev. 53
conflict hunks: bun.lock regenerated rather than hand-merged,
fork/manifest.json reconciled last against what the source files actually
became, and 17 source hunks decided per hunk.
Most source hunks were ties — both sides made the same change (log.info ->
Effect.logInfo, LayerNode.make positional -> object form) and differed only
in wrapping. Resolved to whichever side matches prettier's 120-column
output.
The genuine divergences went to the fork, because upstream's half was the
same problem solved a different way and the fork's half is the completed
refactor:
- local/placement.ts: pick() returns a discriminated outcome and the Effect
caller logs (task.ts:254-268 logs all three outcomes). Upstream instead
logged in place via syncLog*.
- provider/provider.ts: discoverOpenAICompatibleModels returns
{ models, warnings }; the caller logs them at provider.ts:2114.
- The retired defaultLayer exports stay retired — the only remaining
references in the tree are two comments explaining the removal.
provider.ts's OPENAI_HEADER_TIMEOUT_DEFAULT keeps 300_000. That looks like
a fork value but is upstream's own (PR anomalyco#37770), already restored here by
30104df; origin/dev still carries the superseded 10_000.
Two defects came from git's *automatic* merges, not the conflicts — both
sides added the same lines at different offsets, so both copies survived:
duplicate fork script keys in package.json (bun warned) and a duplicate
ForkDistribution import in installation/index.ts (TS2300).
fork/manifest.json takes origin/dev's newer baseline (91df883, 2026-08-13)
and its _ownedRemoved_* notes; the owned/patched sets resolve to the local
side, which is a strict superset. util/sync-log.ts is registered as owned
but is now unused — see _ownedUnused_2026-08-14; it needs a decision, not a
silent deletion.
typecheck 30/30 clean, loop tests 149 pass / 0 fail.
Spark-Liang
pushed a commit
to Spark-Liang/opencode
that referenced
this pull request
Aug 18, 2026
Co-authored-by: Aiden Cline <rekram1-node@users.noreply.github.com>
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
Fixes #29548
Testing
bun test test/provider/header-timeout.test.ts(6 passed)Requested by: @rekram1-node (Aiden Cline via Slack)