commit c1d6e59e3df1947ae77acca99ef3b29da07a883b
parent fc8756b746eb012264cb65a19f7817790f5dcf45
Author: I Mean I'm Just Saying <imeanimjustsaying@kiwifarms.st>
Date: Sat, 17 Oct 2026 13:35:05 -0400
plans: release 32 R11 as shipped — three e2e failures over release 32: rsync 3.5.1-3's progress frames (the product), review-player and stored-url on sources of their own (tsc clean; common 4603, test:scripts 1053; e2e channel-storage 15/15 twice, umtool whole suite 555/0/6 twice)
Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Diffstat:
1 file changed, 82 insertions(+), 0 deletions(-)
diff --git a/plans/release-32/e2e-fixes.md b/plans/release-32/e2e-fixes.md
@@ -0,0 +1,82 @@
+# Release 32 lane R11 — three e2e failures over release 32 (as shipped)
+
+Three specs failed on `main` in the full suites of 2026-10-17 and passed alone in their lanes. One was the product (a
+newer rsync), two were umtool specs that depended on another spec's fetch.
+
+## What
+
+1. **editor `channel-storage.spec.ts:112`** (relocate a channel's media, and move it back) — **the product.** Nothing
+ in the relocate code or the Storage panel changed since `3ef1b558`. rsync did: Arch's 3.5.1-3 (installed on this
+ machine 2026-10-16 15:37) writes `--info=progress2` frames with a `B` on the byte count and an unscaled,
+ digit-grouped rate:
+
+ ```
+ 30,000,000B 99% 1,248,634,666B/s 0:00:00 (xfr#1, to-chk=0/5)
+ ```
+
+ `RSYNC_PROGRESS_RE` read "digits, whitespace, percent", so every frame of that rsync failed to parse: no
+ `Copying… · N % ·` decile line, no `relocate` task bar, and the redraws went into the job log verbatim (they fail
+ `parseRsyncProgress`, so `rsyncTree` passes them through). That affects a real media move, a saved-video store move
+ and `migrate-tier` alike. The parser now accepts an optional ` ?B` after the count. A rate of digits and grouping
+ then `B/s` is scaled back to the older wording, in units of 1024 (`1.16GB/s`, `0.00kB/s`), and a rate already scaled
+ is returned verbatim. The older format still parses unchanged.
+2. **umtool `review-player.spec.ts:33`** — the deck's first card cited vid1 3–6 s, and vid1 is shared. clip-bench's
+ "an after-only fetch leaves the before edge exactly where it was" fetches bench-fixture c01 with padBefore 3,
+ padAfter 8, which leaves the corpus window `channels/testchan/data/vid1/clips/0.00-14.00.mp4`. That window covers
+ the card's span, so the player chose it over the project's own `vid1_0.00-9.00.mp4`. The card now cites its own
+ source, **vid9**: cues written by `review-player-fixture.mjs` (vid1's first three, so the run-on quote is the same
+ seven words) and the project's cached window copied as `out/clips-raw/vid9_0.00-9.00.mp4`. Nothing else cites vid9.
+3. **umtool `stored-url.spec.ts:38`** — its "no stored URL, no option" half borrowed `editor-fetch-many-fixture`.
+ report-fetch-via-editor (earlier in the run) fetches that project's clips (vid4 0–23 covers both), so its
+ "Fetch N unfetched clips" button was gone. (The brief named the R1 spec; the stub's request log and the corpus
+ windows show it was report-fetch-via-editor.) The spec now has its own **`stored-url-plain-fixture`**: one unfetched
+ clip on **vid10**, whose record stores no media URL, written by `make-fixture.mjs` beside `stored-url-fixture`.
+ Nothing ever fetches it. The stored-URL answer's negative case asks vid10 too.
+
+The two primary-checkout spec fixes the brief listed (frame-scan's exact `1:30` link, reconstruct-download-url's Odysee
+audio-check opt-out) were committed on `main` by the orchestrator (`3ca67cd4`) before this lane started, so the
+worktree carried them from `main` and nothing was copied.
+
+## Files
+
+`common/jobs/progressParsers.ts`, `common/jobs/progressParsers.test.ts` (+1 test: rsync 3.5.1-3's frames, the
+`--no-human-readable` form, a spaced unit, the summary line still not a frame), `umtool/e2e/fixtures/review-player-fixture.mjs`,
+`umtool/e2e/review-player.spec.ts`, `umtool/e2e/fixtures/make-fixture.mjs`, `umtool/e2e/stored-url.spec.ts`,
+`editor/CHANGELOG.md`, `plans/FACTS.md` ("Relocate progress").
+
+| Commit | What |
+| --- | --- |
+| `dcc4e1ce` | common: rsync 3.5.1-3's progress frames parse (the `B` on the count, the raw rate scaled); FACTS, CHANGELOG |
+| `87493cf1` | umtool: e2e — review-player's first card on vid9, stored-url's plain project on vid10 |
+| (this commit) | this record |
+
+## Gates
+
+All through the shared heavy lock, from the worktree root:
+- `pnpm -r --no-bail --workspace-concurrency=1 exec tsc --noEmit`: clean.
+- common: 4602 at `main` `80288e89` (R10's record: 4601 pass + 1 skipped) → **4603 (4602 pass, 0 fail, 1 skipped)**.
+ `progressParsers.test.ts` + `relocateDir.test.ts` alone first: 33/33.
+- test:scripts: **1053 (1049 pass, 0 fail, 4 skipped)**, unchanged from R8's 1053. editor unit and mcp: not touched,
+ not run. No CLI row, env var, settings or file schema changed (no docs check needed).
+- editor e2e `channel-storage.spec.ts`: **15/15 (42.8 s)**, then **15/15 (36.5 s)** again (the first run built the
+ editor's e2e tree, 169 s).
+- editor e2e `frame-scan.spec.ts` + `reconstruct-download-url.spec.ts` (main's fixes, in this tree): **2/2 (13.0 s)**.
+- umtool e2e `review-player.spec.ts` + `stored-url.spec.ts`: **4/4 (20.2 s)** (built umtool's e2e tree, 46 s).
+- umtool e2e, the WHOLE suite: run 1 **561 tests: 555 passed, 0 failed, 6 skipped (12.0 m)**; run 2 **555 passed, 0 failed, 6 skipped (12.0 m)**. (Before:
+ 553 passed, 2 failed, 6 skipped, the two above.)
+
+## Rulings followed
+
+- Each spec owns its fixture data: its own project and, since a corpus window is keyed by video and shared by every
+ project, its own source. No spec depends on the order the suite runs in.
+- No model and no network in any test. The rsync shape was captured from the machine's own rsync on synthetic files in
+ the lane's scratch directory.
+
+## Decisions I made
+
+- **Fix the parser, not the spec.** The spec's `Copying…` assertion was right: a move under this rsync logged no
+ progress line at all. Asserting less would have hidden a regression every live move has.
+- **A raw rate is rescaled** rather than shown as `1,248,634,666B/s`, so the `/jobs` row and the log read as they
+ did. Units of 1024, as rsync's own scaled rate is.
+- **New sources rather than restoring vid1/vid4 after a fetch.** Deleting a window another spec made would still
+ depend on order (the next spec to look at vid1 could be any of a dozen). vid9 and vid10 are cited by nothing else.