Commits
2026-10-23
Restore edith_codecs after local data loss (2026-10-23)Ahmet Kaan Gümüş · b7434a2
Restore edith_codecs after local data loss (2026-10-23) On 2026-10-23 an automated agent ran `rm -rf $HOME` and deleted the local repository with all of its history. This commit restores the working tree from the newest surviving copy, the host-c server lane mirror. That mirror matches local main as of the testcut Phase 2 reports, including the tool cache, the nextest fast profile and changed-crates.sh. The history before this commit was not recovered.
2026-09-24
ec-av1: bound every piped test child (1800s, EC_AV1_CHILD_TIMEOUT_SECS) -- a wedged aomenc dies loud instead of hanging the suiteAhmet Kaan Gümüş · 38b6919
ec-av1: bound every piped test child (1800s, EC_AV1_CHILD_TIMEOUT_SECS) -- a wedged aomenc dies loud instead of hanging the suite The CFL lane's suite lost 11h41m to a_segmentation_census's aomenc wedged in anon_pipe_write: its tree predated the shared runner (a09c9c2a), so the y4m went in via inline write_all and aomenc's stdout pipe filled first. origin/main's run_with_stdin already drains stdin/stdout/stderr concurrently, so the pipe-fill shape cannot recur -- but nothing bounded a child that wedges for any other reason. run_with_stdin now drains both output pipes on reader threads from the first millisecond and enforces a deadline (default 1800 s, env override); on expiry it kills, reaps, joins all three threads (bounded: the dead child closed every pipe) and panics naming the command, the timeout, the signal and the class, instead of hanging the suite until doomsday. Class sweep: the runner is the crate's only stdin(Stdio::piped()) site (148 spawn sites); every other child is stdin(null) + .output(), which cannot deadlock on stdin. Proof: census test green over all 10 real arms (4.1 s); wedged-child probe (stub aomenc + 3 s bound) killed at 3.07 s with the class panic.
2026-09-23
ec-av1: drain aomenc/ffmpeg stdin via one shared runner (148 piped spawn sites)Ahmet Kaan Gümüş · 54cadae
ec-av1: drain aomenc/ffmpeg stdin via one shared runner (148 piped spawn sites) Writing the y4m inline before wait_with_output deadlocked 138 gate sites the moment aomenc's stdout pipe filled (4 hangs today; lane-t900 r10 and lane-gaterecipe r1 measured the same class before). probe::run_with_stdin now owns every test-side spawn: stdin on a writer thread (EPIPE swallowed, the child's status/stderr carry the diagnosis), stdout+stderr drained by the parent. 9 duplicated feeder-thread helpers consolidated. Stress 20/20 on the intra-16x4-strip gate, 50-gate battery green, 0 warnings. Report: lanes/av1pipedrain.report.md
2026-09-07
fix(av1): the probe armed a window film B does not haveAhmet Kaan Gümüş · 2ebcc2c
fix(av1): the probe armed a window film B does not have `examples/enc_probe` was handed its crop by hand, and every long-GOP census so far passed `crop=1920:1024:960:568` -- the centre of a 3840x2160 frame. Film B is coded 3840x1608, so the gate's own window is `crop=1920:1024:960:292`: the instrument measured different pixels than the gate it reported on (60466 B vs the gate's 90674 B at q=150), and the probe also had no `-ss`, so on any clip it read from frame 0 instead of the gate's pinned seek. One definition of the arming now serves both: `ec_av1::probe::source` (the loader, with the seek) and `ec_av1::probe::gate_crop` (the superblock-aligned centre window, from ffprobe), called by the probe and by `encode::tests`' `clip_frames_vf`/`native_bd_arm`. The probe takes `gate` as its width argument to ask for that window, and `EC_ENC_SS` for the seek. In gate mode the probe now codes 90674 bytes on film B at q=150 -- byte-exact with `bd_rate_film_long_gop`'s own ladder point. `lanes/census-longgop-v2.md` re-takes the per-level census on the real window; the v1 shares were off (ARF 49.3% -> 53.8%, key 25.6% -> 21.6%).