Rewrite the delivery trace page #126

Merged
jcoffey-dev merged 1 commits from phase4/trace into main 2026-10-19 04:17:36 +00:00
1 Commits
Author SHA1 Message Date
jcoffey-dev b1d833bbe4 Rewrite the delivery trace page
ci / build (pull_request) Skipped
github/ci (branch) GitHub Actions
ci / github (pull_request) Successful in 2m14s
ci / publish (pull_request) Skipped
ci / notices (pull_request) Successful in 2m48s
The trace's logic is now plain, tested code: trace.ts pairs each step's
start with its outcome, groups steps by delivery attempt, names and
describes them, and holds the trace's states as a reducer; stream.ts runs
the token and the event stream. The page only draws them, unchanged.

Two fixes on the way: "Started Ns ago" counts from the trace's own start
(it carried on from the previous trace before), and cancelling while the
token is still on its way no longer opens the stream afterwards.
2026-10-18 19:48:14 -07:00