refactor(flags): route session workspaces through runtime flags (#27335)

This commit is contained in:
Shoubhit Dash
2026-05-13 20:14:40 +05:30
committed by GitHub
parent 8345152319
commit eed0eddc63
6 changed files with 39 additions and 18 deletions

View File

@@ -35,6 +35,7 @@ process.env["XDG_CONFIG_HOME"] = path.join(dir, "config")
process.env["XDG_STATE_HOME"] = path.join(dir, "state")
process.env["OPENCODE_MODELS_PATH"] = path.join(import.meta.dir, "tool", "fixtures", "models-api.json")
process.env["OPENCODE_EXPERIMENTAL_EVENT_SYSTEM"] = "true"
process.env["OPENCODE_EXPERIMENTAL_WORKSPACES"] = "true"
// Set test home directory to isolate tests from user's actual home directory
// This prevents tests from picking up real user configs/skills from ~/.claude/skills