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

Delete dead exports in the remaining src/ areas #11880

open deferred: behind the Later gate opened this

Picked up by mason; no pull came of it (failed) · 2 runs · run

Held by the Later gate, set by trevato . The crew picks nothing here until it is lifted.
opened this

Follow-up to #11842. Delete these exports that nothing calls (listed in scripts/unused-exports-allow.json), then run bun scripts/unused-exports.ts --write to prune the list. Where one is meant to be used, wire it in instead.

  • src/apps/check-memory.ts usePodMemoryFile
  • src/apps/egress.ts resetEgressTotals
  • src/apps/egress_refused.ts flushRefused
  • src/apps/manifest.ts declaresApp
  • src/apps/relay_wait.ts clearRelayWaits
  • src/apps/toolbar.ts TOOLBAR_PATH
  • src/arcade/host.ts arcadeOn
  • src/billing/orders.ts bySession
  • src/billing/orders.ts recentOrders
  • src/billing/sync.ts setStripeFetch
  • src/boards/model_fill.ts useModel
  • src/checks/doctor.ts isDoctorHold
  • src/checks/order_dependent.ts orderDependent
  • src/checks/queue.ts gateDeadlineForTest
  • src/checks/queue.ts gateRuns
  • src/checks/scans.ts SCAN_BUDGET_SECONDS
  • src/checks/scans.ts scanSeconds
  • src/checks/service.ts provideChecksForTest
  • src/contract/audit.ts identitiesOf
  • src/crew/ceiling_stagger.ts forgetStagger
  • src/crew/conversation_confirm.ts CONFIRM_TTL_MS
  • src/crew/first_look.ts useLookModel
  • src/crew/hot_files.ts rememberPullFiles
  • src/crew/hot_history.ts forgetHeat
  • src/crew/hot_history.ts sampleTimes
  • src/crew/models.ts modelLabel
  • src/crew/running.ts runningAgentRuns
  • src/crew/sandbox_cause.ts skipReason
  • src/crew/week_read.ts forgetWeek
  • src/data/mask.ts isSecretColumn
  • src/data/query.ts queriesRunning
  • src/design/first_five_minutes.ts FIRST_FIVE_MINUTES
  • src/design/qr.ts QR_MAX_BYTES
  • src/display/items.ts itemsOfKeys
  • src/display/items.ts keepUnnamed
  • src/display/known.ts withoutDisplay
  • src/display/launch.ts coverUrl
  • src/display/launch.ts downloadUrl
  • src/display/launch.ts playUrl
  • src/display/launch.ts shotsUrl
  • src/display/selections.ts SHOWCASED
  • src/display/selections.ts displaySelections
  • src/display/selections.ts selectionsHolding
  • src/efficiency/installs.ts resetInstalls
  • src/feed/chips.ts chipOfKind
  • src/feed/likes.ts ledgerCount
  • src/flow/alarm_drift.ts alarmDrift
  • src/flow/alarm_drift.ts clearDriftCache
  • src/flow/handovers.ts handoversSays
  • src/flow/keeper.ts listAttempts
  • src/flow/kpi_words.ts trafficWords
  • src/flow/reach.ts NO_REACH
  • src/flow/shared_red.ts sharedRedSays
  • src/kernel/destroy_reach.ts unitsOf
  • src/kernel/disk_reading.ts provideDiskForTest
  • src/kernel/log.ts clearErrors
  • src/kernel/migrate.ts notAdditive
  • src/kernel/protection.ts resetProtection
  • src/kernel/result.ts andThen
  • src/kernel/result.ts trapAsync
  • src/kernel/result.ts unwrapOr
  • src/looks/main_looks.ts mainLook
  • src/machines/shell.ts liveSessions
  • src/maintenance/standby.ts forgetStandby
  • src/origins/ahead.ts aheadBusy
  • src/origins/git-mirror.ts mirrorOutboundForTest
  • src/origins/git-mirror.ts provideMirrorOutboundForTest
  • src/origins/jobs.ts listJobs
  • src/origins/jobs.ts resetJobs
  • src/origins/milestones.ts dueOf
  • src/origins/oauth.ts pruneFlows
  • src/origins/providers/index.ts forgetProviders
  • src/origins/sync.ts syncsSettled
  • src/packs/catalog.ts packNamed
  • src/perf/budgets.ts EXPLORE_READ_BUDGET
  • src/perf/page_budget_read.ts pageBudgetRows
  • src/perf/views_store.ts pendingViews
  • src/release/behind.ts readNewest
  • src/release/landings.ts forgetLive
  • src/release/landings.ts keepLive
  • src/runs/log.ts runLogListenerCount
  • src/runs/log.ts runLogTapCount
  • src/runs/stoppable.ts runningRun
  • src/story/records.ts isKnownRecord
  • src/story/records.ts parseRecords
  • src/system/flow_cache.ts forgetFlow
  • src/system/live.ts useLive
  • src/system/telemetry_reads.ts resetTelemetryReads
3 earlier comments
commented

The list this issue works from (scripts/unused-exports-allow.json) and the tool that prunes it (scripts/unused-exports.ts) are not on this branch, on main, or on any remote branch I can see. They belong to #11842, which is still open and unmerged.

DECLINED: this depends on #11842, which has not landed. scripts/unused-exports.ts and scripts/unused-exports-allow.json don't exist on this base. That leaves nothing to run --write against. I also didn't want to hand-delete about 90 exports from a list I can't check against the tool's own definition of "unused". Re-run once #11842 is merged. Nothing was changed or pushed.

commented

Parked by the crew: the run ended without a pull: no changes pushed: The list this issue works from (scripts/unused-exports-allow.json) and the tool that prunes it (scripts/unused-exports.ts) are not on this branch, on main, or on any remote branch I can see. The

commented

Parked by the crew: the run ended without a pull: declined: this depends on #11842, which has not landed. scripts/unused-exports.ts and scripts/unused-exports-allow.json exist neither on this branch nor on origin/main nor on any remote branch. That leave

Parked twice since a person last spoke here, so it is the planner's now. Every reason:

  1. the run ended without a pull: no changes pushed: The list this issue works from (scripts/unused-exports-allow.json) and the tool that prunes it (scripts/unused-exports.ts) are not on this branch, on main, or on any remote branch I can see. The
  2. the run ended without a pull: declined: this depends on #11842, which has not landed. scripts/unused-exports.ts and scripts/unused-exports-allow.json exist neither on this branch nor on origin/main nor on any remote branch. That leave

The planner splits it, replaces it with a fresh issue, or defers it; a person can also say what to try. Nothing starts here until then, and the board lists it.

commented

Deferred: removing dead exports isn't on the v1.0.0 list, and the script it needs (scripts/unused-exports.ts, #11842) has not landed. It now waits for #11842 and the Later gate (#595), the same as #11877 and #11878, so no builder is handed it before the script exists.

Sign in to join this conversation.

↑↓ navigate ↵ open ⌘↵ its app esc close

Keyboard shortcuts

Docs