Skip to content

chore: sync 11 low-risk upstream provider/reliability fixes from anomalyco/dev - #56

Merged
sepo-eng merged 11 commits into
devfrom
chore/sync-upstream-provider-fixes
Aug 13, 2026
Merged

chore: sync 11 low-risk upstream provider/reliability fixes from anomalyco/dev#56
sepo-eng merged 11 commits into
devfrom
chore/sync-upstream-provider-fixes

Conversation

@sepo-eng

Copy link
Copy Markdown

Issue for this PR

Closes #

Type of change

  • Bug fix
  • New feature
  • Refactor / code improvement
  • Documentation

What does this PR do?

Sean asked me to look at what's diverged upstream (anomalyco/opencode dev, 35 commits ahead of ours) and bring in what's actually applicable to this fork. I triaged all 35 by testing an isolated cherry-pick of each against our current dev, not just reading titles.

22 of the 35 are not applicable and are excluded here — they're anomalyco's own hosted-SaaS infrastructure we don't run: packages/console (their web console), packages/stats (Cloudflare R2 analytics), the zen.mdx/go.mdx docs (their hosted model-proxy product), script/beta.ts (their release channel), the pulumi CI auth fix (their deploy pipeline — we use k8s/converge), nix/hashes.json (they build with nix, we don't), .github/TEAM_MEMBERS (would misattribute team membership to us), and their own version-sync commits (we track our own fork version independently).

2 more need a hand-merge, not a cherry-pick, and are handled in separate PRs: a compaction-prompt-clarity fix that partially conflicts with our TKT-379 fix (their version reverts to hiding the compaction marker, which we deliberately don't do — measured regression if reverted), and a Muse-family model routing fix (Sean plans to actually serve Muse Glimmer, so this needs to land correctly, not just cherry-picked blind).

This PR is the remaining 11: clean, isolated, low-risk fixes that cherry-pick without conflict and apply equally to any opencode deployment, ours included:

Commit What
3a90639 fix(ui): correct OC-2 weak icon color
5d95348 fix(provider): scope DeepSeek V4 Flash sampling defaults
561afb4 fix(opencode): detect Copilot PDF input support
c789868 fix(opencode): cap session retries with jitter
8571a92 fix(provider): add Merge Gateway reasoning variants
ca3df21 docs: fix broken DigitalOcean and Daytona links
959c8bd docs: fix provider display name and PAT typos
502310f fix(xai): pass through reasoning effort
beeabe2 fix(mistral): pass through reasoning effort
6fea419 fix(groq): pass through reasoning effort
91df883 fix(opencode): select Kimi prompt by provider

Each commit carries its original author and message (git cherry-pick -x, so the upstream sha is in every commit's trailer for traceability). No commit here touches a file we've customized for this fork.

How did you verify your code works?

EXPECTATION: each cherry-pick applies without conflict against our current dev.
HOW EXERCISED: git cherry-pick -x <sha> for all 11, sequentially.
OBSERVED: all 11 applied clean, zero conflicts.
VERDICT: pass.

EXPECTATION: the touched packages' own tests (brought in with each fix) still pass on our fork.
HOW EXERCISED: bun test --cwd packages/opencode test/plugin/github-copilot-models.test.ts test/session/retry.test.ts test/session/system.test.ts test/provider/transform.test.ts test/provider/provider.test.ts and bun test --cwd packages/core test/provider-xai-responses.test.ts test/provider-mistral.test.ts test/provider-groq.test.ts.
OBSERVED: 577 pass, 0 fail (opencode); 9 pass, 0 fail (core).
VERDICT: pass.

EXPECTATION: the two doc-fix commits don't break the docs build.
HOW EXERCISED: bun run --cwd packages/web build.
OBSERVED: build completes clean.
VERDICT: pass.

EXPECTATION: nothing else broke.
HOW EXERCISED: repo's own pre-push hook — bun turbo typecheck across all 38 workspace packages.
OBSERVED: 32 successful, 32 total.
VERDICT: pass.

Screenshots / recordings

Not applicable — no UI-visible behavior change beyond the OC-2 theme color fix (a single hex value in a theme JSON file).

Checklist

  • I have tested my changes locally
  • I have not included unrelated changes in this PR

OpeOginni and others added 11 commits August 13, 2026 05:49
…1620)

Co-authored-by: Aiden Cline <63023139+rekram1-node@users.noreply.github.com>
Co-authored-by: 侯秀凯 <9627034+hoooou@users.noreply.github.com>
(cherry picked from commit 5d95348)
Co-authored-by: skyzhao1223 <skyzhao1223@users.noreply.github.com>
(cherry picked from commit ca3df21)
Co-authored-by: skyzhao1223 <skyzhao1223@users.noreply.github.com>
(cherry picked from commit 959c8bd)
Co-authored-by: Aiden Cline <rekram1-node@users.noreply.github.com>
(cherry picked from commit 502310f)
Co-authored-by: Aiden Cline <rekram1-node@users.noreply.github.com>
(cherry picked from commit beeabe2)
Co-authored-by: Aiden Cline <rekram1-node@users.noreply.github.com>
(cherry picked from commit 6fea419)
Co-authored-by: Aiden Cline <rekram1-node@users.noreply.github.com>
(cherry picked from commit 91df883)
Copilot AI lite review requested due to automatic review settings August 13, 2026 12:51

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copilot was unable to review this pull request because the user who requested the review has reached their quota limit.

@github-actions

Copy link
Copy Markdown

Thanks for your contribution!

This PR doesn't have a linked issue. All PRs must reference an existing issue.

Please:

  1. Open an issue describing the bug/feature (if one doesn't exist)
  2. Add Fixes #<number> or Closes #<number> to this PR description

See CONTRIBUTING.md for details.

@github-actions

Copy link
Copy Markdown

This PR doesn't fully meet our contributing guidelines and PR template.

What needs to be fixed:

  • No issue referenced. Please add Closes #<number> linking to the relevant issue.

Please edit this PR description to address the above within 2 hours, or it will be automatically closed.

If you believe this was flagged incorrectly, please let a maintainer know.

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Copilot reviewed 20 out of 21 changed files in this pull request and generated no new comments.

@sepo-eng
sepo-eng merged commit cd0bd27 into dev Aug 13, 2026
9 checks passed
@sepo-eng
sepo-eng deleted the chore/sync-upstream-provider-fixes branch August 13, 2026 18:09
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

7 participants