Skip to content

0.1.2 spec: OpenWiz installs on Linux ARM (aarch64) #2665

Open
1 of 5 issues completed
Open

Description

@jparker2006

Problem Statement

OpenWiz ships one Linux build, for x86_64. Many cloud machines a stranger's agent runs in are ARM (aarch64), Cloudroom's cloud sandboxes among them. On ARM Linux the install refuses at preflight, so those strangers can't install OpenWiz at all, and the clean-machine rehearsal (#2437) can't run on ARM. Reported in #2660.

Solution

A fourth release target, aarch64-unknown-linux-gnu, built and checked exactly like the x86_64 Linux one. The Packages workflow builds it natively on an ARM runner. The package and manifest name it, the installer accepts it on ARM Linux and picks its archive, and the clean-machine rehearsal runs on it. From then on, every release candidate must carry it: a candidate missing it fails closed, never skips.

Changelog headline

OpenWiz now installs on Linux ARM machines (aarch64), such as ARM cloud sandboxes.

User Stories

  1. As a stranger whose agent runs on an ARM Linux machine, I paste the one install line and OpenWiz installs and verifies, as it does on x86_64.
  2. As the release agent, every Packages run builds and rehearses the ARM Linux archive too, and a candidate without it can't ship.
  3. As a maintainer, the ARM build is checked by the same product identity, manifest, checksum and privacy rules as every other target.

Implementation Decisions

  • Target name: aarch64-unknown-linux-gnu, glibc 2.34 or later, like x86_64.
  • The host map: in tools/install/install, HOSTS maps ('Linux', 'aarch64') to it. install.py's TARGETS adds it, and build_products.py and package.py take it from there unchanged. Linux on other ARM forms (32-bit, musl) stays refused.
  • Product identity: architecture() in tools/release/product_identity.py accepts a 64-bit little-endian ELF with e_machine 183 (AArch64) for this target and 62 for x86_64, and refuses the other everywhere. scans.py's release-asset value pattern names the new target.
  • The build: a new package matrix row in .github/workflows/packages.yml runs on ubuntu-24.04-arm, natively, with no cross-compiling. The other rows are unchanged.
  • The rehearsal: 0.1.2 spec: the clean-machine install rehearsal as a CI job #2437's rehearse-linux job runs for both Linux targets, the ARM one on ubuntu-24.04-arm in the same debian:12 container, and writes the same openwiz.rehearsal.v1 receipt.
  • The release: candidate.py's TARGETS and the release-candidate contract require all four targets. So the products gate, the assets check and 0.1.2 spec: the clean-machine install rehearsal as a CI job #2437's rehearsal gate require ARM too, by their existing loops over TARGETS. No gate is weakened, and a candidate missing ARM is refused.
  • The install skill (WizSkills) names ARM Linux as supported, once the installer accepts it. CloudRoom's own unsupported row for Linux on ARM is CloudRoom's desktop app, and it stays.

Testing Decisions

  • Product identity on fixtures: a synthetic AArch64 ELF passes for the new target and fails for x86_64, and the reverse, red first.
  • The installer on fixtures: preflight on a faked ('Linux', 'aarch64') host prints the new target, and install --assets installs a synthetic ARM release. Every existing test passes unchanged.
  • The real build and install: a Packages run on the builder's branch builds the ARM archive, and the rehearsal installs it on ubuntu-24.04-arm, green. A planted break on ARM goes red.
  • The release on fixtures: a candidate with three targets is refused with the exact reason, and four pass.

Proof

  • P1 (identity): the product identity tests, red first.
  • P2 (installer): the installer tests, red first.
  • P3 (build and install on ARM): the Packages run, red and green, linked on the pull request.
  • P4 (release needs ARM): test_candidate.py, red first, and a review that no gate is weakened.
  • P5 (words): the install skill's preflight says ARM Linux is supported, checked in review against the installer.

Checkpoints

  • One-way door: yes
  • User-visible: yes

Live check

P3's run is GitHub's own ARM runner installing the real archive on a clean container. The live smoke kit (tools/live-smoke/) is not changed here.

Out of Scope

  • 32-bit ARM, musl, Windows, and CloudRoom's desktop app on ARM.
  • Cross-compiling.
  • tools/live-smoke/, release branches, and publishing anything.
  • The install journey's fixtures (tools/install/tests/journey/, spec 0.1.1 spec: No CloudRoom required #2216's).

Further Notes

Authority: Jake's go (J314), planned with the planner's ticket #2660. Merges wait for the 0.1.1 cut.

Sub-issues

Sub-issues

1 of 5 Issues completed
Loading 5 sub-issues

