Skip to content

0.1.2 LA2: the installer accepts Linux on ARM (aarch64-unknown-linux-gnu) #2667

In review

Description

@jparker2006

Parent

Ticket LA2 of spec #2665 (0.1.2), the installer accepts ARM Linux. Size: S.

What to build

The installer and its contract accept aarch64-unknown-linux-gnu, as spec #2665 fixes it:

  • tools/install/install: HOSTS maps ('Linux', 'aarch64') to the new target. Other ARM forms stay refused.
  • tools/install/install.py: TARGETS adds it. build_products.py and package.py read it from there unchanged.
  • contracts/install.v1.md and contracts/install.v1.schema.json name it as a supported target, with the same glibc 2.34 rule as x86_64 Linux.

Owned paths

  • tools/install/install (only the HOSTS map)
  • tools/install/install.py (only TARGETS)
  • tools/install/test_install.py (only new tests)
  • contracts/install.v1.md (only the supported-targets sentence)
  • contracts/install.v1.schema.json (only the target enum)
  • changes/2667.md

Relies on: nothing

Links

Acceptance criteria

  • Preflight on a faked ('Linux', 'aarch64') host prints the new target, and 32-bit ARM is still refused; red first
  • install --assets installs and verifies a synthetic ARM release, and refuses an ARM archive offered for x86_64
  • Every existing installer test passes unchanged

Proof

P2 (installer): the installer tests, red first.

Activity

  1. added this to the 0.1.2 milestone on Nov 23, 2026
  2. added
    ready-for-agent
    on Nov 23, 2026
  3. jparker2006 commented on Nov 24, 2026

    @jparker2006
    MemberAuthor

    launch-fleet: started
    routed: neon

    Hand-recorded by the planner: Gemini 4 Neon Medium builder (moved over from #3161, a duplicate of this spec). Checks read before the start: open, ready-for-agent, blockers closed, owned paths named, no claim, branch or pull request.

  4. jparker2006 commented on Nov 24, 2026

    @jparker2006
    MemberAuthor

    Builder question: requesting an F4 supporting edit granted for tools/install/tests/installer/test_installer.py on #2667.

    What I found

    All edits inside #2667's owned paths (tools/install/install, tools/install/install.py, tools/install/test_install.py, contracts/install.v1.md, contracts/install.v1.schema.json, changes/2667.md) plus docs/evidence/2667/red.log are committed on branch builder/2667-la2-aarch64-installer (d59cfaec) and pass tools/owned-paths/check.py --ticket 2667, test_install.py (Install, HarnessSkills, LinuxArm), test_pull.py, test_baseline.py, test_candidate.py, test_contract.py, test_init.py, test_github_login.py, and test_rehearse.py.

    However, tools/install/tests/skills-linked-config/test_linked_config.py (run in CI under The installer) imports Preflight from tools/install/tests/installer/test_installer.py (and runs installer/test_installer.py via test_skills.py). Lines 263–264 of tools/install/tests/installer/test_installer.py currently assert the old behaviour that ('Linux', 'aarch64') is refused with exit 5, so CI will fail until that case is updated.

    Exact path, purpose, and proposed complete diff

    • Path: tools/install/tests/installer/test_installer.py
    • Purpose / acceptance claim: update the single preflight test case that previously asserted ('Linux', 'aarch64') is refused, so it asserts ('Linux', 'aarch64') succeeds with aarch64-unknown-linux-gnu and ('Linux', 'armv7l') stays refused (matching #2667's HOSTS change and acceptance criterion 1).
    --- a/tools/install/tests/installer/test_installer.py
    +++ b/tools/install/tests/installer/test_installer.py
    @@ -260,7 +260,9 @@ class Preflight(Installer):
                       [python, mac, disk, missing] + found[1:], ''),
                      (('Linux', 'x86_64'), ('room-cli', 'gh', 'git', 'ldd'), 0, 'x86_64-unknown-linux-gnu',
                       [python] + linux + found, ', running only ldd --version'),
    -                 (('Linux', 'aarch64'), ('room-cli', 'gh', 'git', 'ldd'), 5, None,
    +                 (('Linux', 'aarch64'), ('room-cli', 'gh', 'git', 'ldd'), 0, 'aarch64-unknown-linux-gnu',
    +                  [python] + linux + found, ', running only ldd --version'),
    +                 (('Linux', 'armv7l'), ('room-cli', 'gh', 'git', 'ldd'), 5, None,
                       [python, refused] + linux[1:] + found, ', running only ldd --version'))
             for host, tools, code, target, checks, ldd in cases:
                 with self.subTest(host=host, tools=tools):

    Recommendation

    Please post F4 supporting edit granted for `tools/install/tests/installer/test_installer.py` so I can apply that 3-line diff, verify test_linked_config.py passes, open the PR, and hand back with green CI.

  5. added
    needs-info
    on Nov 24, 2026
  6. jparker2006 commented on Nov 24, 2026

    @jparker2006
    MemberAuthor

    F4 supporting edit granted (planner), for #2667:

    tools/install/tests/installer/test_installer.py

    Scope: only the assertion at line 263 that ("Linux", "aarch64") exits 5 (refused): change it to the accepted result, exactly the three-line diff in the builder question above. Every other case stays as it is.

  7. removed
    needs-info
    on Nov 24, 2026
  8. jparker2006 commented on Nov 24, 2026

    @jparker2006
    MemberAuthor

    launch-fleet: look: no builder thread is recorded for this ticket, so its work can't be routed. #3161 notes #3210 and #3212 merged the aarch64 Linux change, so this ticket may be ready to close.

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

    ready-for-agent

    Type

    No type

    Projects

    No projects

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions