Merge branch 'codex/work-folders-storybook-refresh' into codex/work-folders-runtime-hardening-refresh

* codex/work-folders-storybook-refresh:
  test: select campaign runner generation explicitly
This commit is contained in:
Dotta 2026-09-11 16:26:46 -05:00
commit 7bdcc4bc29
1 changed files with 9 additions and 5 deletions

View File

@ -803,12 +803,11 @@ for (const execution of executions) {
});
try {
const initialExperimental = await api.get<{
enableNativeRunner: boolean;
}>("/api/instance/settings/experimental");
expect(initialExperimental.enableNativeRunner).toBe(false);
// Each isolated campaign selects its generation explicitly; the app's
// default can change without changing which runtime this cell exercises.
const enableNativeRunner = execution.profile.generation === "native";
await api.patch("/api/instance/settings/experimental", {
enableNativeRunner: true,
enableNativeRunner,
...(execution.task.flow === "warm_three_turn"
? { enableIsolatedWorkspaces: true }
: {}),
@ -818,6 +817,11 @@ for (const execution of executions) {
: {}),
});
const configuredExperimental = await api.get<{
enableNativeRunner: boolean;
}>("/api/instance/settings/experimental");
expect(configuredExperimental.enableNativeRunner).toBe(enableNativeRunner);
fixtures = await setupLiveFixtures({
api,
execution,