Activity

  1. added this to the 0.1.2 milestone on Nov 23, 2026
  2. jparker2006 commented on Nov 23, 2026

    @jparker2006
    MemberAuthor

    Plan graph, read back from GitHub (2026-11-23). It plans #2660. LA1 can start now. LA2 waits only for four 0.1.1 polish tickets that hold the installer files. LA3 builds and rehearses ARM on #2437's runner. LA4 makes every candidate carry ARM, after #2437's gate. LA5 updates the WizSkills install skill. Link check: pass spec #2665: tickets 5, links 11, real 5, file 6, unlabelled 0, refusals 0.

    flowchart LR
      T0["#35;2666 · S · LA1: release tools recognise an AArch64 program"]:::waiting
      T1["#35;2667 · S · LA2: the installer accepts Linux on ARM"]:::waiting
      T2["#35;2668 · M · LA3: Packages builds and rehearses ARM Linux"]:::waiting
      T3["#35;2670 · M · LA4: every candidate carries ARM Linux"]:::waiting
      T4["#35;2671 · S · LA5: the install skill says ARM Linux is supported"]:::waiting
      T5["#35;2441 · L · 0.1.2 CR1: Linux rehearsal in the Packages run"]:::building
      T6["#35;2451 · M · 0.1.2 CR3: a red or missing rehearsal blocks ship"]:::waiting
      T7["#35;2296 · S · 0.1.1 polish I: the installer"]:::building
      T8["#35;2553 · S · 0.1.1 polish S2340: install remove previews"]:::building
      T9["#35;2470 · S · 0.1.1 polish J2: installer journey fixture"]:::building
      T10["#35;2289 · S · 0.1.1 polish C: contract wording"]:::building
      T11["#35;2461 · S · 0.1.2 polish IN: install skill step 4"]:::building
      T0 -->|real: AArch64 identity check| T2
      B1["#93;"]:::bracket
      T1 --> B1
      B1 ---|real: Installer's ARM target| T2
      B1 ---|real: Installer's ARM target| T4
      T2 -->|real: ARM archive and receipt| T3
      T5 -->|real: Rehearsal runner and jobs| T2
      T6 -.->|file: tools/release/candidate.py| T3
      T7 -.->|file: tools/install/install| T1
      T8 -.->|file: tools/install/install| T1
      T9 -.->|file: tools/install/install.py| T1
      T10 -.->|file: contracts/install.v1.md| T1
      T11 -.->|file: skills/install/SKILL.md in WizSkills| T4
      classDef merged fill:#dcfce7,stroke:#15803d,color:#111827
      classDef building fill:#dbeafe,stroke:#1d4ed8,color:#111827
      classDef waiting fill:#f3f4f6,stroke:#6b7280,color:#111827
      classDef jake fill:#f3e8ff,stroke:#7e22ce,color:#111827
      classDef bracket fill:transparent,stroke:transparent,font-weight:bold
      linkStyle 0,4 stroke-width:4px
    
    Loading

    Longest chain: 2 links (#2666 → #2668 → #2670).
    Can start at approval: 2 of 5.

  3. jparker2006 commented on Nov 23, 2026

    @jparker2006
    MemberAuthor

    Machine plan approval, 2026-11-23, revision 1: links, relies, sizes, width and owned paths passed.
    Grill confirmed: https://github.com/jparker2006/ClosedWiz/issues/3065#issuecomment-7087025217

    Checks: 5 tickets; links 11; relies 5; sizes S 3, M 2, L 0; width: chain 4, widest 2; owned paths 5.

    Ticket Title Blocked by Label
    #2666 0.1.2 LA1: the release tools recognise an AArch64 Linux program none ready-for-agent
    #2667 0.1.2 LA2: the installer accepts Linux on ARM (aarch64-unknown-linux-gnu) #2289 #2296 #2470 #2553 ready-for-agent
    #2668 0.1.2 LA3: the Packages run builds and rehearses the ARM Linux target #2441 #2666 #2667 ready-for-agent
    #2670 0.1.2 LA4: every release candidate carries the ARM Linux target #2451 #2668 ready-for-agent
    #2671 0.1.2 LA5: the install skill says Linux on ARM is supported #2461 #2667 ready-for-agent

    Fingerprint: 92af516ff8cd177604d1effbb10744fc5c3c812fe9613c99e2eaa8f61539b51f

    Revision text
    plan-graph revision v2
    spec #2665 body sha256 3027b6191048d8911fac6efa1c484199ae97ec39831b8342669005e7aef8dff9
    ticket #2666 blocked-by none body sha256 91b468bad54140fa231933e5f361bfc0b32c90f32ce7393ac65a7ea7ac013266 title 0.1.2 LA1: the release tools recognise an AArch64 Linux program
    ticket #2667 blocked-by #2289 #2296 #2470 #2553 body sha256 4b581c43762b999f7b57b3539d2ed750705101b1b4fdb59ef13d4755346e9d10 title 0.1.2 LA2: the installer accepts Linux on ARM (aarch64-unknown-linux-gnu)
    ticket #2668 blocked-by #2441 #2666 #2667 body sha256 6f30395192a2af2b6bb86d4b2534031806afb8a385bc8e913f6c52b9274f7f4b title 0.1.2 LA3: the Packages run builds and rehearses the ARM Linux target
    ticket #2670 blocked-by #2451 #2668 body sha256 1e6f7192c3bb2e914bb1b19ba62e7823e4133e1ae7b70235b24a570d6b3a880a title 0.1.2 LA4: every release candidate carries the ARM Linux target
    ticket #2671 blocked-by #2461 #2667 body sha256 95ecd7bc85057c99c8e6083ebad0b0c45d476a1ecb3e2b82d4dafb449fdf763d title 0.1.2 LA5: the install skill says Linux on ARM is supported
    
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

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions