GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — test: remove unreachable date comparison suite by t3-code-bot[bot] · Pull Request #21640 · pingdotgg/t3code

Conversation

@t3-code-bot

@t3-code-bot t3-code-bot Bot commented Oct 19, 2026

Copy link
Copy Markdown
Contributor

problem

packages/shared/src/dateTime.test.ts runs an entire suite against a date comparator that no production code calls. remove the complete suite, the orphaned implementation, and its unused private-package export. no reachable product behavior changes.

removal evidence

base: 1451e7cb23034d29774338608368a15d8845df36 (fresh origin/main, clean dedicated checkout, new branch).

  • delete all of packages/shared/src/dateTime.test.ts: 34 expanded cases, 92 lines. every assertion calls compareDateTimeStrings, either directly or as a sorting callback. these are meaningful unit assertions for an unused implementation, but cannot detect regressions in any shipped production path.
  • a scan of every tracked, non-vendored text file for compareDateTimeStrings and the dateTime module/import/export paths found only the defining file, this test, and the private shared package's export declaration. no production importer, re-export consumer, dynamic import, configuration consumer, or script caller was found.
  • delete the 37-line orphan packages/shared/src/dateTime.ts and its four-line export in packages/shared/package.json, rather than retaining code solely for the removed tests. @t3tools/shared is private, not a separately published library API.
  • side by side: live sorting uses toSortableTimestamp / getThreadSortTimestamp in packages/client-runtime/src/state/threadSort.ts (Date.parse with thread-specific fallback rules), imported by the web lib/threadSort.ts re-export and consumers including Sidebar.logic.ts, CommandPalette.logic.ts, and BranchToolbar.logic.ts. none calls the removed strict ISO comparator. retain both canonical and web sorting suites unchanged; this is reachability evidence, not a claim that the two implementations are equivalent.

broader audit also inspected mobile activity helpers, web wrapper coverage, shared YAML helpers, and mobile/web scheduled-task tests. existing open audit prs already cover the dead activity/browser helpers, so this pr does not duplicate them. YAML helpers have live build/script callers and scheduled-task suites exercise distinct client implementations; retained them. the small web sorting suite also retains its distinct fallback scenarios.

verification

before removal:

node_modules/.bin/vp test run packages/shared/src/dateTime.test.ts packages/client-runtime/src/state/threadSort.test.ts apps/web/src/lib/threadSort.test.ts packages/shared/src/schemaYaml.test.ts

passed: 4 files, 76 tests.

after removal:

node_modules/.bin/vp test run packages/client-runtime/src/state/threadSort.test.ts apps/web/src/lib/threadSort.test.ts packages/shared/src/schemaYaml.test.ts

passed: 3 files, 42 tests. the only 34 removed cases belong to the orphan suite.

  • node_modules/.bin/tsc --noEmit -p packages/shared/tsconfig.json: exit 0; existing effect suggestions only, no errors.
  • node_modules/.bin/knip --workspace packages/shared --include files,dependencies --no-config-hints: exit 0, no findings.
  • node_modules/.bin/vp lint packages/client-runtime/src/state/threadSort.ts packages/client-runtime/src/state/threadSort.test.ts: exit 0; two existing unused-import warnings (Arr, Order) in the unchanged production file.
  • node_modules/.bin/vp fmt --check packages/shared/package.json: passed, exit 0.
  • git diff --check: passed. full diff reviewed: exactly three paths, 133 deletions, no additions, no new secrets or unrelated edits.

repo-wide checks left to ci per AGENTS.md. cron automation, bot-only authorship, no human co-author.

model: gpt-6.1-sol. harness: hermes agent.

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

All reactions
@t3-code-bot
test: remove unreachable date comparison suite
ac6d553
@github-actions github-actions Bot added vouch:trusted Author is trusted by repo permissions or the VOUCHED list. size:M 30-99 changed lines (additions + deletions). labels Oct 19, 2026
macroscopeapp[bot]
macroscopeapp Bot approved these changes Oct 19, 2026
View reviewed changes
@macroscopeapp

macroscopeapp Bot commented Oct 19, 2026

Copy link
Copy Markdown
Contributor

Approvability

Verdict: Approved at ac6d553

Macroscope's review found this PR approvable — This PR removes an unused date-time implementation, its isolated test suite, and an unreferenced export from a private package. Repository searches show no production consumers, so the change has no live product behavior impact.

Notes:

  • No code objects were reviewed. Approvability was decided on eligibility alone.

You can add or adjust custom eligibility rules. Learn more.

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@github-actions

github-actions Bot commented Oct 19, 2026

Copy link
Copy Markdown
Contributor

Thread transfer impact

✅ Thread transfer remains within every enforced ceiling.

Provider Metric Main baseline This PR Impact PR ceiling
Codex Total thread wire 5.0 KiB 5.0 KiB 0 B (0.0%) 6.8 KiB ✅
Codex Thread snapshot wire 3.8 KiB 3.8 KiB 0 B (0.0%) 4.9 KiB ✅
Codex Live turn WebSocket wire 1.2 KiB 1.2 KiB 0 B (0.0%) 2.0 KiB ✅
Codex Live turn WebSocket decoded 20.9 KiB 20.9 KiB 0 B (0.0%) 29.3 KiB ✅
Codex Live turn messages 2 2 0 (0.0%) 8 ✅
Claude Total thread wire 5.0 KiB 5.0 KiB 0 B (0.0%) 6.8 KiB ✅
Claude Thread snapshot wire 3.8 KiB 3.8 KiB 0 B (0.0%) 4.9 KiB ✅
Claude Live turn WebSocket wire 1.2 KiB 1.2 KiB 0 B (0.0%) 2.0 KiB ✅
Claude Live turn WebSocket decoded 21.2 KiB 21.2 KiB 0 B (0.0%) 29.3 KiB ✅
Claude Live turn messages 2 2 0 (0.0%) 8 ✅

Baseline: 1451e7c · PR result: ac6d553 · Source CI: success

Scenario and decoded snapshot size

10 historical turns, 5 command tools per turn, 878.9 KiB retained MCP result per historical turn, and a 1.05 MiB retained result in the measured turn.

  • Codex decoded thread snapshot: 108.5 KiB
  • Claude decoded thread snapshot: 108.8 KiB

Updated in place by a trusted workflow. PR artifacts are strictly validated and never executed.

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@t3dotgg

t3dotgg commented Oct 25, 2026

Copy link
Copy Markdown
Member

Note

🤖 Claude Opus 5.5 responding on behalf of Theo

Superseded by #24058, which already deleted these files and their exports on main.

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@t3dotgg t3dotgg closed this Oct 25, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Reviewers

@macroscopeapp macroscopeapp[bot] macroscopeapp[bot] approved these changes

Uh oh!

There was an error while loading. Please reload this page.

Assignees

No one assigned

Labels

size:M 30-99 changed lines (additions + deletions). vouch:trusted Author is trusted by repo permissions or the VOUCHED list.

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

Uh oh!

There was an error while loading. Please reload this page.

1 participant

@t3dotgg
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
You are visitor 01402775 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.