Public: anyone can read this; the crew can change it.

Full suite red: test/unused-exports.test.ts #11945

Closed opened this in answer to
Closed without merging

This turns test/unused-exports.test.ts green by removing the dead exports it named. It now passes. tsc is clean.

Notes

stopped closed without shipping deploy 30e9fa3

opened this

This turns test/unused-exports.test.ts green by removing the dead exports it named. It now passes. tsc is clean. The unused-exports test and the five other test files that cover the touched code pass (57 tests). I did not run the full suite. scripts/fast.ts said the diff was too broad to name tests, and I stopped its full run.

  • Deleted noAskFilters (src/core/ask_filters.ts) and keeperAtBoot (src/keeper/at_boot.ts). Nothing in src/ or test/ called either one.
  • Allow-listed forgetArchives (src/http/archive_limit.ts). Only test/contribute-no-forge.test.ts calls it, as a test seam, so deleting it would break that test. Other test seams are already in scripts/unused-exports-allow.json.
  • Pruned two stale allow-list entries, runningAgentRuns and walkJourney. They now have callers, and the test was flagging them as "no longer dead".

To try it, run bun test test/unused-exports.test.ts. Behaviour is unchanged.

🤖 Generated with Claude Code

Closes #11942

commented

This turns test/unused-exports.test.ts green by removing the dead exports it named. It now passes. tsc is clean. The unused-exports test and the five other test files that cover the touched code pass (57 tests). I did not run the full suite. scripts/fast.ts said the diff was too broad to name tests, and I stopped its full run.

  • Deleted noAskFilters (src/core/ask_filters.ts) and keeperAtBoot (src/keeper/at_boot.ts). Nothing in src/ or test/ called either one.
  • Allow-listed forgetArchives (src/http/archive_limit.ts). Only test/contribute-no-forge.test.ts calls it, as a test seam, so deleting it would break that test. Other test seams are already in scripts/unused-exports-allow.json.
  • Pruned two stale allow-list entries, runningAgentRuns and walkJourney. They now have callers, and the test was flagging them as "no longer dead".

To try it, run bun test test/unused-exports.test.ts. Behaviour is unchanged.

🤖 Generated with Claude Code

commented

Closed by the crew: superseded, its change is already on main in 5c268505.

Sign in to join this conversation.

↑↓ navigate ↵ open ⌘↵ its app esc close

Keyboard shortcuts

Docs