[test-qa-hourly] test: lock past relative-time boundary - #365
Conversation
Hourly QA update — CI-first investigationInspection
CI #2112 / run 33708314886Result: failure, isolated to Successful jobs observed: Downloaded and inspected artifact
The PR's own changed file ActionNo commit added this run. The CI failure is caused by existing main-tree formatting drift, and fixing the README here would violate this QA task's explicit scope guard ( Commands / checks
Auto-mergeNot enabled. Blocker: required CI is red. I will not bypass it or broaden this QA PR into a README cleanup. Next QA targetOnce the unrelated main formatting drift is fixed/merged and this branch is synced, rerun CI first. If green, move away from timestamp micro-boundaries and inspect a higher-value user-visible formatter/nullable-zero behavior or another regression-prone Control Center path with weak coverage. |
Intent
Continue continuous QA with one small regression-focused Control Center test for the past relative-time threshold.
Inspection
main:42c3bdb7a811a596aec68ddec977a4038437bb7e(merge of PR fix(control-center): load Supabase env for direct local dashboard startup #352).[test-qa-hourly], labeltest-qa, or branch prefixtest-qa/ongoing-.apps/control-center/src/client/format.test.ts; fix(podcast): simplify visual subject search and expose debug plan #362/fix: recover stalled podcast ingest with paid translation fallback #364 touch other Control Center podcast surfaces only.relativeTime()uses relative minute labels for past timestamps strictly under one hour and switches to absolute locale time at exactly one hour..github/workflows/ci.ymlstill runs quick gates (format repo contracts), code quality (type-check lint deadcode dup), tests (test analytics), E2E, security, and deploy gates unchanged.scripts/coverage-summary.ts, supporting Istanbul/V8 summaries and pytest Cobertura input.QA change
Strengthen the existing recent timestamp test with two boundary assertions:
59 minago remains relative (59 min ago).60 minago switches to the absolute locale timestamp contract.This is test-only. No implementation, workflow, CI gate, threshold, ignore, docs, README, CLAUDE, or agent instruction changed.
Validation
main...test-qa/ongoing-coverage-20260903— PASS: 1 commit ahead, 0 behind; exactly one changed file; +4/-0.< 60 * 60_000past-time branch.Scope guard
Changed file only:
apps/control-center/src/client/format.test.tsNo production or documentation changes.
Next QA target
After CI is green, inspect another high-value formatter boundary rather than extending this timestamp family mechanically; prioritize nullable/zero-value formatting or duration rounding only if current behavior is under-tested and user-visible.