Skip to content

feat: check noir release has nargo binaries before releasing#22551

Merged
benesjan merged 3 commits intomerge-train/fairiesfrom
jb/check-noir-release-assets
Apr 16, 2026
Merged

feat: check noir release has nargo binaries before releasing#22551
benesjan merged 3 commits intomerge-train/fairiesfrom
jb/check-noir-release-assets

Conversation

@benesjan
Copy link
Copy Markdown
Contributor

@benesjan benesjan commented Apr 15, 2026

Summary

  • Adds a check_noir_release_assets function to root bootstrap.sh that queries the GitHub API to verify the noir release has nargo binary assets
  • Called from the ci-release case, right after semver validation and before the build starts -- so it fails fast and only runs during releases
  • Prevents releases like v4.2.0-aztecnr-rc.2 where the noir tag existed but had no binaries, causing 404 errors when users ran noirup

Test plan

  • Verified gh release view query returns correct asset count against a known noir release (v1.0.0-beta.3 → 5 assets)
  • CI passes

Fixes https://linear.app/aztec-labs/issue/F-506/check-noir-binaries-exist-on-release

@benesjan
Copy link
Copy Markdown
Contributor Author

@ludamad do you know how to test this actually work without waiting for a release?

@benesjan benesjan requested a review from ludamad April 15, 2026 09:21
@ludamad
Copy link
Copy Markdown
Collaborator

ludamad commented Apr 15, 2026

You can use ci-release-pr

@benesjan benesjan added the ci-release-pr Creates a development tag and runs the release suite label Apr 15, 2026
@AztecBot AztecBot removed the ci-release-pr Creates a development tag and runs the release suite label Apr 15, 2026
@benesjan benesjan removed the request for review from ludamad April 15, 2026 13:37
@benesjan benesjan marked this pull request as draft April 15, 2026 14:18
@benesjan benesjan force-pushed the jb/check-noir-release-assets branch from 5f08939 to f103f88 Compare April 15, 2026 14:27
Copy link
Copy Markdown
Contributor Author

This stack of pull requests is managed by Graphite. Learn more about stacking.

@benesjan benesjan marked this pull request as ready for review April 15, 2026 14:28
@benesjan benesjan added the ci-release-pr Creates a development tag and runs the release suite label Apr 15, 2026
@AztecBot AztecBot removed the ci-release-pr Creates a development tag and runs the release suite label Apr 15, 2026
benesjan and others added 3 commits April 16, 2026 01:15
Adds a pre-release check that verifies the noir GitHub release has nargo
binary assets before proceeding with an aztec-packages release. This
prevents releases that would cause 404 errors when users try to install
nargo via noirup (as happened with v4.2.0-aztecnr-rc.2).

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
@benesjan benesjan force-pushed the jb/check-noir-release-assets branch from f103f88 to 2e20a94 Compare April 16, 2026 01:25
@benesjan benesjan added the ci-release-pr Creates a development tag and runs the release suite label Apr 16, 2026
@AztecBot AztecBot removed the ci-release-pr Creates a development tag and runs the release suite label Apr 16, 2026
@benesjan
Copy link
Copy Markdown
Contributor Author

ci-release-pr run succeeded so this ready for a review

@benesjan benesjan merged commit 86dfad5 into merge-train/fairies Apr 16, 2026
47 checks passed
@benesjan benesjan deleted the jb/check-noir-release-assets branch April 16, 2026 04:27
AztecBot pushed a commit that referenced this pull request Apr 16, 2026
## Summary
- Adds a `check_noir_release_assets` function to root `bootstrap.sh`
that queries the GitHub API to verify the noir release has nargo binary
assets
- Called from the `ci-release` case, right after semver validation and
before the build starts -- so it fails fast and only runs during
releases
- Prevents releases like `v4.2.0-aztecnr-rc.2` where the noir tag
existed but had no binaries, causing 404 errors when users ran `noirup`

## Test plan
- [x] Verified `gh release view` query returns correct asset count
against a known noir release (`v1.0.0-beta.3` → 5 assets)
- [ ] CI passes

Fixes
https://linear.app/aztec-labs/issue/F-506/check-noir-binaries-exist-on-release

---------

Co-authored-by: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
@AztecBot
Copy link
Copy Markdown
Collaborator

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

github-merge-queue Bot pushed a commit that referenced this pull request Apr 17, 2026
BEGIN_COMMIT_OVERRIDE
feat: check noir release has nargo binaries before releasing (#22551)
chore: cache chainInfo in embeddedwallet (#22592)
fix: wrap external getCapsule in transactionAsync (#22595)
fix(pxe): throw clear error for invalid comparator in pick_notes
(#22585)
refactor(aztec-nr): rename conversion fns to encode_/decode_ naming
(#22576)
fix: adding transactions to PXE stores (#22603)
feat: infrastructure for testing `[new_contract_artfiacts,
old_aztec_stack]` (#22593)
chore: fix unnecessary and inconsistent side-effect counter increments
(#22245)
feat(aztec-nr): new BoundedVec emit private log APIs (#22064)
END_COMMIT_OVERRIDE
Thunkar added a commit that referenced this pull request Apr 17, 2026
BEGIN_COMMIT_OVERRIDE
fix(pxe): cap event filter toBlock to last synced block (#22573)
fix(pxe): round tx expiration timestamp to reduce precision (#22577)
fix: eliminate anvil watcher warp race and false success logs (#22584)
refactor: aztec new and init creating 2 crates (#20681)
test: aztec new scaffold works (#20711)
feat(cli): warning if contract crate has tests (#20723)
feat(cli): auto-recompiling when aztec test is run (#20729)
feat: aztec new supporting multiple contract crates (#21007)
feat: asserts that aztec dep version matches cli (#21245)
chore: backport aztec CLI improvements to v4-next (#22587)
feat: check noir release has nargo binaries before releasing (#22551)
chore: cache chainInfo in embeddedwallet (#22592)
fix: wrap external getCapsule in transactionAsync (#22595)
fix(pxe): throw clear error for invalid comparator in pick_notes
(#22585)
refactor(aztec-nr): rename conversion fns to encode_/decode_ naming
(#22576)
feat: infrastructure for testing `[new_contract_artfiacts,
old_aztec_stack]` (#22593)
chore: fix unnecessary and inconsistent side-effect counter increments
(#22245)
fix: update FaceID wallet redirects and strip anchors in redirect
validation (#22505)
docs: add getting started on testnet guide (#22366)
docs: add getting started on testnet guide (backport #22366) (#22619)
feat(aztec-nr): new BoundedVec emit private log APIs (#22064)
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.

4 participants