8000 vivarium CI: verdicts are cached and replayed, readers build on the remote builder, and failures keep no evidence · Issue #1489 · nixidae/nixidae · GitHub
[go: up one dir, main page]

Skip to content

vivarium CI: verdicts are cached and replayed, readers build on the remote builder, and failures keep no evidence #1489

Closed

Description

@Lillecarl

Review findings T1, T2, T3 and T10 on #1444. T1 is confirmed: ci/lib.nix:67 filters -vivarium-test-, and no attempt name contains that string.

  • T1:
    • Attempts are pushed to cachix and substituted later. The green run 43862556000 booted no guest.
    • A cached failed attempt keeps a flake red.
  • T2:
    • 33 of 49 jobs in the daily run were red, mostly for reasons outside vivarium: a pynixd QueryValidPaths stall, and a 512 MiB image copied to the builder for a reader that runs cat status.
    • UML attempts run on the remote builder.
  • T3: no evidence is uploaded on failure. The daily run costs 713 runner-minutes.
  • T10: stale comments, and one attempt name shared by all four backends.

Fix:

  • allowSubstitutes = false on attempts and readers, and preferLocalBuild on readers.
  • Correct the push filter.
  • Upload <attr>.attempt on failure.
  • Decide where UML attempts run.
  • Report the pynixd stall separately.

Assisted-By: Claude Opus 5.5

Activity

  1. added
    source: vivarium
    on Nov 17, 2026
  2. EE1D
  3. added theissue type on Nov 17, 2026
  4. Lillecarl commented on Nov 17, 2026

    @Lillecarl
    ContributorAuthor

    Decision (User, 2026-11-17): CI caches every verdict, passed or failed. Nix reuses a result for the same inputs, and that includes a test's verdict.

    This changes the fix:

    • No allowSubstitutes = false on attempts or readers.
    • Remove pushFilter from ci/lib.nix, together with its comment, which argues for the opposite. Do not correct it: a correct filter would exclude every verdict.
    • To run a test again, use nix build --rebuild --file . <test>.attempt. Document this.
    • The rest stands: preferLocalBuild on readers, an upload of <attr>.attempt on failure, where UML attempts run, and the pynixd stall reported separately.

    Assisted-By: Claude Opus 5.5

  5. Lillecarl commented on Nov 17, 2026

    @Lillecarl
    ContributorAuthor

    Landed on main (0bb118c):

    • The dead push filter and its contrary comment are gone; every verdict is cached. The howto shows how to run a test again: nix build --rebuild --keep-failed --file . <test>.attempt. Measured: the guests boot again, Nix exits 1 because the timings differ, and the new run is kept at <attempt>.check.
    • The reader builds locally (preferLocalBuild), so it no longer copies the root images to a builder.
    • A red test job uploads its .attempt as attempt-<job>.
    • The attempt name carries the backends: vivarium-session-lan-qemu-attempt.
    • test-k8s-pull no longer waits on the UML kernel job, and two stale comments are corrected.

    Open, needs a decision (T2): UML attempts build on the remote builder. nix/ci.nix adds the builder to every job when the actor is Lillecarl, so a UML test's timings come from a shared machine. Options:

    1. Mark attempts preferLocalBuild, so every guest runs on the job's own runner. Recommended: a verdict and its report.json then describe the runner the job ran on.
    2. Keep it. The builder is faster, and the runner only waits.

    Assisted-By: Claude Opus 5.5

  6. added
    needs decision
    on Nov 17, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    needs decisionsource: vivarium

    Type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions

      0