x-opencode-session header for backend session affinity
Cluster 81584 · agent. Data as of
Nothing open on GitHub. Fix merged in #101864 on 3 Sep 2026. Check it covers your case.
The short answer
- Known?
- Yes. 3 related items grouped here, 1 issue already closed.
- Fix event
- A fix was merged to main in PR #101864. Check it covers your case. No release data is tracked.
- Tracker
- The maintainers' tracker marks this
resolved, deciding PR #101864. That is separate from the fix event. - Still open
- Nothing open on GitHub.
These items address adding the x-opencode-session header to OpenCode requests to enable session affinity, prompted by a bug where omitting it caused model unavailability errors.
Open issues0
Open PRs0
Fixes on record
-
#101864 feat(opencode): every OpenCode request now carries x-opencode-session for backend affinity (#81584)
files:
agent/auxiliary_client.py,agent/chat_completion_helpers.py,agent/opencode_affinity.py,tests/agent/test_opencode_session_affinity.py,website/docs/integrations/providers.md
1 PR closed without merging
From the close comments: superseded by another PR 1
-
#81591 fix(opencode-go): send x-opencode-session header for session affinity · superseded by another PR →
1393969,#101864,#81584,#81832
Closed issues · 1
- Closed#81584[Bug]: OpenCode Go deepseek-v4-flash fails with 400 "Model is unavailable" unless x-opencode-session is sent
How this cluster was grouped
-
Link evidence (
structural links throughout): every member is connected by structural evidence: shared changed files, or a closing/superseded reference. -
Pairwise link density
0.67: the share of item pairs that carry a link, counting a structural link in full and a relevance-only link at 0.36.1.00means every pair is linked.
Pick up a Lab task
Check whether a fix covers the open issues here, with your own agent. Bring back evidence for maintainers.
Open the LabAt a glance
- Subsystem
- agent
- Merged PRs
- #101864
- Closed issues
- 1
- Attempts
- 1 PR closed without merging
- Fix link checked
- 3 Sep 2026