Repository navigation
ci(release-test): make the AUR from-source smoke test fit its timeout - #1682
Merged
Merged
Conversation
The unmodified PKGBUILD build (codegen-units=1 over the whole workspace) plus its check() (full release-mode test suite) exceeds 90 minutes on a 2-core runner — the job timed out on the v0.18.0/v0.19.0 channel runs at 45m and on the v0.19.0 rerun at 90m (#1681's bump was insufficient). CI-only relaxations, mirroring the Nix doCheck=false fix (#1661): - yay --mflags --nocheck skips check(): the test suite runs in repo CI on every PR; this smoke test verifies the source package builds and runs. - CARGO_PROFILE_RELEASE_CODEGEN_UNITS=16 parallelizes codegen (thin LTO kept). Real AUR users still build with the PKGBUILD's full settings. Co-Authored-By: Claude Opus 4.8 <[email protected]>
Contributor
There was a problem hiding this comment.
Pull request overview
Adjusts the Arch/AUR “from source” release-channel smoke test so it reliably completes within the existing 90-minute timeout by skipping the PKGBUILD check() phase and allowing parallel release codegen in CI. This aligns the job’s intent (verify the package builds and the binary runs) with how other release-channel checks already treat tests (run in repo CI, not in packaging smoke tests).
Changes:
- Keep the job timeout at 90 minutes, but clarify it’s now a safety margin rather than a required baseline.
- Install via
yayusing--mflags "--nocheck"to skipcheck()(release-mode full test suite). - Set
CARGO_PROFILE_RELEASE_CODEGEN_UNITS=16for CI to avoidcodegen-units=1workspace-wide bottleneck during the packaging build.
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
Codecov Report✅ All modified and coverable lines are covered by tests. 📢 Thoughts on this report? Let us know! |
Contributor
✅ Compatibility Test Results
What's tested
Full results available in workflow artifacts |
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.
Closes out the last non-green channel job. The v0.19.0 rerun proved #1681's timeout bump insufficient — the job also died at 90m. Root cause isn't the timeout: the unmodified PKGBUILD build is
codegen-units=1over the whole workspace, and itscheck()then runs the entire release-mode test suite — >90 min total on a 2-core runner.CI-only relaxations (real AUR users keep the PKGBUILD's full settings), mirroring the Nix
doCheck = falsefix (#1661):yay --mflags --nocheck— skipcheck(); the test suite runs in repo CI on every PR. This smoke test verifies the source package builds and runs.CARGO_PROFILE_RELEASE_CODEGEN_UNITS=16— parallel codegen (profilereleasekeeps its thin LTO).The 90m timeout stays as safety margin. Verifiable on the next release's channel run (or a manual
Release Channel Testingdispatch for 0.19.0 after merge).🤖 Generated with Claude Code