Skip to content

Agent: add native Windows ARM64 builds and updates - #1401

Merged
AnthonyRonning merged 8 commits into
masterfrom
codex-winarm-maple
Oct 31, 2026
Merged

AnthonyRonning merged 8 commits into
masterfrom
codex-winarm-maple

Conversation

@AnthonyRonning

@AnthonyRonning AnthonyRonning commented Oct 31, 2026 •

Copy link
Copy Markdown
Contributor

Windows ARM64 PCs currently stop at Maple’s x64-only installer check. This adds native ARM64 application, launcher and updater builds alongside the existing x64 packages, using the same Maple version and profiles. NSIS setup and uninstall may use Windows’ x86 emulation.

  • Build ARM64 on a native Windows ARM runner and verify installation on a separate credential-free native runner. PE checks require the selected architecture and reject ARM64EC, mixed architecture and emulated x64 proof. Existing x64 job/artifact names remain compatible.
  • Add a separate signed v4 ARM64 feed, immutable manifest and manual download alias. Existing macOS v1, Linux v2 and Windows x64 v3 formats and URLs retain their strict contracts.
  • Extend the existing publisher and reusable operator to four platforms, including first-ARM publication from an accepted three-platform predecessor. Preserve exact artifact attestations, primary signatures, per-object ETags, bounded reads and the existing reserve/sign/publish approvals. No new credentials or infrastructure.
  • Keep installation smoke coverage for exact installed payload identity, signatures, native architecture, CLI, signed-out ACP, GUI, repeat installation, interactive auto-launch, persistent icons and host stop. At the requester’s direction, remove product-uninstaller execution, auxiliary uninstaller fixtures and their diagnostic experiments. Cleanup only removes this smoke’s validated registration/shortcuts and private scratch. The product uninstaller implementation is unchanged; uninstall is no longer qualified by this smoke.

Validation for the final scope: focused pinned packaging/PE/spawn tests passed (112 cases, two existing platform skips); root just lane repo passed on the final scope (including 556 CI contract cases, two existing skips, and 275 publisher/operator cases). The final removal commit does not repeat the full Rust pre-commit hook, as requested to stop the prolonged validation loop. Earlier full Agent just ci, normal hooks, publisher/operator tests (275), Worker tests (55), TypeScript/formatting and a local Worker dry-run passed; these are earlier-source evidence, not final-head signed release proof.

Earlier native ARM runs passed 109 updater tests, native release compilation, AA64 PE/profile/system-DLL checks, packaging and installed payload verification, then failed while disposing of the auxiliary uninstaller. Existing x64 installer smoke and full parallel Windows tests also passed earlier. Those failed/cancelled runs and raw logs remain preserved. The auxiliary uninstall gate and optional ci:package / ci:windows labels are removed at the requester’s direction; final required ci-ok passed for ff7011cc85ca8f2f28bb08f72ee7660f1e3cc94d in run 41250895274, including Windows updater tests and Windows lint. Optional packaging lanes were skipped on this run. Native ARM full packaging and signed version-to-version upgrading remain unqualified.

This PR does not bump the app version, merge, sign, publish or deploy anything. ARM64 Worker routes require the normal authorized deployment before a release uses them. This work is separate from the still-unreproduced Windows 10 customer ACL issue.

@AnthonyRonning AnthonyRonning added ci:windows Run Windows checks on this PR ci:package Build unsigned packages on this PR labels Oct 31, 2026
@AnthonyRonning AnthonyRonning removed the ci:package Build unsigned packages on this PR label Oct 31, 2026
@AnthonyRonning AnthonyRonning added the ci:package Build unsigned packages on this PR label Oct 31, 2026
@AnthonyRonning AnthonyRonning removed ci:windows Run Windows checks on this PR ci:package Build unsigned packages on this PR labels Oct 31, 2026
@AnthonyRonning
AnthonyRonning marked this pull request as ready for review October 31, 2026 23:24
@AnthonyRonning
AnthonyRonning merged commit ab830a2 into master Oct 31, 2026
39 checks passed
@AnthonyRonning
AnthonyRonning deleted the codex-winarm-maple branch October 31, 2026 23:24
AnthonyRonning added a commit that referenced this pull request Oct 31, 2026
Run Linux AppImage payloads on the host glibc to avoid bundled libc/libm conflicting with newer Mesa/LLVM graphics drivers. Keep the legacy updater launch path compatible and audit the payload interpreter, dependencies and minimum glibc.

