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

Carried: drop the dead helpers left by #1753, or use them in the terminal deploy list #1905

Merged opened this

Check · Review · Land · Live done — Landed and live in production.

Merged

This removes `carriedByRuns` and `carriesText` from `src/core/carried.ts`. Nothing has called them since #1753 took out its terminal wiring, and #1762 (the terminal deploy list that would have used them) is still open. The header of `test/carried-deploy.test.ts` no longer mentions the terminal's run list. It now names only the run's page and the API's run, which are what the test checks.

shipped production is serving it deploy e31b90f

opened this

This removes carriedByRuns and carriesText from src/core/carried.ts. Nothing has called them since #1753 took out its terminal wiring, and #1762 (the terminal deploy list that would have used them) is still open. The header of test/carried-deploy.test.ts no longer mentions the terminal's run list. It now names only the run's page and the API's run, which are what the test checks.

Every export left in core/carried.ts has a caller: recordCarried, backfillCarried and carriedBy. The only behaviour change is the dropped code; no test was changed except the header comment. bun x tsc --noEmit passes, and the test/carried* suites pass (5 tests across 2 files).

When #1762 builds the deploy list, it needs a batched read like carriedByRuns again. It can bring that back alongside the test that covers it.

🤖 Generated with Claude Code

Closes #1770

Approved

Removes carriedByRuns and carriesText, which nothing in src or test calls (grep on the base finds only their own definitions). It also fixes the test header, which claimed a terminal run list that does not exist. This is the issue's first option, and it adds no behaviour, so there is no new test or door to gate. Not checked: I did not run the tests or open the preview or screenshots; the change touches no page.

Next:

  1. Remove the blank line the diff leaves at the end of src/core/carried.ts, after carriedBy.
  2. If the owner wants the deploy list in the terminal to say what a deploy carries, open a separate issue for it, built on carriedBy.
Sign in to join this conversation.

↑↓ navigate ↵ open ⌘↵ its app esc close

Keyboard shortcuts

Docs