Close toast: teach once in the first five sign-ins, action says Reopen #196

Closed
opened 2026-10-12 18:42:08 +00:00 by kayg · 4 comments
Owner

Owner request 2026-10-12: "please don't nag after every close! do it for only first close for only the first 5 logins of the user."

Problem: lifecycle.ts showed "Session keeps running" with "Undo" after every window close.
Plan: a teach-once gate (apps/tracer/src/hints.ts) keyed per account in account-storage; counted once per completed sign-in (passkey sign-in, recovery); shown on the first close of a sign-in during sign-ins 1-5; storage failures stay quiet; action renamed "Reopen" (TASTE: a toast's action says what it does). No other expected-behaviour toast after close/detach exists.
Branch quiet-close-toast from origin/dev 13f1617c.

Owner request 2026-10-12: "please don't nag after every close! do it for only first close for only the first 5 logins of the user." Problem: lifecycle.ts showed "Session keeps running" with "Undo" after every window close. Plan: a teach-once gate (apps/tracer/src/hints.ts) keyed per account in account-storage; counted once per completed sign-in (passkey sign-in, recovery); shown on the first close of a sign-in during sign-ins 1-5; storage failures stay quiet; action renamed "Reopen" (TASTE: a toast's action says what it does). No other expected-behaviour toast after close/detach exists. Branch quiet-close-toast from origin/dev 13f1617c.
Author
Owner

Finished: quiet-close-toast head ac410542 (base 13f1617c), pushed.
Gates: bun run check clean; bun test src 168 pass; sessions-canvas Playwright 22 pass (incl. sign-ins 1,2,5 once per sign-in, 6th never, second close silent, throwing storage silent); build + transfer-budget exit 0: critical gzip 295219/307200, brotli 245526/256000; deferred gzip 49778/51200, brotli 43954/45056; onDemand largest chunk gzip 15178/20480. No budget raised.
scripts/verify fast: Rust gate table: fmt/VT fmt/plugin compile-out/clippy/cargo-deny PASS; test FAIL (3 restart tests: restart_image probe/snapshot, path_review) and static builds FAIL (binary 22345648 B vs budget 16404816) - neither touches this TS-only change. First run hit a full disk (shared host, since freed).

Finished: quiet-close-toast head ac410542 (base 13f1617c), pushed. Gates: bun run check clean; bun test src 168 pass; sessions-canvas Playwright 22 pass (incl. sign-ins 1,2,5 once per sign-in, 6th never, second close silent, throwing storage silent); build + transfer-budget exit 0: critical gzip 295219/307200, brotli 245526/256000; deferred gzip 49778/51200, brotli 43954/45056; onDemand largest chunk gzip 15178/20480. No budget raised. scripts/verify fast: Rust gate table: fmt/VT fmt/plugin compile-out/clippy/cargo-deny PASS; test FAIL (3 restart tests: restart_image probe/snapshot, path_review) and static builds FAIL (binary 22345648 B vs budget 16404816) - neither touches this TS-only change. First run hit a full disk (shared host, since freed).
Author
Owner

Started: branch quiet-close-toast, base 13f1617c (comment posted late).

Started: branch quiet-close-toast, base 13f1617c (comment posted late).
Author
Owner

Deployed web-only to production 2026-10-13 ~01:00 IST: release-prod-5w ade40a36 (= release-prod-5 5bf3f42e + cherry-pick of ac410542). No restart (MainPID 186198 unchanged), new bundle served. Rebased onto dev and pushed to dev. Gates on the production line: tsc clean, bun test 175 pass, transfer-budget exit 0. Rust verify failures in the designer report (restart tests, size) are outside this change.

Deployed web-only to production 2026-10-13 ~01:00 IST: release-prod-5w ade40a36 (= release-prod-5 5bf3f42e + cherry-pick of ac410542). No restart (MainPID 186198 unchanged), new bundle served. Rebased onto dev and pushed to dev. Gates on the production line: tsc clean, bun test 175 pass, transfer-budget exit 0. Rust verify failures in the designer report (restart tests, size) are outside this change.
Author
Owner

Closed by the orchestrator during the 2026-10-28 handover (#254), on the owner's request to close finished issues. Evidence: Deployed web-only as release-prod-5w ade40a36 and pushed to dev. Reopen if anything is still missing.

Closed by the orchestrator during the 2026-10-28 handover (#254), on the owner's request to close finished issues. Evidence: Deployed web-only as release-prod-5w ade40a36 and pushed to dev. Reopen if anything is still missing.
kayg closed this issue 2026-10-28 17:53:13 +00:00
Sign in to join this conversation.
No labels
launch-qa
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/infraternal#196
No description provided.