Skip to content

test: 0.39.0 routing coverage, tombstone time-bomb fix, /trace doc drift - #91

Merged
lroolle merged 1 commit into
mainfrom
chore/test-timebomb-renderver
Aug 11, 2026
Merged

test: 0.39.0 routing coverage, tombstone time-bomb fix, /trace doc drift#91
lroolle merged 1 commit into
mainfrom
chore/test-timebomb-renderver

Conversation

@lroolle

@lroolle lroolle commented Aug 11, 2026

Copy link
Copy Markdown
Member

Follow-ups to the 0.39.0 release (root -> /dashboard redirect, live trace at /trace), which shipped with minimal coverage and left one pre-existing test failure behind.

  • Defuse the tombstone time-bomb: tests/instances.test.ts hardcoded endedAt dates of 2026-07-10..12; on 2026-08-10 they crossed TOMBSTONE_TTL_MS and register-time pruning ate two of the three fixtures. Dates are now relative to now.
  • Cover the 0.39.0 routing change: /index.html redirect with an absolute Location built from req.url (the cctrace.localhost case), /trace serves the live page while unknown paths still 404, dashboard live-instance rows and the instance switcher link siblings at /trace (behavioral dom-stub test; bootPage grows optional fetch/hostname opts with unchanged defaults).
  • Refresh the renderVer version-badge highlights for 0.39.0 (release-checklist item missed at cut time).
  • Fix doc drift the release missed: docs/agent-awareness.md and both READMEs' sample output still pointed agents at the root URL, which now redirects to the dashboard instead of the trace.

Suite: 647 pass, 0 fail.

🤖 Generated with Claude Code

- instances.test.ts: listPastRuns fixture dates go relative — the
  hardcoded 2026-07 dates aged past TOMBSTONE_TTL_MS on 2026-08-10 and
  register-time pruning ate two of the three tombstones
- server.test.ts: /index.html redirect + absolute Location built from
  req.url, /trace serves the live page + unknown paths still 404,
  dashboard live rows link the sibling's /trace
- ui-grammar.test.ts: switcher renders sibling hrefs at /trace
  (dom-stub grows optional fetch/hostname boot opts, defaults unchanged)
- renderVer: 0.39.0 highlight added (missed at release cut)
- docs: agent-awareness note + README sample output point at /trace

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
@lroolle
lroolle merged commit 01415d6 into main Aug 11, 2026
1 check passed
@lroolle
lroolle deleted the chore/test-timebomb-renderver branch August 11, 2026 03:05
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant