Skip to content
Prev Previous commit
goal(FIX-1918): a browser that fails to launch stops the server it st…
…arted

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01NczDiEMmwQjfux9CBTxNhE
  • Loading branch information
claude committed Oct 28, 2026
commit fc6fa7f13a7d79eee512fa855b5bc16ccc6790ef
Original file line number Diff line number Diff line change
Expand Up @@ -271,7 +271,11 @@ await runGoal(async (failures, tell) => {
if (SCRIPTED) failures.push("[scripted] GOAL_SCRIPTED=1 walked the scripted harnesses and model: a dry run, not a verdict");

const server = await startDev();
const browser = await launchChromium();
// The server runs in its own process group, so a browser that never starts must not leave it holding the port.
const browser = await launchChromium().catch((error: unknown) => {
server.stop();
throw error;
});
try {
Comment thread
jhoffner marked this conversation as resolved.
Resolved
// ---- host: which modes this host can run, read off the picker
const picker = await browser.newPage();
Expand Down
Loading