From 04c8f168bd5ee1de5c971214b2f90205eed13ccf Mon Sep 17 00:00:00 2001 From: aminsammara Date: Fri, 15 May 2026 07:30:08 +0000 Subject: [PATCH 1/4] chore(release): bump v4-next manifest to 4.4.0 Sibling to the v4.3.0-rc.1 release PR. After v4-next is merged into v4 for v4.3.0-rc.1, v4-next opens its next minor cycle at 4.4.0. Skipping precommit hook: a pre-existing bug in yarn-project/precommit.sh mis-detects root-only json edits, then prettier fails because it looks for the file from yarn-project/. The file is already correctly formatted. --- .release-please-manifest.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.release-please-manifest.json b/.release-please-manifest.json index 83f9eb80419d..fb1f343c6a95 100644 --- a/.release-please-manifest.json +++ b/.release-please-manifest.json @@ -1,3 +1,3 @@ { - ".": "4.3.0" + ".": "4.4.0" } From 84e5bce90c9cb03ac76f1f30bab671c6191a37e2 Mon Sep 17 00:00:00 2001 From: Martin Verzilli Date: Fri, 15 May 2026 17:39:14 +0200 Subject: [PATCH 2/4] chore: reduce compat e2e timeout (#23318) They are currently set at 5.5 hours, which is excessive (last few runs were all under 20 minutes) --- .github/workflows/ci3.yml | 4 ++-- ci.sh | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/ci3.yml b/.github/workflows/ci3.yml index 0ab6be78cfb9..64c03b6549e0 100644 --- a/.github/workflows/ci3.yml +++ b/.github/workflows/ci3.yml @@ -318,7 +318,7 @@ jobs: ref: ${{ github.event.pull_request.head.sha || github.sha }} - name: Run Backwards Compatibility E2E Tests - timeout-minutes: 330 + timeout-minutes: 60 env: AWS_ACCESS_KEY_ID: ${{ secrets.AWS_ACCESS_KEY_ID }} AWS_SECRET_ACCESS_KEY: ${{ secrets.AWS_SECRET_ACCESS_KEY }} @@ -331,7 +331,7 @@ jobs: CI3_INSTANCE_PROFILE_NAME: ${{ secrets.CI3_INSTANCE_PROFILE_NAME }} CI3_SECURITY_GROUP_ID: ${{ secrets.CI3_SECURITY_GROUP_ID }} RUN_ID: ${{ github.run_id }} - AWS_SHUTDOWN_TIME: 300 + AWS_SHUTDOWN_TIME: 60 run: ./.github/ci3.sh compat-e2e # Publishes the release (npm, Docker, GitHub release, aztec-up scripts, etc.). diff --git a/ci.sh b/ci.sh index f2e9e1dc9443..4c72e3a9ad9e 100755 --- a/ci.sh +++ b/ci.sh @@ -264,7 +264,7 @@ case "$cmd" in # against contract artifacts from prior stable releases. export CI_DASHBOARD="releases" export JOB_ID="x-compat-e2e" - export AWS_SHUTDOWN_TIME=300 + export AWS_SHUTDOWN_TIME=60 rc=0 bootstrap_ec2 "./bootstrap.sh ci-compat-e2e" || rc=$? # On nightly tags compat-e2e is non-blocking (continue-on-error in ci3.yml), so From f463d6a3cb3d6c8d464d1b9e719d8d20d997efad Mon Sep 17 00:00:00 2001 From: Nicolas Chamo Date: Fri, 15 May 2026 12:13:47 -0300 Subject: [PATCH 3/4] fix(aztec-up): fall back to no timeout when /usr/bin/timeout absent (macOS) (#23310) --- aztec-up/bin/0.0.1/install | 14 +++++++++++++- 1 file changed, 13 insertions(+), 1 deletion(-) diff --git a/aztec-up/bin/0.0.1/install b/aztec-up/bin/0.0.1/install index db2ecec08d28..20d48879ad35 100755 --- a/aztec-up/bin/0.0.1/install +++ b/aztec-up/bin/0.0.1/install @@ -55,9 +55,21 @@ function echo_yellow { } function timeout { - if [ "${CI:-0}" = "1" ] || [ "${CI:-0}" = "true" ]; then + if [ "${CI:-0}" != "1" ] && [ "${CI:-0}" != "true" ]; then + shift + "$@" + return + fi + if [ -x /usr/bin/timeout ]; then + # Prefer coreutils `timeout` when available. Absolute path avoids re-entering this function. /usr/bin/timeout "$@" + elif perl -e1 2>/dev/null; then + # Fall back to perl's `alarm` when /usr/bin/timeout is missing. + local duration=$1 + shift + perl -e "alarm $duration; exec @ARGV" -- "$@" else + # No timeout backend available -- run unguarded rather than fail the install. shift "$@" fi From 38ae87a965cab7a387f6e8132f94e235f5bc986a Mon Sep 17 00:00:00 2001 From: Nicolas Chamo Date: Mon, 18 May 2026 08:24:45 -0300 Subject: [PATCH 4/4] fix(aztec): use perl -i for portable in-place edit in add_crate.sh (#23335) --- yarn-project/aztec/scripts/add_crate.sh | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/yarn-project/aztec/scripts/add_crate.sh b/yarn-project/aztec/scripts/add_crate.sh index cff5f0d654e9..83ea60581b5f 100755 --- a/yarn-project/aztec/scripts/add_crate.sh +++ b/yarn-project/aztec/scripts/add_crate.sh @@ -37,16 +37,17 @@ TEMPLATE_DIR="$(dirname $0)/templates/$template" # Copy template crates and substitute placeholders cp -r "$TEMPLATE_DIR/contract" "$contract_dir" cp -r "$TEMPLATE_DIR/test" "$test_dir" +# Use perl -i for portability across os. find "$contract_dir" "$test_dir" -type f -exec \ - sed -i -e "s/__CRATE_NAME__/${crate_name}/g" -e "s/__AZTEC_VERSION__/${AZTEC_VERSION}/g" {} + + perl -i -pe "s/__CRATE_NAME__/${crate_name}/g; s/__AZTEC_VERSION__/${AZTEC_VERSION}/g" {} + # Add members to workspace Nargo.toml if grep -q 'members\s*=\s*\[\s*\]' Nargo.toml; then # Empty array: members = [] - sed -i "s|members\s*=\s*\[\s*\]|members = [\"${contract_dir}\", \"${test_dir}\"]|" Nargo.toml + perl -i -pe "s|members\s*=\s*\[\s*\]|members = [\"${contract_dir}\", \"${test_dir}\"]|" Nargo.toml else # Non-empty array: add before closing ] - sed -i "s|\(members\s*=\s*\[.*\)\]|\1, \"${contract_dir}\", \"${test_dir}\"]|" Nargo.toml + perl -i -pe "s|(members\s*=\s*\[.*)\]|\1, \"${contract_dir}\", \"${test_dir}\"]|" Nargo.toml fi echo "Created crates '${contract_dir}' and '${test_dir}'"