Files
buzz/desktop/src/features
ss-dev-01 2b7b0baf68 fix(desktop): pin the transcript baseline fixture to UTC
The captured-markup fixture embeds formatted timestamps, because
`formatTranscriptTimestampTitle` renders in the ambient zone. It was
captured at UTC-7, so the byte-for-byte comparison failed in CI (UTC) for a
reason that had nothing to do with markup: "at 12:00:01 PM" vs
"at 7:00:01 PM". This is why Desktop Core failed on the previous two heads.

Pin `process.env.TZ = "UTC"` before the transcript modules are imported —
their `Intl.DateTimeFormat` instances are module-level constants that
resolve the zone once at construction — and recapture the baseline from
pre-change main under that zone. A guard assertion in the coverage test now
fails with a specific message if the ambient zone is not UTC, rather than
dumping a 12KB markup diff.

Verified passing under TZ=UTC, TZ=America/New_York, and TZ=Asia/Tokyo.

Signed-off-by: ss-dev-01 <11939edb7df583f855dbef923f2358f1184538f88ca452e19e7e35e42ad6d796@buzz.block.builderlab.xyz>
Co-authored-by: Bradley Axen <baxen@squareup.com>
Signed-off-by: Bradley Axen <baxen@squareup.com>
2026-08-24 11:45:33 -07:00
..