Local UI startup can return 503 during owner sign-in or first Note creation #953

Open
opened 2026-10-02 21:43:41 +00:00 by kayg · 0 comments
Owner

During #639 Round 2, a real local server returned 503 before the focused UI regression could open a Note. No production Rust code changed in that round; the Notes test fixture now uses a unique User per Home. Notes, Tags and server crate gates passed.

Evidence: apps/web/e2e/harness.mjs:623 expects passkey registration and sign-in statuses [200, 200]; one fresh server returned [200, 503]. A separate run returned 503 for the first POST /api/v1/notes fixture creation (expected 201). The original assertions remain unchanged. The build host was busy. These are observed failures, not a claim that #639 introduced them or that they reproduce on a quiet host.

Reproduce with a production web build and the job debug server, then run CALTERNAL_E2E_ASSET_OVERRIDE=1 bun e2e/linknav-639.mjs from apps/web with CALTERNAL_SERVER_BIN and a worktree-backed TMPDIR set. The failed sign-in log is attached to #639's final evidence. Setup credentials and cookies are not included.

Please inspect User/Home initialization and transient database or profile-load errors during sign-in and initial Note creation. The merge round should run the focused UI regression with its prebuilt server and record the error envelope if a 503 recurs. This blocked screenshot refresh under load; it did not exercise the link-navigation assertions.

During #639 Round 2, a real local server returned 503 before the focused UI regression could open a Note. No production Rust code changed in that round; the Notes test fixture now uses a unique User per Home. Notes, Tags and server crate gates passed. Evidence: `apps/web/e2e/harness.mjs:623` expects passkey registration and sign-in statuses `[200, 200]`; one fresh server returned `[200, 503]`. A separate run returned 503 for the first `POST /api/v1/notes` fixture creation (expected 201). The original assertions remain unchanged. The build host was busy. These are observed failures, not a claim that #639 introduced them or that they reproduce on a quiet host. Reproduce with a production web build and the job debug server, then run `CALTERNAL_E2E_ASSET_OVERRIDE=1 bun e2e/linknav-639.mjs` from `apps/web` with `CALTERNAL_SERVER_BIN` and a worktree-backed `TMPDIR` set. The failed sign-in log is attached to #639's final evidence. Setup credentials and cookies are not included. Please inspect User/Home initialization and transient database or profile-load errors during sign-in and initial Note creation. The merge round should run the focused UI regression with its prebuilt server and record the error envelope if a 503 recurs. This blocked screenshot refresh under load; it did not exercise the link-navigation assertions.
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#953
No description provided.