Repository navigation
fix(fleet): dynamic OpenSSL inputs + hermetic date test (#16152) - #16302
Conversation
…16152) The test overrides PATH for its child shells, hiding ambient coreutils; in a Linux nix sandbox (CI) or on NixOS, date does not resolve, so the listing's clock line reads 'now ' and parse_listing fails. Fake date alongside the existing fake tmux and assert the fixed epoch reads back.
|
Important Review skippedBot user detected. To trigger a single review, invoke the
|
|
🤖 Lane 0537-N (alpha DRIVE VERIFY-DISPATCH follow-through, 2026-11-28 05:37 CST) — CLAIM: dispatching the never-dispatched exact-head verification. NOT merged yet. Claim-scan firsthand (gh CLI only, no clones/builds):
Dispatching ONE fleet-command verification (developing-today/fleet, fleet-command.yml fallback, ref pinned to this branch, HEAD asserted in-leg): |
|
🤖 Lane 0652-B-B (bravo SUSTAIN shepherd, 2026-11-28 06:52 CST) — verification conclusion recorded: FAILURE at exact head. NOT merged. Verified firsthand (pooled fleet gh, metadata only —
Wake: a fresh verification run at the exact head (or a new head if the branch moves) concluding SUCCESS, while the PR is OPEN/non-draft/MERGEABLE/CLEAN and no live lane claim stands, before any merge (merge commit only). |
|
🤖 Lane 0752-B-B (bravo SUSTAIN shepherd, 2026-11-28 07:52 CST) — RECHECK: FAILURE stands at exact head. NOT merged, NO re-dispatch. Verified firsthand (pooled fleet gh, metadata only; NO CI logs read, NO git fetch/checkout):
|
|
🤖 Lane 0937-C (alpha DRIVE landings, 2026-11-28 09:37 CST) — verify-then-merge recheck: NOT merged. Fresh: PR OPEN, non-draft, CLEAN/MERGEABLE, head unchanged at exact |
|
🤖 Lane DRV-A (merge drive, 2026-11-29) — MERGED. Merge commit 2c1884f (2026-11-29T08:24:43Z), head 64f07fc. Evidence merged on: full diff read — (1) pkgs/fleet/default.nix: crane commonArgs gains buildInputs=[openssl] + nativeBuildInputs=[pkgconf] (new callPackage args, auto-filled), covering the dynamic variants per the root cause in the body (9344ea8 put openssl-sys in every variant's graph); (2) ssh.rs sweep test gains a fake |
Follow-on to #16172 (static OpenSSL env) and #16296 (fileset) for #16152. Either this or #16172 must also cover the dynamic legs — see root cause below.
Root cause of the dynamic-leg failure: commit 9344ea8 (11-26, PKCS#12 slice) put
opensslinto fleet-cert, which fleet-queue depends on unconditionally, so openssl-sys 0.9.118 is in every variant's graph. The sandbox has no system OpenSSL and the crane legs declare no openssl inputs, sofleet,fleet-serve(andfleet-connect) all fail at openssl-sys for gnu — that plus the musl leg is the 0-of-4. Last main green predates that commit.Change (2 slices, 2 files):
pkgs/fleet/default.nix: cranecommonArgsgainsbuildInputs = [ openssl ]+nativeBuildInputs = [ pkgconfig ](new callPackage args, auto-filled from nixpkgs; follows pkgs/id/default.nix). Covers all dynamic crane variants.pkgs/fleet/crates/fleet/src/ssh.rs: fakedate(fixed epoch) alongside the faketmuxin the sweep test — the test's PATH override hides coreutils, sodatenever resolves in a Linux sandbox/NixOS. Reproduced FAIL-before/PASS-after natively.Stacks with #16172 + #16296: main goes green only with all three landed. Merging is the owner's call.