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

Nothing optional loads at boot: route modules and warm-ups (search, samplers, crew) start on first use #16852

Closed opened this has it

Landed in pull #16908 · 3 runs · run

opened this

Split from #16840 (hosting at every scale).

Done:

4 earlier comments
commented

Red on three checks: pull #16908 failed its check 3 times in a row, so no builder starts on it again. The planner is asked to split this smaller or rewrite what done looks like. The last failure:

the route marks > the marks name only registered routes and heads, so neither list goes stale

commented

Reviewed pull #16908 at its head: ticked Idle RSS and cold start to /healthz are lower, measured by the memory budget test; the budget constant is lowered.; The first request to a lazily loaded route answers within the page budget; a test covers it.. left open: Each optional warm-up started at boot (search, samplers, crew) is listed and starts on first use instead; a test per warm-up proves first use still answers. — Only the search warm moved. The samplers stay at boot (the pull explains why) and no crew warm-up was listed or moved.; Boot imports only what /healthz and / need; the other route modules are imported on the first request to their prefix. — Only the settings and forges modules load lazily; api.ts, repo.ts and the other route modules still load at boot..

commented

Left open after pull #16908 landed: 2 unticked items remain (Each optional warm-up started at boot (search, samplers, crew) is listed and starts on first use instead; a test per warm-up proves first use still answers.; Boot imports only what /healthz and / need; the other route modules are imported on the first request to their prefix.). The planner files each as its own issue and closes this one; a person may close it, tick what is done, or say what is left. Until then the crew does not pick it again.

commented

Done on main already, waiting for you to close it: 0fe14c475cba75be1ac80613f7265e61e788426a

commented

Closed: already done on main in 0fe14c4. Closed by the crew's live triage; reopen it to undo, and it stays open.

Sign in to join this conversation.

Search
↑↓ navigate ↵ open ⌘↵ its app esc close

Keyboard shortcuts

Docs