Repository navigation
CI: caches only on main, smoke on debug builds; releases save no cache, Windows builds each architecture on its own runner - #297
Merged
Conversation
…lds each architecture on its own runner - ci.yml: `rust-cache` saves only on pushes to main. A PR can read its own caches, its base branch's and the default branch's, never another PR's, so a cache saved on a PR served only a later push to that same PR while taking as much of the 10 GB quota as main's and pushing main's out. - release.yml: no cache is saved. A tag run's cache is filed under that tag and no later tag can read it; v0.64.0 and v0.64.1 left about 1.5 GB each. - release.yml: the Windows job becomes a matrix, x64 on windows-latest and arm64 natively on windows-11-arm, in parallel. It built both in a row and took about twice as long as any other platform, holding up the release; the arm64 binary is now also run, not only checked by its PE header. - ci.yml: the Windows start-up check uses a debug build: it proves the binary starts and answers only after the handshake, which does not depend on the optimisation level, and the release build added about four minutes to the slowest job. The macOS and Linux smoke runs keep the release build, since their memory and latency targets only hold for it (a debug build sits at about 55 MB against the 30 MB target). Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Contributor
Author
|
Release rehearsal on this branch: https://github.com/ThinkWatchProject/ThinkWatch-Core/actions/runs/37721062709 |
…instead of a 30 MB target The macOS and Linux smoke runs built the release binary only so the memory figure would sit under 30 MB, which cost three to four minutes per platform on every PR. The memory check now only catches runaway growth (a leak, a request history read into memory): a debug build after a round of requests sits at about 55 MB, the ceiling is 150 MB. The warning tier that existed only for that figure goes too. The released binary is still run by release.yml. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…ts a job like Linux and Windows `check` ran on macOS and held format, the sandbox guest's clippy, the TypeScript export and the macOS clippy, tests and smoke in one job, so the platform-independent steps took a macOS runner and lengthened the slowest job. `check` now runs those steps on ubuntu-22.04, with the release page text check moved in from `linux`; the new `macos` job runs clippy, tests and smoke like the other two platforms. 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.
CI saves caches only on main, releases save none, Windows release builds each architecture on its own runner
rust-cachesaves only on pushes to main. A PR can read its owncaches, its base branch's and the default branch's, never another PR's, so
a cache saved on a PR served only a later push to that same PR while taking
as much of the 10 GB quota as main's and pushing main's out.
and no later tag can read it; v0.64.0 and v0.64.1 left about 1.5 GB each.
arm64 natively on windows-11-arm, in parallel. It built both in a row and
took about twice as long as any other platform, holding up the release; the
arm64 binary is now also run, not only checked by its PE header.
starts and answers only after the handshake, which does not depend on the
optimisation level, and the release build added about four minutes to the
slowest job. The macOS and Linux smoke runs keep the release build, since
their memory and latency targets only hold for it (a debug build sits at
about 55 MB against the 30 MB target).
Smoke runs on a debug build everywhere, with a 150 MB memory ceiling instead of a 30 MB target
The macOS and Linux smoke runs built the release binary only so the memory
figure would sit under 30 MB, which cost three to four minutes per platform on
every PR. The memory check now only catches runaway growth (a leak, a request
history read into memory): a debug build after a round of requests sits at
about 55 MB, the ceiling is 150 MB. The warning tier that existed only for
that figure goes too. The released binary is still run by release.yml.
CI: the platform-independent checks get their own Linux job, macOS gets a job like Linux and Windows
checkran on macOS and held format, the sandbox guest's clippy, theTypeScript export and the macOS clippy, tests and smoke in one job, so the
platform-independent steps took a macOS runner and lengthened the slowest
job.
checknow runs those steps on ubuntu-22.04, with the release page textcheck moved in from
linux; the newmacosjob runs clippy, tests and smokelike the other two platforms.
Release rehearsal on this branch: https://github.com/ThinkWatchProject/ThinkWatch-Core/actions/runs/37721062709
🤖 Generated with Claude Code