Skip to content

test(server): lock fixed workspace routing context#26454

Merged
kitlangton merged 1 commit into
devfrom
kit/httpapi-fixed-workspace-regression
May 9, 2026
Merged

test(server): lock fixed workspace routing context#26454
kitlangton merged 1 commit into
devfrom
kit/httpapi-fixed-workspace-regression

Conversation

@kitlangton

Copy link
Copy Markdown
Contributor

Summary

Re-opened from #26439 (closed by base-branch deletion when #26438 merged).

Locks the invariant that when `OPENCODE_WORKSPACE_ID` is set, the configured workspace ID wins over any `?workspace=...` query parameter; the request stays Local with the raw directory.

Test plan

  • `bun run test test/server/httpapi-instance-context.test.ts`

@kitlangton kitlangton force-pushed the kit/httpapi-fixed-workspace-regression branch from 26694f9 to 0794ba5 Compare May 9, 2026 02:29
@kitlangton kitlangton merged commit cc68afb into dev May 9, 2026
9 checks passed
@kitlangton kitlangton deleted the kit/httpapi-fixed-workspace-regression branch May 9, 2026 02:35
katosun2 pushed a commit to katosun2/opencode that referenced this pull request May 10, 2026
AIALRA-0 pushed a commit to AIALRA-0/opencode-turn-engine that referenced this pull request Jun 10, 2026
AIALRA-0 pushed a commit to AIALRA-0/opencode-turn-engine that referenced this pull request Jun 10, 2026
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.

1 participant