Repository navigation
ci: separate the ARM64 packaging cache; nightly report waits for ci.yml; docs - #1427
Merged
Merged
Conversation
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>
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>
#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>
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>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Follow-ups from the 11-02 CI audit. This needs to merge before today's scheduled
ci.ymlrun, which GitHub has been starting between 10:26 and 11:21Z.ci-v1-agent-package-ARM64-Windows-…).ci-v1-agent-package-Windows-ARM64-…gets saved before this merges, delete it withgh cache delete.ci.yml.ci.ymlfinished and said "still in_progress".ci.ymlrun finishes, with a 60 s timeout on each API call. Then it decides as before.ci.ymlstep names;ci:packageincludes the ARM64 installer;agent-macosoragent-test;windows-11-armrunner andci-v1-agent-arm64-release-are listed.Expect after merge: one comment line in
agent-desktop-build.ymlchanges, so the merge starts a normal signed Agent Prod build. It is not published. The nightly report's wait is first exercised by tonight's nightly.Local checks pass:
plan.py lint, and the scripts/ci suite (542) via the root flake checks, plus the release gates and actionlint.🤖 Generated with Claude Code
Need help on this PR? Tag
@codesmith-botwith what you need.