Skip to content

Commit 35ea97b

Browse files
author
AztecBot
committed
Merge branch 'next' into merge-train/barretenberg
2 parents bf5086a + 590a56f commit 35ea97b

80 files changed

Lines changed: 4160 additions & 1752 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

.github/workflows/ci3.yml

Lines changed: 32 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -161,6 +161,27 @@ jobs:
161161
fail-on-alert: false
162162
max-items-in-chart: 100
163163

164+
# Validates that a nightly tag's embedded date matches today's UTC date.
165+
# Prevents stale or replayed nightly tags from triggering scenario tests.
166+
validate-nightly-tag:
167+
runs-on: ubuntu-latest
168+
if: startsWith(github.ref, 'refs/tags/v') && contains(github.ref_name, '-nightly.')
169+
outputs:
170+
is_current: ${{ steps.check.outputs.is_current }}
171+
steps:
172+
- name: Check nightly tag date matches today (UTC)
173+
id: check
174+
run: |
175+
tag_date=$(echo "${{ github.ref_name }}" | grep -oP '(?<=-nightly\.)\d{8}')
176+
today_utc=$(date -u +%Y%m%d)
177+
echo "Tag date: $tag_date"
178+
echo "Today (UTC): $today_utc"
179+
if [[ "$tag_date" == "$today_utc" ]]; then
180+
echo "is_current=true" >> $GITHUB_OUTPUT
181+
else
182+
echo "::warning::Nightly tag date ($tag_date) does not match today's UTC date ($today_utc). Skipping scenario tests."
183+
fi
184+
164185
# End-to-end tests that target a network deployment.
165186
# We run this every release (at minimum, nightly), or when explicitly requested.
166187
# This task runs against a real testnet deployment. This uses resources on GCP (not AWS, thank free credit incentives).
@@ -174,9 +195,17 @@ jobs:
174195
fail-fast: false
175196
matrix:
176197
test_set: ["1", "2"]
177-
# We run on nightly tags only, or when the ci-network-scenario label is present in a PR.
178-
needs: ci
179-
if: github.event.pull_request.head.repo.fork != true && github.event.pull_request.draft == false && ((startsWith(github.ref, 'refs/tags/v') && contains(github.ref_name, '-nightly.')) || contains(github.event.pull_request.labels.*.name, 'ci-network-scenario'))
198+
# We run on current nightly tags only, or when the ci-network-scenario label is present in a PR.
199+
needs: [ci, validate-nightly-tag]
200+
if: |
201+
always()
202+
&& (needs.ci.result == 'success' || needs.ci.result == 'skipped')
203+
&& github.event.pull_request.head.repo.fork != true
204+
&& github.event.pull_request.draft == false
205+
&& (
206+
needs.validate-nightly-tag.outputs.is_current == 'true'
207+
|| contains(github.event.pull_request.labels.*.name, 'ci-network-scenario')
208+
)
180209
steps:
181210
- name: Remove label (one-time use)
182211
if: github.event.pull_request && contains(github.event.pull_request.labels.*.name, 'ci-network-scenario')

spartan/environments/staging-public.env

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ TX_COLLECTION_FILE_STORE_URLS="https://aztec-labs-snapshots.com/${TX_FILE_STORE_
2424
R2_ACCESS_KEY_ID=REPLACE_WITH_GCP_SECRET
2525
R2_SECRET_ACCESS_KEY=REPLACE_WITH_GCP_SECRET
2626
TEST_ACCOUNTS=false
27-
SPONSORED_FPC=true
27+
SPONSORED_FPC=false
2828

2929
# Match testnet/mainnet mana target (75M) instead of global default (100M).
3030
# AZTEC_MANA_TARGET only takes effect on L1 contract redeployment.

spartan/environments/testnet.env

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -87,4 +87,4 @@ PROVER_PUBLISHER_MNEMONIC_START_INDEX=8000
8787
PROVER_FAILED_PROOF_STORE=gs://aztec-develop/testnet/failed-proofs
8888
L1_TX_FAILED_STORE=gs://aztec-develop/testnet/failed-l1-txs
8989
PROVER_REPLICAS=4
90-
PROVER_RESOURCE_PROFILE="prod-hi-tps"
90+
PROVER_RESOURCE_PROFILE="prod"

0 commit comments

Comments
 (0)