Repository navigation
ci: Windows burn-down - #1335
Merged
Merged
Conversation
- agent-windows (Windows Clippy, Blacksmith) runs on every Agent PR; the Windows app typecheck script, which Clippy covers, is gone. - agent-windows-updater is a plain windows-matrix lane: `cargo test -p maple-agent-updater --locked` on maple-windows-2025-16core with its own rust-cache, for updater paths, the Windows bootstrap and the Windows toolchain, on PRs, nightly and by label. The bespoke harness, its receipts artifact, the hand-copied test-name list and its text test are deleted. - agent-full-windows runs nightly and by label (ci:windows, ci:full) on the free windows-2025 (GITHUB_WINDOWS_FREE); the nightly run saves its cache. - research-desktop-windows moves to maple-windows-2025-16core, drops ci:windows, and verifies its own proofs in the build job, replacing research-desktop-windows-verify. - Policy: GITHUB_HOSTED names the exact larger-runner label; a test pins the workflows that run on pull requests; AGENTS.md forbids skip-CI titles, script- or YAML-text tests and hand-copied test lists. - CI_QUARANTINE (repository variable): quarantined lanes still run and show their result, but ci-ok reports their failure as a warning. Unknown ids fail the plan; the nightly report lists active quarantines. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Owner-approved changes to the Windows producer and release workflows. The Prod job names, artifact names and ci_evidence jobs are unchanged. - agent-desktop-build.yml: the Dev Windows chain (build, sign, verify) runs only on a manual dispatch; master pushes build, sign and verify Prod as before, including the install, repeat-install and uninstall smoke. The build drops two in-chain duplicates: the PE-metadata fixture (the same job then checks the real binary's .maple section) and the Git Bash check (the setup action already needs Git Bash). The restrictive-job host-spawn test stays: nothing else in the chain checks it. - desktop-build.yml build-windows goes back to the free windows-2025, and the Research Windows sccache is gone from it and from release.yml (the C:\a vs D:\a key never hit). release.yml build-windows stays on the 16-core runner. - install-windows-artifact-signing.ps1 retries the PowerShell Gallery and its CDN, four rounds with backoff, and accepts only the same pinned SHA-256. Both Research build-windows jobs install it before compiling. - install-windows-minisign.ps1 is deleted. It only re-verified the fresh updater signature, which the Linux verifiers and latest-json.sh check before any latest.json names it. - test_contracts.py evaluates the variant matrix per event, so C2 now fails if a push stops building a Prod job; the Windows sccache prefix is dropped. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
- agent-desktop-build.yml windows-build keeps the PE-metadata fixture: its hermetic parser tests run nowhere else in the publisher's chain. - research-desktop-windows also selects the verifier and _common.sh, which only it runs in Git Bash. - CI_QUARANTINE refuses repo, the lane that enforces the contracts. - The GitHub-store writer policy uses lanes.cache_store, so a future larger runner cannot save there unlisted. - A green night with only quarantines reads as passed. - Docs: runner wording, the fail-fast covers the module download only. - Updater test comments no longer cite the deleted harness. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
AnthonyRonning
force-pushed
the
ci/windows-burndown
branch
from
October 28, 2026 00:24
a42138e to
8356928
Compare
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.
This PR applies the owner-approved items 1–10 from the 2026-10-27 Windows CI audit. The diff is 27 files, +381/−845, with four scripts deleted. Per the audit's estimate, each Agent master push saves about 100 runner-minutes (roughly $6–8). Agent PRs also get Windows compile coverage on every change.
Cut
windows-app-typecheck.ps1(63 lines). Itscargo check -p maple-agent-app --all-targetsis a subset of Windows Clippy (--workspace --all-targets). It cost 10–12 min on 59% of Agent PRs (11.3 of the lane's 12.4 min). In three days it caught nothing that Clippy or the Linux and macOS lanes missed.windows-updater-tests.ps1(194 lines),test_windows_updater_workflow.py(196 lines), the receipts artifact and the hand-copied 66-name test list.cargo test -p maple-agent-updater --locked, which runs every test that list named.install-windows-minisign.ps1(51 lines). The same updater.sigis still checked with the pinned minisign by:verify-windows-desktop-artifacts(master, ci_evidence);verify-windows-desktop-release-artifacts(gateslatest.json);latest-json.sh.C:\avsD:\a. It held 777 MB. Contract C4 dropsWindows-sccache-in lockstep.workflow_dispatchonly.research-desktop-windows-verifyis folded intoresearch-desktop-windows: same verifier, same checks, one job fewer.windows-build. Nothing in the chain launches bash from Python.Moved
agent-windows(Clippy, Blacksmith)agent-windows-updaterwindows_bootstrap.rsand Windows toolchain paths (12% of Agent PRs), plus nightly andci:windows/ci:full. Matrix lane onmaple-windows-2025-16corewith rust-cache. The tests themselves take about 41 sagent-full-windowsci:windows/ci:full, on the freewindows-2025research-desktop-windowsci:windows/ci:package/ci:fullmaple-windows-2025-16core, about 13 min (estimate);ci:package/ci:fullplus its own pathsbuild-windows(signed Research, master)maple-windows-2025-16core(23.3 min)windows-2025(44.6 min measured on 4-core), saving about $270/month. The release preflight still needs it green on the release commitbuild-windowsmaple-windows-2025-16coreFixed
https://cdn.powershellgallery.com/packages/artifactsigning.0.1.8.nupkg. It keeps the same pinned 0.1.8, checks the same SHA-256 after every download, and throws naming both URLs.build-windowsnow install the module before the compile.What stays
Build Windows binary (prod),Signed Windows (prod), andVerify downloaded Windows (prod)with its fresh install, repeat install and uninstall smoke.maple-agent-prod-windows-x86_64-RUNis unchanged.publisher.pyandci_evidence.pyare unchanged.windows-buildkeeps the PE-metadata parser fixture and the restricted-job host-spawn test, which nothing else in the chain re-runs. It stays onmaple-windows-2025-16core.Guardrails
pull_request/merge_group.maple-windows-2025-16core.[skip ci]/[ci skip];lanes.py.Quarantine switch
Set the repository variable
CI_QUARANTINE(Settings → Secrets and variables → Actions → Variables) to comma-separated lane ids, for exampleagent-windows-updater. No PR is needed.ci-okturns its failure into a::warning::naming the lane. In thenix/windowsmatrices, it reads the run's job results so a failing neighbour still blocks.plan. So doesrepo, which enforces the workflow policy and the release contracts.ci-nightlyissue stays open until the variable is cleared.Accepted residuals
Cargo.lockor workspaceCargo.tomlbump no longer selects them on a PR, although Windows Clippy still compiles everything.native_reparse_fixtures_are_availablestill fails without the symlink privilege.cargo testfails fast: a lib failure skips the bootstrap test binary.--test-threads=1, and this PR's run is their first parallel run on 16 cores.powershell.execarries a valid Microsoft signature is gone. The Authenticode test comments now say what is still checked..sigwould be attached to a GitHub Release beforeverify-windows-desktop-release-artifactsfails.latest.jsonstays blocked, and desktop-build's verify job catches the same key drift on every Research master push.Not in this PR
agent-windows-signature-probe.ymlandwindows_signature_reference.py. This waits for the Windows owner's historical-signature fixture test.signing-credentials-check.yml, the dead secrets and the settings clicks.ci-ok.Owner follow-ups
ci-okin its own ruleset, with no bypass. It would have blocked PR #1330 (third-party notice removal) and PR #1322 (Windows installer permissions, merged with[skip ci]).CI_QUARANTINEonly for known master breakage, and clear it when the lane is fixed.signing-credentials-check.ymland the dead secrets.windows-buildrunner (Blacksmith or 16-core) after warm measurements. The audit's default is Blacksmith unless warm 16-core is at least 25% faster.What this PR's run proves
This PR carries the labels
ci:windowsandci:package.agent-windows: Clippy on Blacksmith.agent-windows-updater: the Authenticode comment edit is in the updater crate, so this is the first parallel run on 16-core. Expect 88 lib + 5windows_bootstrap_nativetests passed, 0 ignored.research-desktop-windows: on 16-core, with its in-job verify.repo: actionlint, policy, contracts C1–C7, release gates and publisher tests.ci:windowsaddsagent-full-windowson the freewindows-2025, about 47 min uncached.ci:packageaddsagent-package-windowsand the Research desktop packages.agent-desktop-build.ymldispatch;build-windowsonwindows-2025without sccache, on the next Research master push;build-windowswithout sccache or minisign, on the next release;Locally, all of these pass:
plan.py lint;test_ci_evidence.py(21);test-release-gates.sh(31/31);nix flake check --no-update-lock-file.🤖 Generated with Claude Code
Need help on this PR? Tag
@codesmith-botwith what you need.