Repository navigation
fork fleet: a desktop fetches its desk pool's seeds (D11b) - #237
scuttletoby wants to merge 13 commits into
Conversation
442e00e to
01b61e4
Compare
123ec5c to
0f9ca11
Compare
01b61e4 to
0781efb
Compare
0f9ca11 to
bb65599
Compare
0781efb to
ca286df
Compare
bb65599 to
fbf95e3
Compare
fork-fleet-desk-seed.py run, hourly from t3code-fleet-seed.timer (root, sandboxed), asks the always-on host for the pool's seed list over the desk link's key, fetches a seed only when it changed and every_hours passed, unpacks it with tarfile's data filter, checks the trailer's size and SHA-256 and swaps it in by rename. Jobs see /var/lib/fork-fleet/seeds read-only (ALLOW_PATHS). Torn downloads keep the old seed; old, future-dated or unlisted seeds are dropped; replaced versions stay a day for running jobs. The desk kit installs the script and the timer and removes the seeds on uninstall. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
ca286df to
57e1cb5
Compare
fbf95e3 to
ec41bd8
Compare
|
Review round 1 at ec41bd8: two independent lenses. Security: NOT SAFE. Correctness: SAFE WITH NITS. Fix round to follow; do not merge before it.
State question: lock on re-run, |
# Conflicts: # .github/scripts/fork-fleet-desk-seed.py # fork-kit/desk/README.md # fork-kit/desk/sbin/desk-install # fork-kit/desk/tests/install.test.py
- the desktop takes only the names its own installed fleet config lists for its pool, and every_hours, max_age_hours and max_mb from it (max_mb: the smaller of its own and the host's); the host can no longer raise them - ssh's stderr keeps only its last 4 KB; the host's list is read up to 1 MB - after unpacking, a walk refuses a link that leads out of the seed and any entry that is not a folder, file or link, and makes everything readable by jobs (0600 cache files) - an odd trailer (a MADE int() cannot read) is a torn copy, never a crash - members' sizes and count limited (sparse members, many tiny ones) - a leftover .NAME.link is removed at the start of each run - seeds come from the host's per-pool folder (D11); SKEW names the desktop's clock tolerance - the unit's sandbox lines are marked safety-critical Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
# Conflicts: # fork-kit/desk/tests/install.test.py
…s the seed units (D11b) The fake ssh template wrote a real newline inside a bytes literal, so every desktop run got a syntax error instead of a list. D8's upgrade test now names the stop call, which on this branch also stops the seed timer and service. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
|
Fix round 1 (commits bfe2987 and 8b68764, the second a test-only fix; D11's round 1 merged in at 29d9534 and 54bf612; head 8b68764). Tests: desk-seed 30 OK, desk 42 OK, install 28 OK.
Fails before the fix: the seed tests run against the round-0 code (helpers adapted to its old shared path) give 14 failures and 7 errors; every new desktop test above is among them. 8b68764 fixes the test file itself: the noisy fake ssh did not compile, so desktop runs got no list. It also brings D8's upgrade test up to date with the seed units. PR body updated. Still draft. |
|
Re-check lens 237c r1 (correctness) at 8b68764: SAFE WITH NITS Earlier findings 1-6 all FIXED, each new test failing on round-0 for its own reason (round-0 desktop side with today's host side: 8 failures + 1 error, all 7 new tests among them): host-chosen limits ( New (both nits):
def test_a_broken_own_config_still_drops_a_too_old_seed(self): # class Desktop
self.make('m2', {'a': b'one'}); self.run_seed()
with open(os.path.join(self.t, 'own.json'), 'w') as f: f.write('{')
with self.assertRaises(agent.Bad): self.run_seed(now=lambda: time.time() + 1001 * 3600)
self.assertIsNone(self.files('m2'))
State question answered line by line: rerun ( |
|
Re-check lens 237s r1 (security) at 8b68764: NOT SAFE Earlier findings 1-6 FIXED ( New:
Suggested fixes: refuse members deeper than ~64 folders or names over ~1 KB and charge 4 KB per member and per folder level against Failing tests (class def deep_tar(self, name, depth, count=1):
tmp = os.path.join(self.t, 'files', POOL, f'.{name}.tmp')
with tarfile.open(tmp, 'w', format=tarfile.GNU_FORMAT) as tar:
for i in range(count):
tar.addfile(tarfile.TarInfo(f'd{i}/' + 'x/' * depth + 'f'))
os.utime(tmp, (time.time() + 5,) * 2); os.replace(tmp, self.tar(name))
def test_a_deep_path_does_not_stop_the_run(self):
self.make('npm', {'a': b'n'}); deep_tar(self, 'm2', 1500)
self.assertEqual(self.run_seed(), 0)
self.assertEqual(self.files('npm'), {'a': b'n'})
def test_folders_count_against_max_mb(self):
deep_tar(self, 'm2', 900, count=150); self.run_seed()
self.assertLess(sum(len(d) for _, d, _ in os.walk(self.root)), 100000)
def test_the_trailers_made_cannot_skip_every_hours(self):
# self.conf['SSH'] = a wrapper that runs the fake ssh and rewrites the trailer's MADE to 1
self.make('m2', {'a': b'one'}); t0 = time.time()
for h in range(5): self.run_seed(now=lambda: t0 + h * 3600)
self.assertEqual(len(self.fetches()), 1)State checks all fine: rerun ( |
# Conflicts: # .github/scripts/fork-fleet-desk-seed.py # .github/scripts/fork-fleet-desk-seed.test.py # fork-kit/desk/README.md # fork-kit/desk/sbin/desk-install
…d never stops the run (D11b) - guarded(): each member's size plus 4 KiB for it and each folder it makes, within max_mb; at most 200,000 members and folders; no member over 64 folders deep or with a name/link over 1 KiB - run(): any error in one seed is said and the run goes on; prune runs in a finally, per version - remove(): folder by folder through dir fds, no recursion (a tree of any depth) - the trailer's bytes and MADE must be the list's - a broken or pool-less own config still drops seeds past their label's maxAgeHours, then exits 2 - an older or half-installed host (no list) means no seeds: tested - desk-install check: a row for the seed service's last result - ssh's stderr pipe closed; the 0600 test fails when nothing was fetched Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
|
Fix round 2 (head 223795c; D11 #236 round 2 merged in first) Lens 237s r1 (security):
Lens 237c r1 (correctness):
From #236 c r1 note 4:
State question for each fix: runs again (the lock; a failed seed tries again next hour, nothing piles up in Red-check: the new seed tests run against the round-1 code (this branch before the fix, D11 round 2 merged in): 4 failures and 4 errors, every MUST test among them (A, B, B old state, C, N1). The install test against round-1 Tests at the head: desk-seed 41 OK, desk 42 OK, desk-agent 31 OK, install 34 OK. Docs: the script's header and state table, |
Lens: security re-check r2 (lens237sr2), read at: 223795c — NOT SAFEA hostile host can still stop old copies from ever being pruned, so the desktop's disk fills. Small fix: also Earlier findings (round-1 head 8b68764)
New findings
Checked and fine: ssh (pinned ed25519 host key, State question: runs again: lock ( |
Lens: correctness re-check r2 (lens237cr2), read at: 223795c — SAFE WITH NITSTests at head: desk-seed 41 OK, install 34 OK. Against the pre-round code (c6131e4, D11 r2 merged in): seed tests 4 failures + 4 errors, install 1 failure ( Earlier findings
New (nits)
State question: runs again: lock ( |
# Conflicts: # fork-kit/desk/README.md # fork-kit/desk/sbin/desk-install
- Prune old versions right after the start-of-run clean, before any fetch, so a run killed in every fetch (MemoryMax, TimeoutStartSec) cannot let .v fill up. - Unpack member by member and let each go; extended (pax, GNU long name) headers at most 1 MiB per member and globally; sparse members refused; folder-name bytes capped; a hard link must name a regular file already unpacked. - A deeply nested list is no list (RecursionError); a folder that cannot be listed tears the seed. - One run fetches for at most RUN_WAIT (2 h), each seed at most the time left, well inside the unit's 3 h TimeoutStartSec. - .torn.json: a torn seed (or a fetch the run was killed in) is tried again after 1, 2, 4, 8, 16, then 24 h; torn on every try for over a day makes the run exit 1, so desk-install check shows FAIL. - Docs: memory limits, prune order, run deadline, backoff, disk budget per seed. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Fix round 3Commit 4812b17 (head; D11 merged in as 9b40182, with
State question:
Tests (local, at 4812b17): |
Lens: correctness re-check r3 (lens237cr3), read at: 4812b17 — SAFE WITH NITSTests at head: desk-seed 52 OK, install 40 OK. Against the round-2 script (223795c) in a copy of the tree: desk-seed 10 failures + 3 errors; all 10 new tests fail there (the third error is D11's Host stall test, from the merge). Earlier findings
New findings (nits, no data loss)
def test_one_lost_list_does_not_reset_the_torn_record(self): # class Desktop
self.make('m2', {'a': b'one'}); start, codes, real = int(time.time()), {}, seed.listing
def torn(*a, **k): raise seed.Torn('cut off')
with mock.patch.object(seed, 'fetch', torn):
for h in range(49):
lost = lambda a, c, h=h: (_ for _ in ()).throw(seed.Torn('no list')) if h % 12 == 11 else real(a, c)
with mock.patch.object(seed, 'listing', lost):
codes[h] = self.run_seed(now=lambda h=h: start + h * 3600)
self.assertTrue(any(codes[h] for h in range(25, 49))) # fails at 4812b17d85State question
Docs: README and |
Lens: security re-check r3 (lens237sr3), read at: 4812b17 — NOT SAFETwo small hostile tars still get past limits round 3 says it enforces. Both are small fixes. All 9 new tests fail against the round-2 script 223795c (10 failures + 3 errors; one error is a D11 host-side test from the merge). Tests at head: desk-seed 52 OK, install 40 OK. Earlier findings
New findings
Failing tests (class def test_a_link_that_cannot_be_made_never_loads_the_stream(self):
big = [{**SEEDS[0], 'max_mb': 128}, SEEDS[1]]; self.config(big); self.own(big)
hard = tarfile.TarInfo('b'); hard.type, hard.linkname = tarfile.LNKTYPE, 'a'
x = tarfile.TarInfo('pax'); x.type = tarfile.XHDTYPE
body = b''.join(b'15 a.%07d=x\n' % i for i in range(65_000)) # ~0.98 MB, under HEADER_MOST
rest = b''.join(self.block(x, body) + self.block(tarfile.TarInfo(f'f{i}')) for i in range(80))
self.raw('m2', self.block(tarfile.TarInfo('a'), b'1') + self.block(tarfile.TarInfo('b'), b'2') + self.block(hard) + rest)
self.assertEqual(self.forked(), 0) # peak 577 MB now (same with a symlink 'd' over folder 'd/x')
def test_a_negative_size_never_lowers_the_disk_count(self):
d = bytearray(tarfile.TarInfo('z').tobuf(format=tarfile.GNU_FORMAT)); d[156:157] = tarfile.DIRTYPE
d[124:136] = b'\xff' + b'\0' * 11; d[148:156] = b' ' * 8; d[148:156] = b'%06o\0 ' % sum(d[:512])
self.raw('m2', bytes(d) + b''.join(self.block(tarfile.TarInfo(f'e{i}')) for i in range(1500)))
self.run_seed()
self.assertIsNone(self.files('m2')) # now: 1,500 files swapped in under max_mb 2Checked and fine
State question
|
# Conflicts: # fork-kit/desk/README.md # fork-kit/desk/sbin/desk-install
…, torn record kept - A link member whose path is already there is refused, and a Tar subclass turns tarfile's fallback (_find_link_target, which reads the rest of the stream into memory) into Torn: a link that cannot be made never copies its target. - A member with a size below 0, or a non-file with a size, is refused: the disk count can no longer be lowered. - A run without the host's list leaves .torn.json as it is (exit 0). - A torn record that cannot be written (full disk) never stops the fetch: the try counts in memory and the run exits 1. - A torn seed is tried at once when the host offers another copy. - Docs: retry times are approximate; a replaced copy lives about 25 h; budget. - Test that tarfile's private parts the limits rely on are there. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Fix round 4 (head c68366b)Merged D11 round 4 ( Security re-check r3 (lens237sr3, NOT SAFE)
Correctness re-check r3 (lens237cr3, SAFE WITH NITS)
State question for this round
Tests at c68366b: PR body updated: the Round 4 section; the disk-use line (it said "about two copies", wrong for |
Lens: correctness re-check r4 (lens237cr4), read at: c68366b — SAFE WITH NITSRound 4 fixes every earlier finding. One new nit that matters (a seed the host remakes often skips the back-off) and one small one. Tests at head: desk-seed 59 OK, install 44 OK. With the round-3 script ( Earlier findings
Real tars: a GNU-format and a pax tar from New findings (nits, no data loss)
State question
|
Lens: security re-check r4 (lens237sr4), read at: c68366b — SAFE WITH NITSEvery round-3 MUST is fixed, and each new test fails on the round-3 code. One new medium issue that needs an older Python; the fix is one line. Tests: at head all pass ( Earlier findings
New findings
Checked and fine: traversal, absolute paths, links out (incl. State question
|
…tive extended header, slash links, tarfile parts at run time (D11b) - Info._proc_member refuses a size below 0 before it is counted (Pythons without the CVE-2025-8194 fix). - A new copy on the host skips the back-off only once per wait (`early` in .torn.json); the log line says "about N h" and the at-once note only when it holds. - A link name ending in / is checked against its path without the slash. - run() refuses to fetch (exit 2) when tarfile lacks a private part the limits rely on. - Docs: the once-per-wait rule; a host down for good shows only as seeds that age out (documented, not changed). Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Fix round 5Merged #236 (round 5 of the stack below, #225's fixes) first, then fixed the round-4 re-checks (lens237cr4, lens237sr4) in 5be550a. lens237sr4
lens237cr4
State question
Tests Still a draft. |
Lens: security (lens237sr5), read at: 5be550a — SAFE WITH NITSSecurity re-check after fix round 5. Earlier findings
New (nits)
Checked, fine: State question: runs again: lock (:610-614), prune first and last (:620, :645), record via temp+rename (:724-731). Stops half-way: |
Lens: correctness (lens237cr5), read at: 5be550a — SAFE WITH NITSRound 5 fixes every round-4 finding; each of the 4 new tests fails on round 4. Earlier findings
New (nits)
State question: runs again: lock (:609-613); early flag saved before fetch (:697-702). Stops half-way: higher count + early already saved, next run waits (:686); empties |
Row D11 of the desktop pool plan, part 2 of 2: a desktop fetches its desk pool's seeds (warm caches) from the always-on host and its jobs read them. It is stacked on #236 (D11), the host side; the D11 row was over 400 non-test lines, so it is split in two. Critical: this runs as root on the desktop, unpacks data from the network, and changes what every job can see.
Why
D11 lets the host offer seeds. This PR makes a desktop take them, keep a recent copy and let jobs start from it, so jobs stop downloading the same tools and dependencies each time.
fork-fleet-desk-seed.py run(desktop, root, hourly):seeds. Then, for each seed that is new and due, it runsseed NAME.every_hours,max_age_hoursandmax_mbcome from thedesktop's own installed fleet config (
/opt/fork-fleet/fork-fleet.json, its pool'sseeds).max_mbis thesmaller of the host's and its own. A name the host lists that its own config does not is ignored. The host
only says what is offered now (bytes, made time).
max_mb. It is unpacked with Python's tar data filter, which refuses absolute paths,.., links leading out, devices, and group/other write and setuid bits, and a guard of its own on what the tar would make on disk: each member's size plus 4 KiB for the member and for each folder it makes, all withinmax_mb; at most 200,000 members and 200,000 folders; no member more than 64 folders deep or with a name or link target over 1 KiB (round 2).lstatrefuses a link that resolves outside the seed and anything that is not a folder, file or link, and makes every file and folder readable by jobs (o+r, folderso+rx), so a 0600 file from a cache is readable.finally(round 2). Folders are removed one by one without recursion, so a tree of any depth (one an older release left) never stops a run.seeds/.v/NAME.STAMP. Then the linkseeds/NAMEis swapped to it in one rename.t3code-fleet-seed.service: oneshot, sandboxed. It may write only its own state folder, and it has memory, CPU and task limits. Its sandbox lines are marked safety-critical.t3code-fleet-seed.timer: hourly with a random delay;Persistent=catches up after sleep.ALLOW_PATHS=/var/lib/fork-fleet/seedstolaunch.conf, so jobs see the seeds read-only.checkhas a PASS/FAIL row for the timer, and one for the seed service's last result (round 2), so a seed run that fails every hour shows.fork-fleet.md, the README, and the script header's state table.Safety (critical)
[a-z0-9][a-z0-9_-]{0,39}that the desktop's own config also lists. The list is checked field by field (NaN/Infinityrefused); anything malformed is torn and nothing is fetched. The host never sets a size, age or pace.seeds/.new/NAME.STAMP/data(tested, one tar each: a../path, a device, an absolute link, a link up and out, an absolute hard link). Thelstatwalk after it is a second line for a Python whose filter has a known bypass: a link out of the seed is refused even with the filter patched to pass everything (tested).ALLOW_PATHSbind, so no job can change a seed another job reads.max_mb, on the stream and on what the tar would make on disk, 4 KiB counted per member and per folder), member, folder, depth and name caps, a time cap (30 min per stream, 30 s for the list), capped list output and stderr, and one run at a time (lock).CAP_DAC_OVERRIDE,ProtectSystem=strict,ProtectHome, no new privileges, and only IP and Unix sockets.lstatwalk andProtectSystem=strictare the backstop.What happens when this runs again, stops half-way, or meets existing, old or empty state?
every_hoursafter the last fetch. A second run while one runs exits at once (lock). Tested: fetch, then a second run fetches nothing.seeds/.new/, and the next run empties it (folder by folder: a 1,500-deep tree an older release left is removed, tested). The link is swapped by onerename, so it names either the old version or the new one, never a half one. The new version is flushed (os.sync) before any link names it. The replaced version's time is touched before the link moves, so a stop there never lets it be pruned early. Tested: leftovers in.new, a bad link, a missing label.²), overmax_mb(folders and empty files counted), too many members, too deep, a name too long, a link out, a bad tar, a member with a size below 0 (or a non-file with a size), a link whose path is already there or that cannot be made, or any other error: the copy is removed, the old seed stays, the run goes on to the next seed, old versions are still pruned, and it is tried again after about 1, 2, 4, 8, 16, then 24 h; another copy on the host skips the wait, but only once per wait, so a host that remakes the seed every hour still meets the back-off (each tested). A leftover.NAME.linkfrom a killed swap is removed at the start of every run.max_age_hours, made more than an hour in the future (the clocks disagree), or no longer in the desktop's own config: the link is removed and jobs run cold. A seed the host stops listing is kept until its own age drops it. A replaced version is kept 24 h for a job still reading it (a job runs at most 1 h by default), then pruned by the next hourly run, so it lives up to about 25 h. A label that is missing or unreadable: the link is removed and the seed is fetched again in the same run..torn.jsonis left as it is, so a lost list never resets the back-off (both tested). Such a run exits 0, so a host down for good shows incheckonly as seeds that age out (documented, see Round 5).checkrow shows it), but still drops each seed past themax_age_hoursit was fetched with (kept in its label; tested).seeds/, and jobs run cold. Uninstall removes the seeds with the work folder (tested).Disk use per seed: up to
max_mbx (25 /every_hours, rounded up, + 2): the copy in use, the copies replaced in the last ~25 h, and one in.newwhile it unpacks (a host cannot force more: the trailer's date must be the list's, and a torn copy is never kept). There is no free-space check before unpacking; a full disk tears that seed cleanly, and a.torn.jsonthat cannot be written makes the run exit 1. Not changed (documented infork-fleet.md): jobs can see.new/and.v/under the seeds folder (read-only); the 24 h keep is fixed.General vs project
General. The fetcher, the units and the kit change name no project. Which seeds exist, their sizes and how the host makes them are the project's fleet config and its own host timer. How a job uses a seed (for example, copying it into its cache folder) is up to the project's workflow.
Upstream fit
Only the fork-only
.github/scripts/fork-fleet*files,.github/fork-fleet.mdandfork-kit/desk/change. Nothing in upstream T3 changes.Tests
.github/scripts/fork-fleet-desk-seed.test.pygains aDesktopclass. It uses a fakesshscript that runs the real host side as a process, with modes for host down, a cut stream and a wrong trailer, and fake roots only:every_hourspacing, with the old version kept for running jobs and pruned aftermax_mb: each leaves the old seedmax_mb,every_hoursandmax_age_hoursare the desktop's, names its config does not list areignored; stderr is never kept whole and a huge list is refused; a 0600 file is readable by jobs; a link out of
the seed is refused even past the filter; an odd trailer keeps the old seed and the run goes on; too many members
keep the old seed
max_mb; the trailer's bytes and made time must be the list's; a broken or pool-less own config still drops a too old seed; an older or half-installed host means no seedsfork-kit/desk/tests/install.test.py: the seed script and units installed,ALLOW_PATHSinlaunch.conf, the stop and enable order, thecheckrows for the timer and the seed service's last result, uninstall disabling the timer and removing the seeds.Local run (round 2, D11 round 2 merged in):
.github/scripts/fork-fleet-desk-seed.test.py: 41 OK.github/scripts/fork-fleet-desk.test.py: 42 OK.github/scripts/fork-fleet-desk-agent.test.py: 31 OKfork-kit/desk/tests/install.test.py: 34 OKmax_mb, the trailer against the list, a broken own config). The newcheckrow test fails on round-1desk-install. The older-host test passes on round 1 too: that behaviour needed no code change, only a test.Red-checks
Each rule was broken in a copy, one at a time, and the named test failed (all 12 red):
datafilter ->test_a_tar_that_would_leave_its_folder_writes_nothing_outsidetest_a_trailer_that_does_not_match_leaves_the_old_seedmax_mbcut on the desktop ->test_more_than_max_mb_leaves_the_old_seedtest_a_new_seed_waits_for_every_hours_and_the_old_stays_for_running_jobstest_dropped_when_no_longer_listed_or_too_old_or_from_the_futureevery_hourspaces fetches ->test_a_new_seed_waits_for_every_hours_and_the_old_stays_for_running_jobstest_dropped_when_no_longer_listed_or_too_old_or_from_the_futuretest_host_down_keeps_each_seed_until_its_own_age_drops_ittest_a_run_that_stopped_half_way_and_bad_links_or_labelstest_one_run_at_a_timeDesktoptestsALLOW_PATHS) ->fork-kit/desk/tests/install.test.pyThe first run found one gap: with the keep for a replaced version removed, the test still passed. The keep time was
set from the real clock while the prune read the run's clock, so the test's later swap stayed inside 24 h by
accident. Both keeps (replaced and dropped) now use the run's clock, the test swaps more than 24 h after the old
version came, and a new check covers the dropped version.
Round 3
finally: a run killed in every fetch (memory, timeout) cannot fill.v.--sparse); folder-name bytes capped at 16 MiB; a hard link must name a file unpacked before it. MEMBERS stays 200,000. Not done: unpacking in a child process (the bound plus prune-first cover it).RecursionError); a folder that cannot be listed tears the seed.RUN_WAIT), each seed at most the time left, inside the unit's 3 h.seeds/.torn.json: a torn seed (or a fetch the run was killed in) is tried again after 1, 2, 4, 8, 16, then 24 h; torn on every try for more than a day makes each run exit 1, sodesk-install checkFAILs the seed service row. Jobs can read the file (it holds the host's reason, at most 300 characters).max_mb x (25 / every_hours, rounded up, + 2)).fork-fleet-desk-seed.test.py52 OK (all 9 new tests fail on the round-2 script),install.test.py40 OK,fork-fleet-desk.test.py42 OK,fork-fleet.test.py201 OK (7 skipped).Round 4
TarFilesubclass (Tar) turns tarfile's fallback for a link it cannot make (_find_link_target, which reads the whole rest of the stream into memory) into a torn seed: a hostile tar (a hard link over a file, or a symlink over a folder, then ~108 MB of pax headers) now stays far under 512 MB (it went over 512 MB before)..torn.jsonas it is (it used to wipe it, which reset the back-off and hid a seed torn for days)..torn.jsonthat cannot be written (a full disk) never stops the fetch: the try counts in memory, the run says so and exits 1, socheckFAILs.[bytes, made]it last tried); old records without it wait as before. Round 5 limits this to once per wait._proc_member,_proc_sparse,_proc_gnusparse_*orTarFile._find_link_targetgo away in a later Python.fork-fleet-desk-seed.test.py59 OK (the 6 new tests give 7 failures and 1 error on the round-3 script),install.test.py44 OK,fork-fleet-desk.test.py42 OK,windows.test.py24 OK (4 skipped: no PowerShell here).Round 5
Info._proc_member). Pythons without the CVE-2025-8194 fix (3.12.0-3.12.11 and others) let it lower the header count and read a long name whole.early(the last try skipped its wait); a second new copy in the same wait waits. Each try still counts, so the wait still doubles: a host that remakes a torn seed every hour gets tries at hours 0, 1, 2, 6, 7, 23, 24, then two a day: one when the 24 h wait ends, one for the next new copy (round 4: every hour). An old record withoutearlymay skip once./(a/) is checked against the patha, so it cannot replace a member already there.checkshows it) when its Python's tarfile lacks any private part the limits rely on (TarInfo._proc_member,_proc_sparse,_proc_gnusparse_00/01/10,TarFile._find_link_target), the same as a missing data filter; seeds past their age are still dropped.fork-fleet.md): a run without the host's list exits 0, so a host down for good shows incheckonly as seeds that age out. Exiting 1 after a day without a list would be a new rule; left for later.TornLog, the README andfork-fleet.mdsay the once-per-wait rule.fork-fleet-desk-seed.test.py63 OK (the 4 new tests give 7 failures on the round-4 script),install.test.py47 OK,fork-fleet-desk.test.py42 OK.🤖 Generated with Claude Code