--- scripts/scenarios/start-app.ts +++ scripts/scenarios/start-app-older-server.ts @@ -157,7 +157,7 @@ const ports = ["--port", serverPort, "--dev-url", origin]; const webEnv = { ...env, T3CODE_PORT_OFFSET: String(Number(webPort) - BASE_WEB_PORT) }; const server = yield* start({ - cwd: checkout, + cwd: hostEnvironment.PROOF_SERVER_APP_DIR ?? checkout, command: node, args: devRunner("dev:server", ports), env: { Set PROOF_START_APP=start-app-older-server.ts and PROOF_SERVER_APP_DIR to a checkout of the base commit. Include PROOF_SERVER_APP_DIR in T3_SCENARIO_INHERIT_ENV. The scenario runner config selects the startup script with: startApp: path.join(scripts, "scenarios", env.PROOF_START_APP ?? "start-app.ts") Both clients retain their own unmodified web source; only the server working directory changes.