Skip to content

feat(ci): run aztec-cli acceptance test on macOS#23309

Merged
vezenovm merged 2 commits into
merge-train/fairiesfrom
nchamo/f-566-explore-macos-ci-coverage-for-the-full-dev-onboarding-path
May 19, 2026
Merged

feat(ci): run aztec-cli acceptance test on macOS#23309
vezenovm merged 2 commits into
merge-train/fairiesfrom
nchamo/f-566-explore-macos-ci-coverage-for-the-full-dev-onboarding-path

Conversation

@nchamo
Copy link
Copy Markdown
Contributor

@nchamo nchamo commented May 15, 2026

Summary

  • Adds macos-latest to the aztec-cli-acceptance-test workflow via strategy.matrix so the full dev onboarding test runs on both Ubuntu and macOS in parallel, with fail-fast: false so one OS failure doesn't cancel the other.
  • Splits Slack notifications into a downstream notify job (needs: release-acceptance + always()) so a single consolidated message fires after both matrix entries finish.
  • Moves all Node setup into run-test.sh: it now installs NVM if missing and nvm install --lts unconditionally, then aztec-up's install_node can upgrade further via the same NVM if needed. This makes the runner self-contained and unblocks macOS, where the GitHub Actions image ships without NVM (the previous setup-node step put Node 22 in PATH but left aztec-up with no way to satisfy its >=24.12.0 requirement).

Fixes F-566

@nchamo nchamo requested a review from charlielye as a code owner May 15, 2026 11:08
@nchamo nchamo self-assigned this May 15, 2026
@nchamo nchamo changed the title ci: run aztec-cli acceptance test on macOS feat(ci): run aztec-cli acceptance test on macOS May 15, 2026
with:
ref: ${{ github.event.workflow_run.head_sha || github.sha }}

# Node is only used to run the .ts harness in run-test.sh, which needs >=22.18 for TS
Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

We are now handling this in run-test.sh

Comment on lines +30 to 35
# Install latest LTS node, since we need it to run the acceptance test correctly
export NVM_DIR="$HOME/.nvm"
set +eu; . "$NVM_DIR/nvm.sh"; set -eu
echo ">>> Installing latest LTS Node via NVM"
nvm install --lts
echo ">>> Installing aztec ${VERSION}"
Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

We always install LTS node, so we can make sure we can run the test properly

@nchamo nchamo force-pushed the nchamo/f-566-explore-macos-ci-coverage-for-the-full-dev-onboarding-path branch from 57583e4 to 9b5a202 Compare May 15, 2026 11:45
@nchamo nchamo requested a review from vezenovm May 19, 2026 08:01
@vezenovm vezenovm merged commit 3607ee6 into merge-train/fairies May 19, 2026
26 of 34 checks passed
@vezenovm vezenovm deleted the nchamo/f-566-explore-macos-ci-coverage-for-the-full-dev-onboarding-path branch May 19, 2026 08:41
AztecBot pushed a commit that referenced this pull request May 21, 2026
## Summary

- Adds `macos-latest` to the `aztec-cli-acceptance-test` workflow via
`strategy.matrix` so the full dev onboarding test runs on both Ubuntu
and macOS in parallel, with `fail-fast: false` so one OS failure doesn't
cancel the other.
- Splits Slack notifications into a downstream `notify` job (`needs:
release-acceptance` + `always()`) so a single consolidated message fires
after both matrix entries finish.
- Moves all Node setup into `run-test.sh`: it now installs NVM if
missing and `nvm install --lts` unconditionally, then `aztec-up`'s
`install_node` can upgrade further via the same NVM if needed. This
makes the runner self-contained and unblocks macOS, where the GitHub
Actions image ships without NVM (the previous `setup-node` step put Node
22 in PATH but left `aztec-up` with no way to satisfy its `>=24.12.0`
requirement).

Fixes F-566
@AztecBot
Copy link
Copy Markdown
Collaborator

✅ Successfully backported to backport-to-v4-next-staging #23449.

AztecBot added a commit that referenced this pull request May 22, 2026
BEGIN_COMMIT_OVERRIDE
feat(ci): run aztec-cli acceptance test on macOS (#23309)
docs(operators): expand ATP and ATV on first use in
registering-sequencer (#23254)
END_COMMIT_OVERRIDE
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants