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
fork kit handoff: follow-ups from the #548 reviews (fallback, systemctl in window, race tests) #550
Follow-ups from the two reviews of #548 (comments 7019680033 and 7019718750). Neither reviewer marked any of them blocking.
The 20 s fallback is not "safe, just slower". When the kit falls back to the timeout, upstream's new server gives up after 250 ms (exit 78) and the launcher idles. T3 is then down for about a minute, and a pending update trial can lose its database backup or fail. The new rule reaches this fallback on every run where /proc/locks can't be read, or where the kit runs in a different pid namespace from the service.
Fix: before stopping T3, check that the kit can see its own owner lock in /proc/locks. If it can't, use the old rule, or refuse with a clear message, instead of waiting for the timeout.
systemctl show runs inside the handover window, with a 30 s timeout. On a busy machine it eats into the server's 250 ms wait.
Fix: read MainPID once per start and remember it between polls, or check the holder's cgroup instead, and give the call a short timeout.
The end-to-end race tests rarely catch a missing MainPID check. A mutant with that check removed passed 3 of 3 runs in one review and 3 of 5 in the other. The unit tests always catch it.
Fix: keep probing for about 10 more checks after the kit first meets a probe.
Nit:contract.test.py:119 still says the marker lasts 60 s. With the 1 s backdate it lasts 59 s.
General vs project: all general fork-kit code; nothing project-specific.
Activity
fork-kit/golive: handover follow-ups (refuse when blind, no systemctl…
fork-kit/golive: handover follow-ups (refuse when blind, no systemctl…
fork-kit/golive: handover follow-ups (refuse when blind, no systemctl…
fork-kit/golive: handover follow-ups (refuse when blind, no systemctl…
fork-kit/golive: handover follow-ups (refuse when blind, no systemctl…