Public: anyone can read this; the crew can change it.
Dead code in src/core: delete eleven exports nothing calls, and prune the allow list (#16269) #16503
Check · Review · Land · Live — The access wall holds it for a person to decide: a trusted source's pull touches a path a trusted source's work may not change alone. Allow it (merge) or send it back.
Green for 3 days, not landed: it waits for a person: the access wall holds it for a person to decide: a trusted source's pull touches a path a trusted source's work may not change alone. Allow it (merge) or send it back. To unblock: a person who writes the repository merges it or requests changes.
Each name was mentioned only at its declaration, in src/, scripts/, bench/ and test/ alike: appIdOfSlug, clearInFlight, teamsAnswered, isLookKind, PLACEMENTS, pullsForIssues, sealedById, listAllGrants, pendingTimers, USAGEBY, USAGEOUTCOMES.
look green — its check passed, ready for a look deploy 66c7f30
Checked against an older mainCheck of 66c7f30checked against main at d83448ffast tier: green in 11m45s · full gate runs on land
Website spec: 25 findings (report only)
- /board http://127.0.0.1:33803/board answered 303 — https://specification.website/
- /notes http://127.0.0.1:33803/notes answered 303 — https://specification.website/
- /review http://127.0.0.1:33803/review answered 303 — https://specification.website/
- /system http://127.0.0.1:33803/system answered 303 — https://specification.website/
- /admin/limits http://127.0.0.1:33803/admin/limits answered 404 — https://specification.website/
- /maintenance http://127.0.0.1:33803/maintenance answered 303 — https://specification.website/
- /talk http://127.0.0.1:33803/talk answered 303 — https://specification.website/
- /flow http://127.0.0.1:33803/flow answered 303 — https://specification.website/
- /resilience http://127.0.0.1:33803/resilience answered 303 — https://specification.website/
- /boards?help http://127.0.0.1:33803/boards?help answered 303 — https://specification.website/
- /settings/crew http://127.0.0.1:33803/settings/crew answered 303 — https://specification.website/
- /settings/crew?help http://127.0.0.1:33803/settings/crew?help answered 303 — https://specification.website/
- /settings/captain http://127.0.0.1:33803/settings/captain answered 303 — https://specification.website/
- /settings/security/controls http://127.0.0.1:33803/settings/security/controls answered 303 — https://specification.website/
- /settings/grants http://127.0.0.1:33803/settings/grants answered 303 — https://specification.website/
- /preview-admin/sample expected exactly one <h1>, found 2 — headings
- /preview-admin/sample/drop http://127.0.0.1:33803/preview-admin/sample/drop answered 303 — https://specification.website/
- /preview-admin/sample/data-move http://127.0.0.1:33803/preview-admin/sample/data-move answered 303 — https://specification.website/
- /preview-admin/sample/cut-over http://127.0.0.1:33803/preview-admin/sample/cut-over answered 303 — https://specification.website/
- /preview-admin/sample/next?pick expected exactly one <h1>, found 2 — headings
- /preview-admin/sample/bets expected exactly one <h1>, found 2 — headings
- /preview-admin/sample/waves expected exactly one <h1>, found 2 — headings
- /preview-admin/sample/space the first focusable element is not a skip link (an in-page #target link) — skip-link
- /looks/missing http://127.0.0.1:33803/looks/missing answered 404 — https://specification.website/
- /looks/failed http://127.0.0.1:33803/looks/failed answered 500 — https://specification.website/
Combined with main
The preview is built from combined/16503 (f2855a8915): main merged into this pull's head. Merging lands that branch.
The checks line says which commit the check ran on.
Each name was mentioned only at its declaration, in src/, scripts/, bench/ and test/ alike: appIdOfSlug, clearInFlight, teamsAnswered, isLookKind, PLACEMENTS, pullsForIssues, sealedById, listAllGrants, pendingTimers, USAGE_BY, USAGE_OUTCOMES. The src/core entries for heldIn and startOfAccount were stale (both have callers now) and go too. The src/core entries still listed are each called by a test, which #16269 says to keep.
No test: deletes code nothing calls; no behaviour changes. test/unused-exports.test.ts already fails if a listed name is dead and unlisted.
Part of #16269 (the src/core checkbox only). Every remaining src/core entry in
scripts/unused-exports-allow.jsonis called by a test under test/, so it stays, per the issue's risk note. I left stale entries outside src/core alone so this pull doesn't conflict with work in other areas.Local note: the 25 failures in the full parallel run were load flakes on a busy box. Each passed when its file was rerun alone, except
test/spawn-upstream.test.ts"a parent name that does not resolve…". That one fails the same way on main d83448f8 on this box, because the box's network answers TLS fornowhere.invalid.Validation
validateon66c7f302: flaky in 519s (forge.json check.fast, verbatim, in a scrubbed env).bun install --frozen-lockfile: ok (exit 0, 0s)forge.json check.fast: FLAKY (exit 1, 519s)