Closed
Description
Follow-ups from the reviews of #196 (runner template refresh). None of them blocks; #196 is merged.
- Name total in the unpacker (
.github/scripts/fork-fleet-launch.sh, the read loop nearMAX_NAME/MAX_ENTRIES). Each name is capped at 4096 bytes, but up to 100000 entries are kept. 100000 symlinks with names and targets near the cap come from a ~3 MB download and peak at about 1.25 GB. Under the unit,MemoryMax=1Gkills it and nothing is written (fails closed). By hand (host step 7), it briefly takes that much memory. Fix: keep a running total oflen(m.name) + len(m.linkname)and refuse past a budget (e.g. 64 MiB), or lowerMAX_ENTRIES. Red test: 100000 such entries under a 1 GiB address-space limit giveMemoryError, not "refused:". - Doc nit (
.github/scripts/fork-fleet-refresh.service, header): it still says "a second refresh waits for the first (refresh.lock)". The lock is now the template's folder. - Lint job speed (
.github/workflows/fork-tests.yml, "Workflow lint and upstream drift"). It takes 4 to 6 minutes on main. Its cap was 5 minutes, which cancelled PRs that add tests; fork fleet: runner template refresh + daily timer (D7) #196 and fork fleet: desk link, desktop side (D3) #205 raised it to 10. Split the job or make it faster, so the cap is not the thing that keeps it green.
State question for any fix: what happens when this runs again, stops half-way, or meets existing, old or empty state?
🤖 Generated with Claude Code
Metadata
Metadata
Assignees
Labels
No labels
Activity
Fork CI: split the walls tests off the lint job; pr-queue clears old …
fleet refresh: refuse pax sparse and global names, count header block…
Fork CI: split the walls tests off the lint job; pr-queue clears old …
fleet refresh: refuse per-entry global pax keys and sizes the data do…
fleet refresh: name budget in the unpacker, service doc nit (#209 ite…
scuttletoby commentedon Nov 18, 2026
Done. Item 1 (name budget, plus the round-2 unpacker fixes) and item 2 (service doc) by #402 (merged 4fe0c78); item 3 (lint job split) by #425 (merged 3753e62).
Fork CI: split the walls tests off the lint job; pr-queue clears old …
fleet refresh: name budget in the unpacker, service doc nit (#209 ite…
Fork CI: split the walls tests off the lint job; pr-queue clears old …
fleet refresh: name budget in the unpacker, service doc nit (#209 ite…
Fork CI: split the walls tests off the lint job; pr-queue clears old …
fleet refresh: name budget in the unpacker, service doc nit (#209 ite…