You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
fleet follow-ups from #280: walls race on an ending job, lookup stamp time, linux launcher check, test gaps #297
Follow-ups from the two lenses on #280 (security and state, both SAFE at 35c195f). None blocks.
The walls can refuse a start while a job is ending (.github/scripts/fork-fleet-walls/linux:516-517). stop_defaults_used() checks that a job unit's transient file exists, then opens it; if the unit ends in between, FileNotFoundError reaches main() and prints FAIL job-units cannot tell, so that start is refused (fails closed; the next pass retries). Skip the unit on FileNotFoundError, as reset_left() (:503) already does.
The lookup cache can leave a new address open longer than "about 2 minutes" (fork-fleet-launch.sh:852-853, :882). The stamp is written when the pass ends, after up to 100 s waiting for the launch lock (:183), so the gap can be about 3.5-4 minutes. Take the time before the lookup and stamp that.
Nothing checks that an installed linux launcher sets its own stop timeouts (walls/linux:509, :553). New walls beside an older launcher, with DefaultTimeoutStopSec=infinity and no job unit loaded, pass; the next job unit has no stop limit. wsl2 has its pin; linux could check the launcher's start() the same way.
Test gaps: the 3600 cap on OWN_ADDRESS_SECONDS (launch.sh:136) is never hit (add 3601 and 9999); the stamp owner/symlink and RUN_DIR owner checks, and the [Service] section and empty-value filters in stop_defaults_used, can be removed with no test failing; the new root test lets every writable mount under /dev and /run through (fork-fleet.test.py:3455-3456).
Nits: any non-empty TimeoutStopSec= in a transient file is taken as the unit's own without checking its value (infinity passes; only root can make such a unit); check-net probe units set no stop timeouts (intended); an older launcher refuses a launch.conf that has OWN_ADDRESS_SECONDS (fails closed).
General vs project: all general (fork fleet scripts).
Activity
fleet: walls skip a job unit that just ended, stamp the lookup time, …
fleet: walls skip a job unit that just ended, stamp the lookup time, …
fleet: walls skip a job unit that just ended, stamp the lookup time, …
fleet: walls skip a job unit that just ended, stamp the lookup time, …
fleet: walls skip a job unit that just ended, stamp the lookup time, …
fleet: walls skip a job unit that just ended, stamp the lookup time, …