diff --git a/docs/deploy.md b/docs/deploy.md index 4c4db79d..10f46b7e 100644 --- a/docs/deploy.md +++ b/docs/deploy.md @@ -111,7 +111,7 @@ The files live in [`deploy/rust-runtime/profiles/`](../deploy/rust-runtime/profi **Expert tier layout (owner decision 2026-11-12).** The three 5090 profiles (`rtx5090-32g`, `-file`, `-gguf-ple`) set `LELEKA_ORIGINAL_SERVE_EXPERT_PER_LAYER=no` (the VRAM tier is filled in global rank order, not with the same quota per layer) and `LELEKA_ORIGINAL_SERVE_PCIE_FRAC=0.65` (share of the misses that go over PCIe) as `engine_env` keys; both appear in the `engine environment` line of `leleka up` and in `leleka-serve meta: config` (`expert_per_layer=0`, `pcie_frac=0.65`). Paired 5-pair group A/B on release 02c784249a7e at the 256k configuration: decode +8.2 % (95% CI +6.5..+9.9), ms/round -7.2 %, minimum free VRAM 478 MiB, 0 OOM; it is a placement-class change (the CPU and the GPU round an expert differently), see `docs/experiments/step-ledger.md` H4. `rtx5090-32g-gguf-ple` differs from `rtx5090-32g` only in the PLE source (GGUF shard 1, 28.8 GB, page cache, instead of the KAR table of 16.0 GB): the routed experts (GGUF shard 0, IQ3_S, 2.047 MB each) and the PCIe traffic per round (at most 144 MB on this layout) are the same. The laptop profile `rtx3080-16g` is unchanged. To get the previous layout set `LELEKA_ORIGINAL_SERVE_EXPERT_PER_LAYER=yes` and `LELEKA_ORIGINAL_SERVE_PCIE_FRAC=0.45` in a copy of the profile (`--profile FILE.json`). -**Route tail skip, LOSSY, on by default in the 5090 profiles (owner decision 2026-11-13).** The three 5090 profiles (`rtx5090-32g`, `-file`, `-gguf-ple`) set `LELEKA_ROUTE_TAIL_SKIP=7` and `LELEKA_ROUTE_TAIL_SKIP_MAX_CACHED=100` as `engine_env` keys (the only two `LELEKA_ROUTE_` keys the profile allow-list lets through, `crates/deploy/src/profile/profile_limits.rs`). Semantics: a missed expert (not in the VRAM tier) that every token of the verify window routes at rank 7 or lower is neither copied over PCIe nor computed on the CPU, and its weight is not renormalised, so THE OUTPUT CHANGES (the same shipped default as vanilla Strata 0.2.x, rank 7). The skip applies while less than `MAX_CACHED` percent of all experts are in VRAM (100: always, on this card the tier holds about 50 %). The engine says so in `engine.log`: `leleka-serve: EXPERIMENTAL route tail skip is ON (LELEKA_ROUTE_TAIL_SKIP=7, ...% of the experts in VRAM)`, and both keys are in the `engine environment` line of `leleka up`. Gate evidence (release 83bdd85bb482, real Codex CLI, 3 repetitions per arm, `docs/experiments/codex-compare-speed-gap.md` "Lever 7 gate"): CRM decode 211.0 tok/s against 184.2 (+14.5 %), CRM wall -15 %, CRM rounds -11 %, ttt decode 202.6 against 181.7 (+11.5 %), ttt rounds +39 % (one 49-round session, the median equals the baseline), relaxed CRM acceptance 56/56, 56/56, 55/56, ttt 14/14 x 3; logit gate 3.6 % argmax flips against the Original's own envelope of 2.8 %. The gate was assessed and its open points (the logit envelope 3.6 % against 2.8 %, the ttt round growth, n = 3) were overridden explicitly by the owner on 2026-11-13; this is the one recorded exception to the rule "no lossy default before its quality gate passes" (`AGENTS.md`), logged as row H9 of `docs/experiments/step-ledger.md` and in plan stage 6f. The laptop profile `rtx3080-16g` is unchanged (tail skip off). To turn it off set `LELEKA_ROUTE_TAIL_SKIP=0` (in a copy of the profile, `--profile FILE.json`, or as an operator `engine_env` value) or remove the key. +**Route tail skip, LOSSY, on by default in the 5090 profiles (owner decision 2026-11-13).** The three 5090 profiles (`rtx5090-32g`, `-file`, `-gguf-ple`) set `LELEKA_ROUTE_TAIL_SKIP=7` and `LELEKA_ROUTE_TAIL_SKIP_MAX_CACHED=100` as `engine_env` keys (the only two `LELEKA_ROUTE_` keys the profile allow-list lets through, `crates/deploy/src/profile/profile_limits.rs`). Semantics: a missed expert (not in the VRAM tier) that every token of the verify window routes at rank 7 or lower is neither copied over PCIe nor computed on the CPU, and its weight is not renormalised, so THE OUTPUT CHANGES (the same shipped default as vanilla Strata 0.2.x, rank 7). The skip applies while less than `MAX_CACHED` percent of all experts are in VRAM (100: always, on this card the tier holds about 50 %). The engine says so in `engine.log`: `leleka-serve: EXPERIMENTAL route tail skip is ON (LELEKA_ROUTE_TAIL_SKIP=7, ...% of the experts in VRAM)`, and both keys are in the `engine environment` line of `leleka up`. Gate evidence (release 83bdd85bb482, real Codex CLI, 3 repetitions per arm, `docs/experiments/codex-compare-speed-gap.md` "Lever 7 gate"): CRM decode 211.0 tok/s against 184.2 (+14.5 %), CRM wall -15 %, CRM rounds -11 %, ttt decode 202.6 against 181.7 (+11.5 %), ttt rounds +39 % (one 49-round session, the median equals the baseline), relaxed CRM acceptance 56/56, 56/56, 55/56, ttt 14/14 x 3; logit gate 3.6 % argmax flips against the Original's own envelope of 2.8 %. The gate was assessed and its open points (the logit envelope 3.6 % against 2.8 %, the ttt round growth, n = 3) were overridden explicitly by the owner on 2026-11-13; this is the one recorded exception to the rule "no lossy default before its quality gate passes" (`AGENTS.md`), logged as row H9 of `docs/experiments/step-ledger.md` and in plan stage 6f. Confirmation on the package built from main 945fc44f32fb with the default profile and no shell exports (3 CRM + 3 ttt): CRM decode 214.2 tok/s, wall 406.8 s, accepted 56/56 x3 under the relaxed and 55/56 x3 under the strict checker; ttt decode 211.2 tok/s, 14/14 x3 (`docs/experiments/codex-compare-speed-gap.md`, "Lever 7 as the 5090 default"). The laptop profile `rtx3080-16g` is unchanged (tail skip off). To turn it off set `LELEKA_ROUTE_TAIL_SKIP=0` (in a copy of the profile, `--profile FILE.json`, or as an operator `engine_env` value) or remove the key. Both profiles also carry a `memory` section (prefix cache `auto`, soft/hard floors 4096/2048 MiB, reserve, lock and heal of the sealed memfd): the engine sizes its caches from the memory left after the fixed footprint, sheds and refuses under pressure, and refuses to start with numbers when the footprint does not fit ([`memory-safety.md`](memory-safety.md)). The unit sets `LimitMEMLOCK=infinity`, which is what lets the lock keep the 55 GB memfd out of swap. diff --git a/docs/experiments/codex-compare-speed-gap.md b/docs/experiments/codex-compare-speed-gap.md index 8ef26b8d..f15d45a0 100644 --- a/docs/experiments/codex-compare-speed-gap.md +++ b/docs/experiments/codex-compare-speed-gap.md @@ -409,3 +409,21 @@ Jobs `e2e-codex-ttt-and-crm-release-83bdd85bb482-route-tail-skip-7-experimental- | ttt checks | 14/14 x 3 (static; no browser) | 14/14 x 3 | | Owner criterion (rounds growth <= decode gain in %): CRM passes (-11 % against +14.5 %); ttt fails on the point estimate (+39 % against +11.5 %), driven by one 49-round session (r1: the agent wrote its own test harness and fixed two bugs; the median equals the baseline). n = 3 per arm with a CV of 20-30 % cannot separate these; the earlier n = 7 series on release 17e372944279 had CRM rounds +31 % (not significant). Both acceptance versions were applied to every cell (`cmp_accept_both.py`, relaxed `reaccept-1` is the gate): CRM 56/56 is NOT reached in 3 of 3 under either, but neither is the stored owner default without tail skip (2 of 3 relaxed). The logit gate stays failed (60 argmax flips = 3.6 % against the 2.8 % envelope, `spd-l7id`). Verdict: the speed gain is real and large (CRM 184 -> 211 tok/s, 4.7 % below VAN), the quality gate is not shown to pass; not enabled by default, decision with the owner (more repetitions or an explicit opt-in flag). + +### Lever 7 as the 5090 default: confirmation on package 945fc44f32fb (2026-11-13, plan stage 6f, ledger H9) + +Owner decision 2026-11-13: the lossy route tail skip (`LELEKA_ROUTE_TAIL_SKIP=7`, `..._MAX_CACHED=100`) is ON in the three 5090 profiles (the two exact keys are on the profile allow-list; `docs/deploy.md` section 4). Package `leleka-0.1.0-945fc44f32fb-linux-x86_64.tar.xz` (sha256 5f5479151620b9b5cb3f5d86a32e228858544411bfad30f48ff24853e9503a67; built in WSL from `git archive` of main 945fc44f3 with `LELEKA_GIT_COMMIT` set, PROVENANCE git_commit 945fc44f32fb9f58..., clean; contains the CPU expert kernel 0c48c823e, the tail skip profile keys and the owner-default PCIe 0.65; on the server `release-tail-skip-default/`). Jobs `e2e-codex-ttt-and-crm-release-945fc44f32fb-owner-default-tail-skip-lel-r{1,2,3}` and `-report` (stubs `scripts/e2e/codex/prefill/e2e-release/`, evidence `/data/leleka-e2e/prefill-latency/runs/e2e-codex-ttt-and-crm-release-945fc44f32fb-owner-default-tail-skip/`). The job unsets every route/placement variable of the shell: nothing is exported. Proof in all three blocks: engine log `EXPERIMENTAL route tail skip is ON (LELEKA_ROUTE_TAIL_SKIP=7, 49.9% of the experts in VRAM)`, the `engine environment` line of `leleka up` lists `LELEKA_ROUTE_TAIL_SKIP=7` and `LELEKA_ROUTE_TAIL_SKIP_MAX_CACHED=100`, meta config `expert_per_layer=0 pcie_frac=0.65`, 12,254 expert slots (global fill). (The watcher of repetition 1 raised a false alarm, `watcher-false-alarm-r1-missing-argument.txt`: `tsd_proof_lines` was called without the repetition argument; fixed for r2 and r3, the proof of r1 was written from the same logs by hand.) + +| cell set | default profile (tail skip from the profile) | gate series (83bdd85bb482, variables exported) | owner default before (83bdd85bb482) | VANL | VAN | +| --- | --- | --- | --- | --- | --- | +| CRM decode tok/s | 216.7 / 218.1 / 207.7 = 214.2 | 211.0 | 184.2 | 202.1 | 221.4 | +| CRM wall s | 394.6 / 428.1 / 397.6 = 406.8 | 458.8 | 539.1 | 461.8 | 434.0 | +| CRM rounds | 48 / 52 / 59 = 53.0 | 53.0 | 59.7 | 62.0 | 71.3 | +| CRM accepted, RELAXED | 56/56, 56/56, 56/56 | 56, 56, 55 | 55, 56, 56 | 3/3 | 3/3 | +| CRM accepted, STRICT | 55/56, 55/56, 55/56 | 56, 55, 54 | 54, 55, 55 | | | +| ttt decode tok/s | 206.1 / 222.8 / 204.7 = 211.2 | 202.6 | 181.7 | 202.0 | 225.7 | +| ttt rounds | 15 / 18 / 34 = 22.3 | 29.7 | 21.3 | 19.0 | 12.7 | +| ttt wall s | 143.5 / 184.5 / 234.0 = 187.3 | 218.9 | 170.5 | 136.7 | 99.3 | +| ttt checks | 14/14 x3 (both checkers) | 14/14 x3 | 14/14 x3 | 14/14 x3 | 14/14 x3 | + +Reading: against the owner default of the same release the default-on tail skip gives CRM decode +16.3 % and wall -24.5 %, ttt decode +16.2 %; ttt rounds 22.3 against 21.3 (+5 %) and wall +10 % (n = 3, CV 20-45 %: not resolved, the 34-round session of r3 drives both). CRM decode is 3.3 % below VAN and 6.0 % above VANL; CRM wall 407 s is below VAN (434 s) and VANL (462 s). Acceptance: the CRM failures are the same static board check as before (`no file with all five stages and a loop`), 55/56 in every strict cell and none in the relaxed one, so the relaxed gate reads 3 of 3 (gate series 2 of 3, owner default 2 of 3); no tool-call defect, 0 failed rounds. The result is within the earlier gate series; the lossy status and the open logit point (3.6 % flips against the Original's 2.8 %) are unchanged and were accepted by the owner. diff --git a/docs/experiments/plan-faster-than-strata.md b/docs/experiments/plan-faster-than-strata.md index fce2f35e..efa0cf1e 100644 --- a/docs/experiments/plan-faster-than-strata.md +++ b/docs/experiments/plan-faster-than-strata.md @@ -34,7 +34,7 @@ | 6c | Decode: хост між графами (4,3 мс, GPU стоїть 1,95 мс): PLE-staging, ланцюг драфту на пристрої, scan у граф, swap-чекання тиру (політика), commit | агент host-round | відкрито (запис 2026-11-12) | | 6d | Decode: токенів на раунд (accept) і драфтер: порівняти з ванільою та з upstream DFlash2 per-device (Blackwell cc 12.0: conf 0,35→0,55, window 6→8), що дає tok/round | агент acceptance | аналіз зроблено (`acceptance-knobs-5090.md`: accept у нас 3,19 проти 2,96 у vanilla, DFlash2-пер-девайс не стосується 5090 32 ГБ, 12-рядкове вікно ≤ +2 %); виміри ручок у черзі GPU | | 6e | Decode: CPU-ядро експерта IQ3_S/IQ4_NL (було ≈3× повільніше за Original; фікс 0c48c823e у main, A/B на 243k іде), далі prefetch 2048 Б і multi512 | агент cpu-kernel | у роботі | -| 6f | Lossy tail skip (+10..12 %): гейт якості (CRM за строгим і м'яким acceptance, ttt, ріст раундів ≤ приросту швидкості) | агент tail-gate | n=3 виконано 2026-11-13 на 83bdd85bb482: CRM decode 211 (+14,5 %), раунди −11 %, relaxed 56/56 у 2 з 3 (як у дефолту); ttt decode +11,5 %, раунди +39 % (один сеанс 49 раундів), логіт-гейт 3,6 % flips > 2,8 %; не доведено за гейтом; **РІШЕННЯ ВЛАСНИКА 2026-11-13: lossy tail skip (`LELEKA_ROUTE_TAIL_SKIP=7`, `..._MAX_CACHED=100`) увімкнено за замовчуванням у профілях 5090** (`rtx5090-32g`, `-file`, `-gguf-ple`; ноутбучний профіль без змін), відкриті пункти гейту (логіти 3,6 % проти 2,8 %, ріст раундів ttt, n=3) власник прийняв явно; вимкнути: `LELEKA_ROUTE_TAIL_SKIP=0`; `docs/deploy.md` розд. 4, рядок H9 у `step-ledger.md`; підтвердження на пакеті з дефолтним профілем без shell-експортів: див. `codex-compare-speed-gap.md`, кінець | +| 6f | Lossy tail skip (+10..12 %): гейт якості (CRM за строгим і м'яким acceptance, ttt, ріст раундів ≤ приросту швидкості) | агент tail-gate | n=3 виконано 2026-11-13 на 83bdd85bb482: CRM decode 211 (+14,5 %), раунди −11 %, relaxed 56/56 у 2 з 3 (як у дефолту); ttt decode +11,5 %, раунди +39 % (один сеанс 49 раундів), логіт-гейт 3,6 % flips > 2,8 %; не доведено за гейтом; **РІШЕННЯ ВЛАСНИКА 2026-11-13: lossy tail skip (`LELEKA_ROUTE_TAIL_SKIP=7`, `..._MAX_CACHED=100`) увімкнено за замовчуванням у профілях 5090** (`rtx5090-32g`, `-file`, `-gguf-ple`; ноутбучний профіль без змін), відкриті пункти гейту (логіти 3,6 % проти 2,8 %, ріст раундів ttt, n=3) власник прийняв явно; вимкнути: `LELEKA_ROUTE_TAIL_SKIP=0`; `docs/deploy.md` розд. 4, рядок H9 у `step-ledger.md`; підтверджено 2026-11-13 на пакеті `945fc44f32fb` з дефолтним профілем без shell-експортів (3 CRM + 3 ttt): CRM decode 214,2 ток/с (+16,3 % до дефолту власника 184,2; VANL 202,1, VAN 221,4), wall 407 с, relaxed 56/56 ×3, strict 55/56 ×3; ttt decode 211,2 (+16,2 %), 14/14 ×3, раунди 22,3 проти 21,3; див. `codex-compare-speed-gap.md`, розд. «Lever 7 as the 5090 default» | | 6g | Конкурентні запити агентів (multiplexing сесій) і телеметрія: сукупна пропускна здатність при N одночасних сесіях Codex проти N послідовних; ідея власника 2026-11-12 («у Strata цього нема»). Спершу перевірка здійсненності й кошту (без GPU), потім вимір. Метрики: сукупний ток/с, ток/с на сесію, TTFT, VRAM/RAM. Це НЕ збільшує швидкість однієї сесії (метрики етапу 7), окрема вісь | агент multiplex-feasibility | аналіз зроблено (`multiplexing-feasibility.md`: перемикання сесій 0,07–0,3 с, одночасний decode 1,0–1,3× при N=2 за моделлю, переписування життєвого циклу запиту). Додано 2026-11-12 за словом власника: (а) у режимі оркестратора Codex з сабагентами паралельні запити гарантовані, тому записаних сесій без перетинів замало, потрібен бенчмарк «Codex знає, що він оркестратор, працює кількома сабагентами»; (б) асинхронне стиснення запаркованих блоків сесій у хост-RAM (економія місця й часу перемикання; вимога точності префікс-кешу: лише lossless або вимір відхилення)). АНАЛІЗ 2026-11-12 (`async-park-compression-and-orchestrator-bench.md`): lossless-стиснення блоків E 1,06–1,29× (центр 1,17×), час перемикання не скорочує (копія це memcpy хоста 13–14 ГБ/с, не PCIe), +0–1 сесія RAM: спершу вимір T8, ймовірно NO-GO; бенчмарк оркестратора ≈3–3,5 GPU-год, очікуваний виграш черги 0,97–1,18× (центр 1,03–1,08×) | | 7 | Груповий e2e: CRM×3 і ttt×3 проти бази | обидва | після етапів 2–6; 2026-11-12 перший валідний прогін на 02c784249a7e: кандидат quota=no+PCIe 0,65 CRM 179/505 с, ttt 180/156 с (дефолт власника від 2026-11-12) | | 8 | Рішення власника: tail skip (+10…12 %, не пройшов гейт CRM) | власник | **ухвалено 2026-11-13: увімкнено за замовчуванням у профілях 5090 (lossy, прийнято явно)** | diff --git a/docs/experiments/step-ledger.md b/docs/experiments/step-ledger.md index c3b48fe6..d14a05ae 100644 --- a/docs/experiments/step-ledger.md +++ b/docs/experiments/step-ledger.md @@ -208,7 +208,7 @@ The tier adapts every 4 rounds and survives across requests. | H6 | tier knobs: adapt every 2, 192 swaps, decay 0.85, margin 1.0 (`spd-w1..w5`) | 4, 96, 0.7, 1.5 | same policy | runs queued | gap doc | device | fixing (W1 adapt every 2: earlier n=5 +0.56 points hit, +1.31 % tok/s (CI +0.77..+1.85); in the group A/B above as PW against PG, then 10 pairs if it holds) | | H7 | first rounds of a request see an unadapted tier | | | not isolated | gap doc | device | open (isolated for ours 2026-11-11 `docs/experiments/vram-hit-share-gap.md`: hit share 79 % in the first 4 windows of a request, 85 % at windows 16-31, 90 % at 32-63, 93 % from 128; the first 64 windows carry 20 % of the misses, a ceiling of 0.71 points; vanilla has no per-window log; a request-start warm-up needs code in `original_serve_residency/source_spans.rs`, hex-finish) | | H8 | CPU expert compute per expert (2 MB) | 39 us (52 GB/s) | 44 us | -5 us | PROFILE | hex-finish | proved-equal (LEL ahead) | -| H9 | route tail skip (LOSSY: a missed expert that every token of the window routes at rank 7 or lower is neither copied nor computed, weight not renormalised) | off by default | vanilla Strata ships it ON (rank 7) | decode CRM 211.0 against 184.2 tok/s (+14.5 %), ttt 202.6 against 181.7 (+11.5 %), CRM wall -15 %, CRM rounds -11 %, ttt rounds +39 % (median equal) | gate on release 83bdd85bb482, n=3 CRM + 3 ttt (`codex-compare-speed-gap.md`, Lever 7 gate) | device | fixed (OWNER DECISION 2026-11-13: ON by default in the three 5090 profiles, `LELEKA_ROUTE_TAIL_SKIP=7`, `..._MAX_CACHED=100`; laptop profile unchanged. The quality gate was assessed and NOT passed: relaxed CRM acceptance 56/56, 56/56, 55/56 (as the owner default, 2 of 3), ttt 14/14 x 3, logit gate 3.6 % argmax flips against the Original's 2.8 % envelope, ttt rounds +39 % on one 49-round session. The owner overrode those open points explicitly, the recorded exception to the AGENTS.md rule on lossy defaults. Off: `LELEKA_ROUTE_TAIL_SKIP=0`. Docs `deploy.md` section 4. Confirmation series on the default profile of the next package, no shell exports: see the speed-gap doc) | +| H9 | route tail skip (LOSSY: a missed expert that every token of the window routes at rank 7 or lower is neither copied nor computed, weight not renormalised) | off by default | vanilla Strata ships it ON (rank 7) | decode CRM 211.0 against 184.2 tok/s (+14.5 %), ttt 202.6 against 181.7 (+11.5 %), CRM wall -15 %, CRM rounds -11 %, ttt rounds +39 % (median equal) | gate on release 83bdd85bb482, n=3 CRM + 3 ttt (`codex-compare-speed-gap.md`, Lever 7 gate) | device | fixed (OWNER DECISION 2026-11-13: ON by default in the three 5090 profiles, `LELEKA_ROUTE_TAIL_SKIP=7`, `..._MAX_CACHED=100`; laptop profile unchanged. The quality gate was assessed and NOT passed: relaxed CRM acceptance 56/56, 56/56, 55/56 (as the owner default, 2 of 3), ttt 14/14 x 3, logit gate 3.6 % argmax flips against the Original's 2.8 % envelope, ttt rounds +39 % on one 49-round session. The owner overrode those open points explicitly, the recorded exception to the AGENTS.md rule on lossy defaults. Off: `LELEKA_ROUTE_TAIL_SKIP=0`. Docs `deploy.md` section 4. CONFIRMED 2026-11-13 on package 945fc44f32fb (main 945fc44f3: CPU kernel 0c48c823e + tail skip default + PCIe 0.65), default profile, NO shell exports, 3 CRM + 3 ttt, real Codex CLI: the engine log has `EXPERIMENTAL route tail skip is ON (LELEKA_ROUTE_TAIL_SKIP=7, 49.9% of the experts in VRAM)`, the `engine environment` line of `leleka up` lists both keys, meta config `expert_per_layer=0 pcie_frac=0.65` (all three blocks). CRM decode 214.2 +- 5.6 tok/s (owner default 184.2: +16.3 %; gate series with exported variables 211.0; VANL 202.1, VAN 221.4), wall 406.8 s (default 539.1, VANL 461.8, VAN 434.0), rounds 53.0 (default 59.7); accepted RELAXED 56/56 x3, STRICT 55/56 x3 (the board-in-one-file style check). ttt decode 211.2 +- 10.1 (default 181.7: +16.2 %; gate 202.6; VANL 202.0, VAN 225.7), rounds 22.3 (default 21.3, gate 29.7), wall 187.3 s (default 170.5), 14/14 under both checkers x3. Evidence `runs/e2e-codex-ttt-and-crm-release-945fc44f32fb-owner-default-tail-skip/`; speed-gap doc, section 'Lever 7 as the 5090 default') | ## Counts diff --git a/scripts/e2e/codex/prefill/e2e-release/tail_skip_default_common.sh b/scripts/e2e/codex/prefill/e2e-release/tail_skip_default_common.sh index 1c9102bf..3301407d 100644 --- a/scripts/e2e/codex/prefill/e2e-release/tail_skip_default_common.sh +++ b/scripts/e2e/codex/prefill/e2e-release/tail_skip_default_common.sh @@ -21,7 +21,7 @@ tsd_proof_lines() { tsd_watch_proof() { local rep=$1 job_pid=$2 smoke=$TSD_RUN/LEL/smoke-mini-r10$1/cell.json rc until [ -f "$smoke" ]; do kill -0 "$job_pid" 2>/dev/null || return 0; sleep 20; done - if tsd_proof_lines >"$TSD_RUN/tail-skip-default-proof-r$rep.txt"; then + if tsd_proof_lines "$rep" >"$TSD_RUN/tail-skip-default-proof-r$rep.txt"; then grep -a -m1 "engine environment:" "$TSD_RUN/LEL/stack-r$rep/up-foreground.txt" >>"$TSD_RUN/tail-skip-default-proof-r$rep.txt" grep -a "leleka-serve meta: config" "$TSD_STATE/logs/engine.log" | tail -1 >>"$TSD_RUN/tail-skip-default-proof-r$rep.txt" else