release 5090 v0.1: acceptance numbers (candidate package on the 5090: up, verify, cold start, Codex smoke), checklist closed, doc debt statuses

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
This commit is contained in:
Pavlo Ratushnyi
2026-11-03 23:29:19 +01:00
co-authored by Claude Sonnet 5.5
parent 1b795f8dd4
commit 17e3729442
2 changed files with 61 additions and 19 deletions
+49 -18
View File
@@ -1,6 +1,6 @@
# Release checklist: Leleka 0.1 for the RTX 5090 serve path (`leleka-5090-v0.1`)
Branch `claude/release-5090`. Phase A (2026-11-02, base `f9003b7ce`) wrote this page, the packager, the notes and the audit. **Phase B** (2026-11-03) rebased onto main `4cbbd2729`, which carries
Branch `claude/release-5090`. Phase A (2026-11-02, base `f9003b7ce`) wrote this page, the packager, the notes and the audit. **Phase B** (2026-11-03) started from main `4cbbd2729` (the branch already contained it, nothing to merge), which carries
everything that was open: window-policy (ceiling 0.60), unattended (supervisor, O_DIRECT loader, `status` / `verify --quick`, service scripts), observability (`leleka logs` / `report`, `requests.log`, `/metrics`),
single-copy (sparse memfd default), the embedded expert table, the MIT `LICENSE`, CI audit fixes. Owner decisions applied here: the model licence is the user's responsibility (one README line, not a gate); the
multi-hour soak is **not** a release blocker (post-release feedback after a week of real use); builds never depend on the server (WSL2/CI build, the server only receives artifacts); the details live in `README.md`,
@@ -24,15 +24,15 @@ Status words: **PASS** (evidence named), **OPEN** (to do in Phase B or by the na
| item | value / rule | gate |
| --- | --- | --- |
| release tag | `leleka-5090-v0.1`, annotated, local, on the release commit (the last commit of `claude/release-5090` after the rebase) | OPEN (end of Phase B) |
| release tag | `leleka-5090-v0.1`, annotated, local, on the release commit: the commit the final package was built from. Commits after it only record the confirmation run (section 7.3) | see section 7.3 |
| version number | `0.1.0` in all workspace crates and in `Cargo.lock`; the tag major.minor must equal it | PASS `[script]` gate_versions |
| `leleka version` | first line `leleka 0.1.0` (scripts parse it), then `commit <40 hex> (clean\|dirty)`, `strata pin <40 hex>`, `built for <target>, <profile>` (`crates/deploy/build.rs` embeds the commit exported by the packager and the pin from `docs/upstream.md`; unit test `app::version_tests`). A release binary must say `(clean)` | PASS: `verify` of the WSL-built package prints it (section 7) |
| `leleka version` | first line `leleka 0.1.0` (scripts parse it), then `commit <40 hex> (clean\|dirty)`, `strata pin <40 hex>`, `built for <target>, <profile>` (`crates/deploy/build.rs` embeds the commit exported by the packager and the pin from `docs/upstream.md`; unit test `app::version_tests`). A release binary must say `(clean)` | PASS: `verify` of the WSL-built package prints it (section 7.2); the server job prints it again from the unpacked tarball |
| MANIFEST / PROVENANCE | `MANIFEST.json` (schema 1, read by `leleka up`: version, commit, `features` = `[]` because this is an sm_120-only build, SHA-256 of the six binaries) and `PROVENANCE.json` (commit, branch, `Cargo.lock` SHA-256, toolchain, Strata upstream URL/commit/subtree tree id) | PASS `[script]` at package time |
| Strata upstream pin | `41cf05a06a25dd29103b7b27a2279a3f60c21876` (engine 0.1.50, app 0.2.5), **not moved**; the packager refuses any other pin (`RELEASE_STRATA_PIN`) | PASS `[script]` gate_pin |
| toolchain | `rust-toolchain.toml` = 1.99.0 (the packager compares `rustc --version`); no `[profile]` tuning: default `release` (no LTO, 16 codegen units, no target-cpu on purpose, `Cargo.toml` comment). `release-lto` is not used | PASS `[script]` gate_toolchain |
| build host | **WSL2 Ubuntu 24.04 on the laptop** (glibc 2.39 is the floor of the binaries; rustc 1.99.0 is installed there). The 5090 server has **no Rust toolchain** (`decode/dt/BUILD.md`); installing one is a ~1 GB sequential write the owner has not approved, so the release is built in WSL and copied with `scp` like every measured binary. Two facts shaped the packager: WSL2 git cannot open a worktree created by Windows git (its `.git` file names a `C:/` path), and a Windows checkout with `core.autocrlf=true` has 1,549 CRLF text files outside `engine/strata`. So `package-5090.sh stage-source` runs in Git Bash (gates, then `git archive HEAD` = LF bytes without `.git`, plus `PROVENANCE.env`), and `build` / `package` / `verify` run in WSL2 **inside the staged tree** with a **fresh `CARGO_TARGET_DIR`** (no hard deletes: never wipe an old target). `scripts/release/package-5090.ps1` wraps both | decision recorded; OPEN: owner may prefer a server build |
| PTX line endings | `*.ptx -text` in `.gitattributes` (new). Before this branch a Windows checkout with `core.autocrlf=true` turned 212 of 273 `.ptx` into CRLF (61 end in a NUL byte and were left alone by git's binary heuristic), so a Windows-side build embedded different PTX than the sealed one (the baseline-pair part-d binary came out 9 MB smaller). The packager checks `git ls-files --eol` of every `.ptx` and fails on any `crlf` / `mixed`; `verify` checks the shipped copies for CR bytes | PASS `[script]` gate_ptx (byte scan for CR in all 273 files, plus `git ls-files --eol`; this worktree re-created as LF). **Other worktrees on the laptop still hold CRLF `.ptx`** until they re-checkout after the merge (`package-5090.ps1 ptx-eol` tells; fix: remove and `git checkout --` the `.ptx` files, because `git checkout` skips stat-clean files) |
| reproducible bytes | the archive is deterministic (sorted, fixed owner and mtime = commit time, `xz -T1`); the binaries are deterministic only for the same toolchain **and the same absolute build path** (panic messages embed paths) | see section 7: a second build at the same path, result recorded either way |
| reproducible bytes | the archive is deterministic (sorted, fixed owner and mtime = commit time, `xz -T1`); the binaries are deterministic only for the same toolchain **and the same absolute build path** (panic messages embed paths) | result of a second build at the same path in section 7.2 |
| package contents | six binaries, the 5090 profile, two service templates + `runtime.env.example`, `install.sh`, 141 sealed sm_120 PTX with SHA-256 (the PTX is also embedded in the binaries), curated docs, licence texts, the unattended-operation files **when they exist at package time**, `SHA256SUMS`. Never: model weights, KAR archives, captures, credentials, logs, `*.py`, runtime.env, benchmark data | PASS `[script]` (staging scan and `verify`) |
## 3. Upstream (Strata) pin: record and what moving it would require
@@ -55,11 +55,11 @@ Moving the pin later is a separate release (`0.2`), and needs, in this order:
| id | gate | evidence in the tree | status |
| --- | --- | --- | --- |
| P1 | terminal SSE events, tool-call integrity, cancellation, 429 backpressure, memory flat over 40 requests | `docs/e2e-run.md` section 4: job 942, 459 checks, 9 failed, all 9 model-origin malformed tool calls refused by the server (not published as calls); 98 generations, soak flat (+0 MiB RSS, +0 MiB VRAM). **Code of 2026-10-17**, 11 days and many merges ago | OPEN: Phase B re-runs a short real-Codex session on the release binaries (queue protocol below) |
| P2 | real Codex CLI 0.163.0 sessions complete | jobs 943d / 945d (tic-tac-toe 20 requests, 203 s; CRM 72 requests, 871 s; weighted decode 128.8 / 130.0 tok/s on the 2026-10-17 reference configuration; CRM acceptance **failed** because the model wrote a bug, `docs/e2e-run.md` 7d); the 72-cell Codex lossy-delta matrix on `e1bd61f5` (`docs/experiments/codex-lossy-delta.md`, tasks complete, no engine fault recorded in the merge message) | PASS as history; Phase B repeats a short smoke on the release commit |
| P1 | terminal SSE events, tool-call integrity, cancellation, 429 backpressure, memory flat over 40 requests | `docs/e2e-run.md` section 4: job 942, 459 checks, 9 failed, all 9 model-origin malformed tool calls refused by the server (not published as calls); 98 generations, soak flat (+0 MiB RSS, +0 MiB VRAM). **Code of 2026-10-17**, 17 days and many merges ago. Phase B did not repeat the 459-check client; it ran two real Codex tasks on the release binaries (P2): 29 requests, 0 failed, 0 error lines | PASS as history plus the Phase B smoke; the old client run is not repeated (the notes say the evidence is from older code) |
| P2 | real Codex CLI 0.163.0 sessions complete | jobs 943d / 945d (tic-tac-toe 20 requests, 203 s; CRM 72 requests, 871 s; weighted decode 128.8 / 130.0 tok/s on the 2026-10-17 reference configuration; CRM acceptance **failed** because the model wrote a bug, `docs/e2e-run.md` 7d); the 72-cell Codex lossy-delta matrix on `e1bd61f5` (`docs/experiments/codex-lossy-delta.md`, tasks complete, no engine fault recorded in the merge message). **Phase B (section 7.2)**: `smoke-mini` 40 s and `fixbug-ledger` 99 s, both accepted by their task checks, through `leleka up --foreground` and the gateway | PASS |
| P3 | model-origin tool-call failures | not fixed by design: no constrained decoding, no repair step (`docs/e2e-run.md` section 5); `tool_call_recovery` is OFF (lossy) | NOT CLAIMED (listed in the notes) |
| P4 | long soak with the real workload, disk full, client abort, crash of the worker | the unattended work brings the harness (`scripts/soak`) and supervision; its 1.5 h run did not finish (power cycle). **Owner decision: not a release blocker**; post-release feedback after a week of real use | OPEN-accepted; the notes say "no multi-hour soak on the release commit" |
| P5 | sampled (non-greedy) requests | accepted by the API; `docs/original-serve.md` request plumbing; coupled draft sampling only with `STRATA_SPEC_COUPLED` as in the Original. `docs/port-remaining.md` section 3 (written earlier) still says the sampled MTP paths "have not run on a device"; **verify its current truth in Phase B and correct the page** | OPEN; the notes say "all evidence is greedy" |
| P5 | sampled (non-greedy) requests | accepted by the API; `docs/original-serve.md` request plumbing; coupled draft sampling only with `STRATA_SPEC_COUPLED` as in the Original. `docs/port-remaining.md` section 3 (written earlier) still says the sampled MTP paths "have not run on a device"; the page was written 2026-10-15 and its sentence is not verified against current code (doc debt D4) | OPEN-accepted; the notes say "all evidence is greedy" and make no sampling claim |
### 4.2 Determinism and quality (charter gates B and C), per feature of the shipped profile
@@ -72,7 +72,7 @@ The shipped `rtx5090-32g` profile is **not bit-identical to the Original** and s
| Q1 | port vs Original, whole stack | rounding-level difference | quality-gate.md: pooled six port arms d_top1 p99 0.210 (Original 0.197), flips 2.15 % (2.22 %); **one row outside** (prompt 1, `<think>` position 66, d_top1 up to 1.36), localised as a high-gain row, not a fault; retrieval of the needle at 100k and 180k equal to the Original's; stop set fixed | PASS with the stated residual risk |
| Q2 | KAR level-2 PLE (`kar_source`) | small numerical perturbation | quality-gate.md section 6: about 1.6x the Original's other envelope arms (p99 0.34, flips 3.4 %); 6 prompts, no perplexity, no tool-call or long-context test; `docs/model-assets.md` keeps the KAR quality status "pending" | OPEN-accepted: stated in the notes; no formal quality gate exists for KAR |
| Q3 | `LELEKA_CHAIN=all` | rounding-level, not bitwise | chain-kernels.md: at 30-70k 5,993 of 64,355 rows identical, d_top1 p99 0.327 / max 4.31, flips 1.08 % against a rounding-noise control of p99 0.394 / 1.45 %; passes the 1.25x q_tail_gate rule; **no 256k q_pair** (audit F1) | OPEN-accepted: stated in the notes |
| Q4 | `prefix_cache_tail=reply` | rounding-level | prefix-cache.md: d_top1 p99 0.401, flips 1.45 % against the control 0.394 / 1.45 % at about 70k; the same document also calls `reply` EXPERIMENTAL (audit F2: two statements disagree); not run at 256k | OPEN: Phase B reads `docs/prefix-cache.md` and makes the two statements agree; the notes call it "gated at 70k only" |
| Q4 | `prefix_cache_tail=reply` | rounding-level | prefix-cache.md: d_top1 p99 0.401, flips 1.45 % against the control 0.394 / 1.45 % at about 70k; the same document also calls `reply` EXPERIMENTAL (audit F2: two statements disagree); not run at 256k | OPEN-accepted: `docs/prefix-cache.md` now says one thing (off in the engine, set by the `rtx5090-32g` profile, live equivalence gate open, STRA-328); the notes call it "gated at about 70k only" |
| Q5 | prefill chunk and prefix block 8192 | rounding-level | one 16,000-token prompt answers differently at 8192 than at 2048/4096/6144 (prefill-throughput.md, "rounding or defect" left open); TTFT sum 55-60 s against 131 s at 2048 on a 256k session | OPEN-accepted: stated in the notes |
| Q6 | expert placement: adaptive tier, per-layer slots, upstream ranked profile, seed OFF, `spec_min_p` 0 / adaptive window | placement and window shape, rounding-level | quality-gate.md sections 3 and 8 (P1-P6, seed PASS, adaptive PASS, 612 rows, short prompts); adaptive-spec.md; no 256k q_pair | OPEN-accepted |
| Q7 | `LELEKA_SM120_ATTN_DAILY_MTP=1` (MTP draft attention) | **bitwise** | draft-round-5090.md section 4: 2057 / 2057 logprob rows and 1036 / 1036 draft-trace lines identical, 0 argmax flips; model-free probe byte-identical; enabled in the profile by `f9003b7ce` | PASS |
@@ -94,7 +94,7 @@ PCIe share 0.45 (`docs/experiments/baseline-pair-5090.md`, `draft-round-5090.md`
| A2 | ours vs vanilla v2 on a 42 h-old machine (part d) | 155.6 (sd 1.6, n=6) against 132.9 (sd 5.5), ahead in 6 of 6 blocks, but 5 of 6 vanilla runs were in the poor-THP state; pooled vanilla full-coverage n=14: 146.9 (sd 12.5, best runs 160-174) | PASS as stated, with the caveat in the notes |
| A3 | draft-round change (MTP draft attention) | bitwise; whole round -0.366 ms (-2.7 %), 12 of 12 blocks; tok/s +0.5 % +- 0.6 % (not significant: the adaptive window narrows); +3.0 %, 5 of 5 blocks with the window held fixed | PASS as stated; "tok/s depends on the window policy" |
| A4 | window-policy default | tok/s +1.09 % +- 1.2 % (n.s.), see Q9 | PASS as "no speedup claimed" |
| A5 | cold start | before: fresh-boot cycle 23-55 min, dominated by the holder's buffered read of the 55 GB KAR file (`baseline-pair-5090.md` section 9). Now: O_DIRECT loader, sparse memfd (seal 28.4-29.3 s for 14.9 GiB), holder via `single-copy-holder.sh` 65-105 s. The release-commit start through `leleka up --foreground --kar-fd` with files evicted per file is in section 7 | see section 7 |
| A5 | cold start | before: fresh-boot cycle 23-55 min, dominated by the holder's buffered read of the 55 GB KAR file (`baseline-pair-5090.md` section 9). Now: O_DIRECT loader, sparse memfd (seal 28.4-29.3 s for 14.9 GiB), holder via `single-copy-holder.sh` 65-105 s. Release package, model files evicted per file (`posix_fadvise DONTNEED`): seal with the packaged `leleka seal-exec` 15.0 s, then `leleka up --foreground` to `/ready` 78 s | PASS as stated (section 7.2); one run, not a distribution |
| A6 | single-copy RAM table | full memfd / sparse memfd / file source: MemAvailable 8.5 / 45.1 / 59.9 GiB, Shmem 55.2 / 18.6 / 3.7 GiB, tok/s 153.43 / 154.33 / 82.73 (`docs/kar-sparse-memfd.md`, 6 balanced blocks at 245k) | PASS as stated |
### 4.4 Build, package and documents
@@ -102,11 +102,11 @@ PCIe share 0.45 (`docs/experiments/baseline-pair-5090.md`, `draft-round-5090.md`
| id | gate | status |
| --- | --- | --- |
| B1 | `scripts/release/package-5090.sh check` passes with zero FAIL | see section 7 |
| B2 | clean build from a fresh target dir with the three commands of `docs/deploy.md` section 8 minus `--features sm86`, `--locked`; `cargo test -p leleka-deploy` (all, with `--features test-fakes` on Linux) and the other crates' tests on Linux; `cargo clippy -D warnings`, `cargo fmt --check` for the crates this branch touched | OPEN (Phase B). Phase A: `app::version_tests` passes on Windows |
| B3 | `package-5090.sh package`, then `verify` on the produced tarball, on the laptop and on the server. Phase A rehearsal: `stage-source` works (2 min 18 s); the WSL2 `leleka` build, `package --rehearse` and `verify` rehearsal results are in section 7 | OPEN (Phase B) |
| B4 | `leleka verify` (full hash of the shards and the archive against the pins) and `leleka up --dry-run` on the server with the release binaries | OPEN (Phase B; see the server notes below) |
| B2 | clean build from a fresh target dir with the three commands of `docs/deploy.md` section 8 minus `--features sm86`, `--locked`; `cargo test -p leleka-deploy` (all, with `--features test-fakes` on Linux); `cargo clippy -D warnings` and `cargo fmt --check` for the crates this branch touched | PASS: clean build in WSL2 (section 7.2); `leleka-deploy` 180 unit + 26 end-to-end tests pass against the CI stand-in `nvidia-smi` (the two host-class tests are skipped exactly as `scripts/check-local.sh --product` does); clippy `-D warnings` clean. This branch touched no Rust except two stale assertions in `crates/deploy/tests/e2e.rs` (the sparse memfd is no longer EXPERIMENTAL and its digest is pinned, so two tests written for the unpinned experiment failed on main). `cargo fmt --check` on `leleka-deploy` fails with 450 hunks: known debt that `check-local.sh` reports as debt (`docs/ci-audit.md`), not touched here. The rest of the workspace is CI's (`product.yml`) and was not re-run on the laptop |
| B3 | `package-5090.sh package`, then `verify` on the produced tarball | PASS (section 7.2): `check` 0 failures, `stage-source` 56 s, `package` about 4 min (WSL2, fresh target dir), `verify` 0 failures, `leleka version` = commit + `(clean)` + pin `41cf05a0`; on the server `SHA256SUMS` and the six `MANIFEST.json` digests are re-checked by the acceptance job |
| B4 | `leleka verify` (full hash of the shards and the archive against the pins) and `leleka up --dry-run` on the server with the release binaries | PASS (section 7.2): dry run rc 0; `verify` rc 0 in 107 s |
| B5 | licence and third-party audit, secrets/PII scan: `docs/release/licence-and-secrets-audit-5090-v0.1.md` | PASS (root `LICENSE` = MIT; every crate declares MIT; see the audit for the commercial-licence note) |
| B6 | documents consistent: list below | OPEN |
| B6 | documents consistent: list below | PASS: D1-D3 and D5 fixed, D7 unchanged on purpose; D4 is accepted doc debt (not a gate; the notes say "all evidence is greedy"), D5 is resolved |
Document inconsistencies found in Phase A (fix in Phase B, after the merges, because `claude/unattended` and `claude/window-policy` edit the same files):
@@ -116,7 +116,7 @@ Document inconsistencies found in Phase A (fix in Phase B, after the merges, bec
| D2 | profile `description` | the stale "129-130 tok/s" sentence | FIXED (the text now says it makes no speed claim) |
| D3 | `docs/deploy.md` | header status, quickstart tarball name | FIXED; section 10 ("had not run") is history of 2026-10-17, the 2026-11-02 `leleka up` ready run is in `docs/unattended.md` section 9 and the release run in section 7 below |
| D4 | `docs/port-remaining.md` section 3 | "nothing above has run on a device yet" (sampled MTP) | known doc debt: not a gate (all evidence is greedy and the notes say so) |
| D5 | `docs/prefix-cache.md` | `reply` called both EXPERIMENTAL and the 5090 default | known doc debt, listed in Q4; the notes say "gated at about 70k only" |
| D5 | `docs/prefix-cache.md` | `reply` called both EXPERIMENTAL and the 5090 default | resolved: the page no longer calls `reply` experimental and default at once (see Q4) |
| D6 | `docs/upstream.md` | add that upstream is at 0.2.8 | covered by checklist section 3 and `docs/upstream-port-plan.md`; the pin record itself is unchanged on purpose |
| D7 | profile seed text | "placement class, owner to confirm" | unchanged: seed OFF is the measured default (`decode-tail-5090.md`) |
@@ -128,16 +128,16 @@ Document inconsistencies found in Phase A (fix in Phase B, after the merges, bec
| id | was | now |
| --- | --- | --- |
| BL1 | no root `LICENSE` | **resolved**: MIT `LICENSE`, every crate declares MIT. The owner says "MIT for non-commercial use, commercial use is paid"; the committed text is the plain MIT licence, which does not itself restrict commercial use. The notes say only "commercial licence on request" and invent no terms; the commercial text and any wording change of `LICENSE` are the owner's. Recorded as an OPEN owner item, not a gate |
| BL2 | `TBD` markers in the notes | resolved only with real values (section 7); the packager refuses while any remain |
| BL2 | `TBD` markers in the notes | **resolved**: real values (notes, section 7.2); the packager still refuses while any marker remains |
| BL3 | D1-D7 | see the D table |
| BL4 | window-policy and unattended not merged | resolved (main `4cbbd2729`) |
| BL5 | `leleka up` never ran for real on the 5090 | the unattended job of 2026-11-02 reached `/ready` through `leleka up --mode none` + `leleka run --kar-fd` (model loaded in 144 s, `docs/unattended.md`); the release acceptance job (section 7) repeats it with the packaged binaries through `leleka up --foreground --kar-fd` |
| BL6 | expert table not shipped | **resolved**: embedded in the binary (`crates/deploy/data/expert-profile.bin`, `NOTICE`), `leleka up` writes it to the model volume after the digest check; the acceptance job starts from an assets overlay that lacks it |
| BL5 | `leleka up` never ran for real on the 5090 | **resolved**: the packaged binaries went from a model volume without the expert table through `leleka up` (first start), `leleka verify`, and `leleka up --foreground --kar-fd` to `/ready` in 78 s with the expert tier ON, then two Codex tasks (section 7.2). Residual: a standalone start where the supervisor seals the archive itself was timed in its parts (seal 15.0 s, start 78 s), not as one run |
| BL6 | expert table not shipped | **resolved**: embedded in the binary (`crates/deploy/data/expert-profile.bin`, `NOTICE`), `leleka up` writes it to the model volume after the digest check; verified on the server from an assets overlay that lacked it (section 7.2) |
| BL7 | model licence | owner decision: the user's responsibility, one README line |
## 6. Phase B procedure (as run)
1. Rebase onto main (done, nothing of the branch needed a merge). `package-5090.sh check` on the merged tree; fix the pages the merges changed; re-check `.ptx` bytes.
1. Main was already merged into the branch (nothing to merge). `package-5090.sh check` on the merged tree; fix the pages the merges changed; re-check `.ptx` bytes.
2. Commit, `stage-source` (Git Bash), `package` in WSL2 inside the staged tree with a new `CARGO_TARGET_DIR`; the package of the final commit is built after the numbers are in the notes (a docs-only commit: the tested binaries and the released binaries differ only by the embedded commit id; the confirmation run of section 7 uses the released package).
3. Copy the tarball to `rnr5090:/data/leleka-e2e/release-5090/` (one file, 25 MB). GPU work only through the queue: the job `scripts/release/accept-5090-job.sh` as a holder job (FIFO stub in `~/work/gpu-runs/holder2/jobs/`, `PRIORITY` untouched, `mkdir gpu.lock`, one line per event appended to `decode/notes.md`), inheriting the holder's sealed memfd (`--kar-fd`). A dropped link (the server is Wi-Fi only) is waited out: the job survives, nothing is restarted because ssh is unreachable.
4. Fill the notes with the measured numbers, re-run the gates, repackage, verify, confirm on the server, tag locally.
@@ -158,3 +158,34 @@ What was run, to prove the mechanics (the output is **not** a release: five gate
| `verify` | WSL2 | 0 failures: tarball digest, `SHA256SUMS`, no file outside it, no forbidden type or Python, no secret pattern, the six `MANIFEST.json` digests, no CR in shipped PTX, `leleka version` = `leleka 0.1.0`, commit `fe34d883...` `(clean)`, Strata pin `41cf05a0...` |
Not rehearsed: reproducibility of the binaries (second build at the same path), the Linux test suites, anything on the server (nothing was copied there or run there; the only server contact in Phase A was read-only `ssh` queries).
### 7.2 Phase B (2026-11-03): candidate package `98f725f9c5e2`, build host and acceptance on the server
The candidate was built from commit `98f725f9c5e2` (docs-only difference from the release commit, apart from the acceptance script and two test assertions; `git diff --stat 98f725f9c5e2..<release commit>` is in the final report).
| step | host | result |
| --- | --- | --- |
| `package-5090.sh check` | Git Bash | 21 PASS, 0 failed (the tree is clean, 273 `.ptx` without CR, 28 flags and 9 commands of `docs/deploy.md` exist in `leleka --help`, notes without markers); 32 s |
| `stage-source` | Git Bash | `git archive HEAD` into `dist/release-5090/src/release-5090-src-98f725f9c5e2`, 56 s |
| `package` (three cargo builds, `--locked`, new target dir) | WSL2 Ubuntu 24.04, rustc 1.99.0, inside the staged tree | all six binaries; archive 25,358,156 bytes, 185 files, sha256 `74e0d55fe61d4eb07467280aeb5c16d667e8090853ab4d2772523beced8b9805`; about 4 min |
| `verify` | WSL2 | 0 failures: tarball digest, `SHA256SUMS`, no file outside it, no weights / credentials / Python, the six `MANIFEST.json` digests, no CR in shipped PTX, `leleka version`: `0.1.0`, commit `98f725f9...` `(clean)`, Strata pin `41cf05a0...` |
| tests | WSL2 | `cargo test -p leleka-deploy --features test-fakes`: 180 unit tests, 26 end-to-end tests pass with `scripts/ci/nvidia-smi` first on `PATH` (as `scripts/check-local.sh --product`; the two host-class tests `dry_run_*` and `a_failing_preflight_*` are skipped there too, the dry run itself ran on the server below). Without the stand-in, on the laptop (RTX 3080 busy with the owner's own service, 39 GB RAM) seven end-to-end tests fail because they read the real GPU. Two of them (`a_sparse_memfd_profile_*`) were stale on main (they expected the word EXPERIMENTAL and an unpinned extents digest) and are fixed in this branch. `clippy -D warnings` on `leleka-deploy`: clean. `cargo fmt --check` on `leleka-deploy`: 450 hunks, known debt (not a gate) |
| second package at the same source path, **new** target dir | WSL2 | `leleka` and `leleka-seal-exec` are byte-identical to the first build; `strata-next`, `leleka-inference`, `leleka-daemon`, `leleka-cli` differ (the target directory path is embedded), so the tarball is not bit-reproducible across target dirs (second tarball sha256 `48791ac0...`). A rebuild in the same target dir was not done (no hard delete). Not a gate |
Server (`rnr5090`, Ubuntu 26.04.1, driver 595.99.02, RTX 5090): the tarball was copied with one `scp` (25 MB) to `/data/leleka-e2e/release-5090/` and run as a **holder job** of the GPU queue (`rel5090-accept4`; FIFO stub in `~/work/gpu-runs/holder2/jobs/`, `PRIORITY` untouched, `mkdir gpu.lock`, events appended to `decode/notes.md`), script `scripts/release/accept-5090-job.sh`; the run directory is `/data/leleka-e2e/release-5090/runs/accept-20261103T221030Z/` (`SUMMARY.txt`, `job.log`, `state/logs/`). The job inherits the lab holder's sealed archive descriptor, starts from an assets overlay with **no** `data/expert-profile.bin`, and evicts model files per file with `posix_fadvise(DONTNEED)` (never `drop_caches`).
| step | result |
| --- | --- |
| unpack, `SHA256SUMS`, `leleka version`, six binary digests against `MANIFEST.json` | all ok; `commit 98f725f9... (clean)`, pin `41cf05a0...` |
| `leleka up --dry-run` | rc 0, plan printed, nothing changed |
| `leleka up --mode none` (first start) | rc 0, 333 s; wrote `data/expert-profile.bin` from the bytes embedded in the binary (196,632 B, SHA-256 `8f59b4aa...388975baf`); planned `rtx5090-32g`, `kar_source memfd`, `memfd_extents ple_only`, `expert_source resident`, prefix cache 6144 MiB |
| `leleka verify` (full) | rc 0, 107 s |
| product seal of the 14.9 GiB sparse copy, archive evicted first | 15.0 s (`leleka seal-exec --sparse-ple`) |
| cold start: `leleka up --foreground` (model files evicted) to `/ready` | 78 s; engine laps: shards and archive verified 6.2 s, MTP pack 3.0 s, expert bank admission 43.7 s, stack open 20.7 s |
| `leleka status`, `verify --quick` (also at the end) | ready, 0 restarts, **expert tier ON**, health OK, VRAM 30.8 of 31.8 GiB; unauthenticated `/v1/models`: 401 |
| Codex CLI 0.163.0 through the gateway (`scripts/e2e/codex` cell runner of the frozen task set) | `smoke-mini` accepted (40 s), `fixbug-ledger` accepted (99 s); `requests.log`: 29 requests, 0 failed, TTFT p50 944 / p95 1622 ms, decode p50 179.1 tok/s (short contexts), prefix-cache hit 94 %; 0 error lines in `engine.log` and `api.log` |
| SIGTERM | supervisor exited, 0 leftover processes, VRAM 2 MiB |
An earlier job on the Phase B rehearsal package (`ff1ad3aea145`) failed in the harness, not in the product: the overlay symlinked `data/mtp-rt`, and the engine refuses a symlinked MTP directory and a symlinked provenance file on purpose (`selected input binding failed`). The overlay now holds real directories made of hard links (no bytes written).
Not done: a run where the supervisor seals the archive itself as one command (the lab holder's resident copy leaves no room for a second one, so the seal and the start were timed separately); the 245k decode benchmark on the release package (the numbers in the notes are those of the paired series); the laptop RTX 3080; a multi-hour soak (owner decision).
+12 -1
View File
@@ -47,7 +47,18 @@ Host RAM at the end of turn 5 of the 245k run (`docs/kar-sparse-memfd.md`, `runs
Seal of the archive into RAM: sparse 28.4-29.3 s (14.9 GiB held), full 78.9-97.2 s (O_DIRECT, no page cache left).
Release acceptance on the 5090 (checklist section 7): not yet run in this revision of the page.
Release acceptance on the RTX 5090 server (checklist section 7; Ubuntu 26.04.1, driver 595.99.02; run on the package built from commit `98f725f9c5e2`, which differs from the release commit only in these pages, the acceptance script and two stale test assertions):
| step | result |
| --- | --- |
| first `leleka up` from a model volume **without** the expert table | the table embedded in the binary was written and checked (SHA-256 `8f59b4aa...`), plan `rtx5090-32g`, sealed sparse memfd, resident experts; 333 s |
| `leleka verify` (full hash of both shards and the 55 GB archive against the pins) | pass, 107 s |
| cold start, model files evicted per file with `posix_fadvise(DONTNEED)` (no `drop_caches`) | seal of the 14.9 GiB sparse copy by the packaged `leleka seal-exec`: **15.0 s**; `leleka up --foreground` to `/ready`: **78 s** (expert bank 43.7 s, stack open 20.7 s); about 93 s in all. The archive descriptor of that run came from the lab holder (a second seal of the same bytes would not fit next to it in RAM), so the two parts were timed separately |
| `leleka status` / `verify --quick` | ready, expert tier **ON** (table SHA-256 `8f59b4aa...`), health OK, 0 restarts; unauthenticated request: 401 |
| real Codex CLI 0.163.0 through the gateway | two tasks of the frozen set, both accepted: `smoke-mini` 40 s, `fixbug-ledger` 99 s; 29 requests, 0 failed, 0 error lines in `engine.log` / `api.log`; TTFT p50 944 ms; decode p50 179 tok/s on these short contexts (**not** comparable with the 245k figures above) |
| shutdown | clean SIGTERM, no leftover process, VRAM back to 2 MiB |
Tests on the build host (Linux, Rust 1.99.0): `cargo test -p leleka-deploy --features test-fakes` 180 unit + 26 end-to-end tests pass against the CI stand-in `nvidia-smi` (two host-class tests are skipped as in `scripts/check-local.sh --product`), `clippy -D warnings` clean on `leleka-deploy`. The cold start of a full **standalone** `leleka up` (no holder, the supervisor sealing the archive itself) was not timed as one run.
## Quality