Toast: visible Undo action can expire while focused #1238

Open
opened 2026-10-06 22:18:04 +00:00 by kayg · 0 comments
Owner

Reproduction: 2026-10-07, local production web build and local production calternal-server, Playwright Node 22.23.3 with CALTERNAL_E2E_MAC=1.

Run from apps/web:
CALTERNAL_SERVER_BIN=/home/kayg/build/targets/bash-tasks/release/calternal-server CALTERNAL_MEDIA_SANDBOX_ROOT="$PWD/../../target/e2e-media-runtime" TMPDIR="$PWD/../../target/tmp" CALTERNAL_E2E_MAC=1 TASKS_SHOTS="$PWD/../../artifacts/bash-tasks/tasks" node e2e/tasks.mjs

The real Tasks Board flow moves a Task and captures its production state at 390, 820, and 1440 px in paper and tokyo-night themes. The helper focuses the visible Undo action before screenshot work. Focus pauses the toaster's visible countdown. After the sixth capture, the Undo button still exists and is visible, but its callback has expired; clicking it sends no PATCH and leaves the Task moved. The helper fails waiting for the inverse PATCH in captureTaskDropFrames at line 208.

Evidence screenshot: artifacts/bash-tasks/tasks/1440-tokyo-night-drag-after-drop.png
The app-styled Undo is visible in the screenshot. Re-running the same command reproduces the timeout. This is shared toast action lifecycle behavior; no shared toaster code was changed.

Reproduction: 2026-10-07, local production web build and local production calternal-server, Playwright Node 22.23.3 with CALTERNAL_E2E_MAC=1. Run from apps/web: CALTERNAL_SERVER_BIN=/home/kayg/build/targets/bash-tasks/release/calternal-server CALTERNAL_MEDIA_SANDBOX_ROOT="$PWD/../../target/e2e-media-runtime" TMPDIR="$PWD/../../target/tmp" CALTERNAL_E2E_MAC=1 TASKS_SHOTS="$PWD/../../artifacts/bash-tasks/tasks" node e2e/tasks.mjs The real Tasks Board flow moves a Task and captures its production state at 390, 820, and 1440 px in paper and tokyo-night themes. The helper focuses the visible Undo action before screenshot work. Focus pauses the toaster's visible countdown. After the sixth capture, the Undo button still exists and is visible, but its callback has expired; clicking it sends no PATCH and leaves the Task moved. The helper fails waiting for the inverse PATCH in captureTaskDropFrames at line 208. Evidence screenshot: artifacts/bash-tasks/tasks/1440-tokyo-night-drag-after-drop.png The app-styled Undo is visible in the screenshot. Re-running the same command reproduces the timeout. This is shared toast action lifecycle behavior; no shared toaster code was changed.
Commenting is not possible because the repository is archived.
No labels
No milestone
No project
No assignees
1 participant
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-v0#1238
No description provided.