Skip to content

Move the factory host to Ubuntu 26.04 LTS #2106

Open

Description

@JacobStephens2

This was drafted by AI during the factory host setup session for #1979.

What

Move the factory host (the shared Experiment and factory host from #1979) from Ubuntu 24.04.5 LTS to Ubuntu 26.04 LTS. It runs 24.04 now because #1979 and grill Q2.5 (docs/grill-with-docs/run-capacity.md) chose 24.04: Trials and their systemd scopes are proven there, on the Lima VM. The droplet's login banner now offers 26.04.1 LTS, and DigitalOcean has a stock ubuntu-26-04-x64 image (dated 2026-11-02).

Why it is a decision, not a routine upgrade

  • Measurement parity. Experiments compare Arms, and A/A batches (Release #1484 and build the first 20 discriminating process Eval tasks #1887) run across days. If factory runs a different OS from the Lima VM, which builds and screens the first Eval tasks, a Trial's timing and failure modes can differ between the two. An upgrade partway through an Experiment or an A/A batch would make its Verdict harder to read.
  • Supported platforms. The README and guide say "Ubuntu 24.04.3 and later" for the CI test suite. Whether that covers 26.04 in practice, or only 24.04 point releases, is not stated. CI runs on 24.04.
  • The sandbox setup must survive. Factory needed a per-binary AppArmor grant before bwrap could create user namespaces: /etc/apparmor.d/bwrap, the one Setup's sandbox probe prints from src/setup/sandbox.rs. 26.04 may ship different AppArmor userns rules, a newer bwrap, or a newer systemd. Each one changes the Trial path (bwrap + systemd-run --user --scope memory caps).

Options

  • (a) Stay on 24.04 until the Lima VM moves too, and keep the two hosts in step.
  • (b) Upgrade factory in place with do-release-upgrade, between Experiments, after a fresh DigitalOcean snapshot. Then rerun Setup's sandbox probe and one Eval task's single Trial.
  • (c) Rebuild factory from the 26.04 image. Restore ~/.thirdshift/ (including evals/) and the logins, then run the same checks. This is cleaner than (b), but it repeats Provision the shared Experiment and factory host #1979's manual setup.
  • (d) Add Ubuntu 26.04 to CI first, then do (b) or (c).

Acceptance criteria

  • The choice among the options is recorded here, with whether the Lima VM moves too.
  • If upgraded: thirdshift setup's Security sandbox probe passes on 26.04, and one Eval task's single Trial runs in bwrap with a systemd scope.
  • If upgraded: the supported-platforms text in the README and docs/guide.md names 26.04 explicitly, or says it is untested.
  • No Experiment or A/A batch spans the upgrade.

Related: #1979 (provisioning), #1887 (process-task suite), #1494 (Passes skip during Experiments).

Activity

  1. added
    needs-triage
    in-progress
    and removed
    needs-triage
    on Nov 12, 2026
  2. JacobStephens2 commented on Nov 12, 2026

    @JacobStephens2
    OwnerAuthor

    This was generated by AI during triage.

    Investigation summary

    Investigated #2106 against Base commit b35dc5e. This is an operational migration and a decision about Experiment comparability; repository evidence does not establish a defect requiring an unattended code fix.

    Confirmed evidence:

    • docs/grill-with-docs/run-capacity.md Q2.5 explicitly chose Ubuntu 24.04 because Trials and systemd user scopes were proven on the Lima VM. Moving to 26.04 reopens that recorded choice.
    • README.md:20 and docs/guide.md:1083–1084 say Ubuntu 24.04.3 and later, while .github/workflows/ci.yml:81–110 selects ubuntu-24.04 and ubuntu-24.04-arm. The wording alone does not demonstrate 26.04 coverage. site/index.html:587 repeats the platform claim.
    • src/setup.rs:167–179 runs the Security sandbox probe only when saved Security review or fix settings enable it. src/setup/sandbox.rs checks sandbox startup, network isolation, read-only host configuration and writable scratch space; it does not check systemd scopes. Setup can finish despite a failed probe, so its exit status alone is insufficient.
    • src/scope.rs:150–174 requires a reachable systemd user manager. Trial and Grader launches at :567–590 and :770–779 apply MemoryHigh, MemoryMax, MemorySwapMax and OOMPolicy=kill, refusing launch without the manager.
    • tests/setup.rs:145 and tests/experiments/sandbox.rs:200 contain real isolation and scoped Grader coverage, but can skip when required capabilities are unavailable. Green test totals alone would not prove those paths ran.

    Related issues are distinct: #1979 remains open and specifies provisioning on 24.04; #1887 remains open for building and moving the process Eval suite; #1494 is closed. Searches for open issues mentioning 26.04, Ubuntu and the factory host found no separate duplicate migration issue.

    Recommended disposition: retain the documented 24.04 baseline while the Day shift chooses the migration method and Lima policy. Propose separate repository validation/documentation work and an operator-owned host cutover, subject to the questionnaire below. Any cutover must occur between complete Experiments and A/A batches, with explicit treatment of paused work, verified recovery, a passing sandbox probe and a real scoped Trial. Platform documentation should describe the evidence actually obtained.

    The Report's current host version, login banner, DigitalOcean image availability and installed AppArmor profile remain unverified. No host access, migration, source changes or GitHub writes were performed.

    Confirmation needs the Day shift: The authorized investigation is confined to this throwaway worktree. Confirming the factory and Lima state, available provider images, backups, active or paused Experiments, and real Ubuntu 26.04 Trial behavior requires operator-supplied evidence or separately authorized host/provider access.

    Questionnaire

    For the Day shift and factory operator: #2106 proposes changing the OS selected for the shared factory host. The repository confirms 24.04 CI coverage and separate sandbox/scope requirements, but cannot establish the hosts' current state.

    1. Day shift: choose stay on 24.04, upgrade in place, or rebuild, and state whether Lima moves too. If the hosts will differ, what Experiment and Difficulty measurements may be compared across that boundary? This resolves the deployment and measurement policy.
    2. Day shift: approve a split into (a) repository work to establish 26.04 validation and accurately update README.md, docs/guide.md, generated site/docs/index.html and hand-written site/index.html, and (b) an operator-owned migration with backup, rollback and Trial evidence. Should successful validation block the cutover? This establishes actionable ownership and ordering; CI runner availability must be checked before choosing its implementation.
    3. Operator: provide redacted OS and kernel versions, bubblewrap/systemd/AppArmor versions, relevant bwrap profile status, and confirmation of the intended 26.04 image or upgrade path for the factory host and Lima. This replaces the unverified banner/image claims with deployment facts; do not provide credentials.
    4. Operator: identify the maintenance window, how scheduled work will be held, and confirm no live Experiment or unfinished A/A batch will span it. How will paused or interrupted Experiments be completed beforehand or kept from resuming across the OS change? This preserves the measurement boundary.
    5. Operator: identify the fresh snapshot and independently recoverable Eval/configuration backup, restore verification and rollback trigger. After migration, supply the actual Security sandbox probe PASS output and a real Eval task Trial's sandbox and systemd scope evidence, including configured memory limits and user-manager availability under the normal launch account. Report relevant test skips explicitly. This establishes recovery and acceptance evidence.
  3. added
    enhancement
    ready-for-human
    and removed
    in-progress
    on Nov 12, 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

    enhancementready-for-human

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions