Skip to content

ci(release-test): make the AUR from-source smoke test fit its timeout - #1682

Merged
robcohen merged 1 commit into
mainfrom
fix/aur-source-smoke-profile
Jul 2, 2026
Merged

robcohen merged 1 commit into
mainfrom
fix/aur-source-smoke-profile

Conversation

@robcohen

@robcohen robcohen commented Jul 2, 2026

Copy link
Copy Markdown
Member

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=1 over the whole workspace, and its check() 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 = false fix (#1661):

  • yay --mflags --nocheck — skip 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 — parallel codegen (profile release keeps its thin LTO).

The 90m timeout stays as safety margin. Verifiable on the next release's channel run (or a manual Release Channel Testing dispatch for 0.19.0 after merge).

🤖 Generated with Claude Code

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]>
@robcohen
robcohen requested a review from a team as a code owner July 2, 2026 02:52
Copilot AI review requested due to automatic review settings July 2, 2026 02:52
@robcohen
robcohen merged commit 3a52964 into main Jul 2, 2026
34 checks passed
@robcohen
robcohen deleted the fix/aur-source-smoke-profile branch July 2, 2026 02:52

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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 yay using --mflags "--nocheck" to skip check() (release-mode full test suite).
  • Set CARGO_PROFILE_RELEASE_CODEGEN_UNITS=16 for CI to avoid codegen-units=1 workspace-wide bottleneck during the packaging build.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@codecov

codecov Bot commented Jul 2, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.

📢 Thoughts on this report? Let us know!

@github-actions

github-actions Bot commented Jul 2, 2026

Copy link
Copy Markdown
Contributor

✅ Compatibility Test Results

Metric Result
Check Compatibility 100%
BQL Compatibility 100%
Full AST Match 100%
Total Files 792
What's tested
  • Check: Exit codes and error counts match bean-check
  • BQL: Query results match bean-query
  • Files: ~800 test files downloaded from 10+ beancount repositories

Full results available in workflow artifacts

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.

2 participants