Required CI and Linux packaging passed at 4fb415a. Fixes #1166.

Integrated #1401 at ab59d1f while preserving both Linux host-glibc linking and Windows ARM target selection. Focused packaging tests and repository checks passed. Fresh integration CI was not awaited under the requester's explicit bypass authorization.
AnthonyRonning added a commit that referenced this pull request Nov 2, 2026
…ml; docs (#1427)

* ci: give the ARM64 packaging rehearsal its own cache family

The x64 Windows rehearsal restores by the prefix
`ci-v1-agent-package-Windows-`, which also matched the ARM64 lane's
`ci-v1-agent-package-Windows-ARM64-<hash>` keys (same paths, same store),
so once the nightly run saved an ARM64 entry the x64 rehearsal could
restore ARM64 objects. The ARM64 family is now
`ci-v1-agent-package-ARM64-Windows-`; no ARM64 entry has been saved yet,
and the x64 keys are unchanged, so nothing goes cold.

C4 now checks behaviour instead of only pinning the text: with each job's
runner.os filled in, no Agent packaging family's key or restore prefix can
match another cache's keys, and no other cache's prefix can match a
packaging key. It fails on the old ARM64 key in both directions.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

* ci: the nightly report waits for ci.yml's scheduled run

GitHub creates the scheduled runs 5-6.5 hours after their cron times, and
nightly.yml's Report job starts only about an hour after ci.yml's run
does, while that run takes 35-60 minutes. On 2026-10-30 the report ran at
11:49:49, ci.yml's run finished at 11:52:23, and the ci-nightly issue said
"still in_progress".

The Report job now polls the API (the token's existing actions: read) once
a minute until today's scheduled ci.yml run has finished, for at most
CI_WAIT_MINUTES (120 on schedule, 0 for dispatched dry runs), then decides
as before; a run still missing or unfinished after the wait is reported as
it was. API errors while waiting are retried. Its timeout grows to 135
minutes. No trigger, required check or permission changes.

The cron comments and the docs no longer present cron times as start
times or rely on one schedule starting before another.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

* ci: describe what the packaging rehearsals and nightly builds do now

#1420 removed the verification and smoke steps from `just
package-rehearsal` and the Agent's post-build verify jobs, and #1401
added the native ARM64 lane, but some names and docs still said
otherwise:

- the Linux and macOS rehearsal step names no longer claim to verify and
  smoke-test;
- docs/ci.md: the Dev nightly builds and signs (no verify), for every
  platform including Windows ARM64; ci:package includes the ARM64
  installer (the skill's label table too);
- lanes.py: the 16-core GitHub Windows runner now serves only packaging,
  and the free runner the updater suites;
- the skill: the Agent PR long pole is agent-macos or agent-test (28 Agent
  PR runs since 10-29: agent-macos 11, agent-test 11, agent-windows 3),
  the ARM64 runner constant and its release cache.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

* ci: bound the nightly report's API calls and close review gaps

The Report job now waits up to two hours, so a hung `gh api` call could
hold it until its 135-minute timeout and leave the night unreported. Every
call now times out after 60 seconds, and a timed-out poll is retried like
a failed one.

Tests now cover what the review found untested: a red or cancelled ci.yml
run ends the wait at once; CI_WAIT_MINUTES is read as minutes (the 10-30
replay needs three polls, more than 120 seconds allows); nightly.yml's
Report job outlasts its longest wait, and a dispatched dry run does not
wait; and every API call carries a timeout.

Docs: the Agent Dev nightly signs only the macOS and Windows packages (the
Linux bundle is attested only when published); GitHub has started the
scheduled runs 5-7 hours late; and `ci-v1-agent-arm64-release-` joins the
release-reserved prefixes ci.yml must never write.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

---------

Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant