Skip to content

fix(core): restore session request headers - #43188

Merged
neriousy merged 1 commit into
devfrom
session-headers
Aug 18, 2026
Merged

fix(core): restore session request headers#43188
neriousy merged 1 commit into
devfrom
session-headers

Conversation

@neriousy

Copy link
Copy Markdown
Contributor

Summary

  • restore x-session-affinity and X-Session-Id on V2 core runner provider requests
  • include x-parent-session-id for child sessions
  • preserve the correlation headers on compaction provider requests

The dedicated v2 branch already has this behavior from #36975. This ports the missing behavior to dev, whose shared core runner is used by the affected current releases.

Closes#42694

Validation

  • bun test test/session-runner.test.ts in packages/core (87 passed)
  • bun test in packages/core (1091 passed)
  • bun typecheck in packages/core
  • pre-push workspace typecheck (30 packages)

@neriousyneriousy self-assigned this Aug 18, 2026
@neriousy
neriousy merged commit 0033bb3 into devAug 18, 2026
11 checks passed
@neriousy
neriousy deleted the session-headers branch August 18, 2026 19:27
alltomatos pushed a commit to alltomatos/opencode that referenced this pull request Aug 18, 2026
Sign up for freeto join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

1 participant

@neriousy