Investigate live editor socket closure during adversarial restart #263

Open
opened 2026-09-27 19:31:17 +00:00 by kayg · 1 comment
Owner

Evidence

The one-time local-server adversarial pass reached tests/adversarial/editor.mjs:632–654 (seed 25608414). This probe edits a Note in the browser, requests a server restart, then checks that the live editor persists the edit exactly once.

The probe reported:

FINDING editor server restart with a live editor seed=25608414: The socket connection was closed unexpectedly. For more information, pass verbose: true in the second argument to fetch()

The outer 10-minute timebox also expired during this restart area (timeout exit 124), so this run cannot distinguish a server restart defect from host load or timeout effects. Please inspect the restart behavior and rerun this area when diagnosing. The chrome-sidebar job did not change editor or server restart code.

## Evidence The one-time local-server adversarial pass reached `tests/adversarial/editor.mjs:632–654` (seed `25608414`). This probe edits a Note in the browser, requests a server restart, then checks that the live editor persists the edit exactly once. The probe reported: `FINDING editor server restart with a live editor seed=25608414: The socket connection was closed unexpectedly. For more information, pass verbose: true in the second argument to fetch()` The outer 10-minute timebox also expired during this restart area (`timeout` exit 124), so this run cannot distinguish a server restart defect from host load or timeout effects. Please inspect the restart behavior and rerun this area when diagnosing. The chrome-sidebar job did not change editor or server restart code.
Author
Owner

The live-editor restart case in the one-time adversarial run on job/touch-369 reported two browser page errors: https://svelte.dev/e/state_unsafe_mutation. This happened in the editor server restart with a live editor case at seed 25608414, during heavy shared-host load. The probe completed its editor phase; no restart/editor code was changed here.

The live-editor restart case in the one-time adversarial run on `job/touch-369` reported two browser page errors: `https://svelte.dev/e/state_unsafe_mutation`. This happened in the `editor server restart with a live editor` case at seed `25608414`, during heavy shared-host load. The probe completed its editor phase; no restart/editor code was changed here.
Sign in to join this conversation.
No labels
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set

Reference
kayg/calternal#263
No description provided.