Skip to content

test(ci): drop e2e_kernelless_simulation from backwards-compat e2e#22999

Merged
benesjan merged 1 commit intobackport-to-v4-next-stagingfrom
claudebox/drop-kernelless-from-compat
May 6, 2026
Merged

test(ci): drop e2e_kernelless_simulation from backwards-compat e2e#22999
benesjan merged 1 commit intobackport-to-v4-next-stagingfrom
claudebox/drop-kernelless-from-compat

Conversation

@AztecBot
Copy link
Copy Markdown
Collaborator

@AztecBot AztecBot commented May 6, 2026

Summary

Excludes src/e2e_kernelless_simulation.test.ts from the compat_test_cmds set in yarn-project/end-to-end/bootstrap.sh, so it no longer runs under the backwards-compatibility (ci-compat-e2e) job.

Why

e2e_kernelless_simulation asserts on the exact number of nullifiers emitted by the test contracts. PR #22939 changed the contract artifacts and now emits a different nullifier count, which causes the test to fail when the new client runs against older contract artifacts in compat mode (see the failing ci-compat-e2e step on v4.3.0-nightly.20260506: https://github.com/AztecProtocol/aztec-packages/actions/runs/25419116073/job/74558302821#step:4:38). The mismatch is not a real backwards-compat regression, just an artifact of the test asserting on internal accounting that legitimately changes between versions.

Per @benesjan and @mverzilli, the right call is to drop this test from the compat matrix rather than maintain compat-aware nullifier-count assertions; reducing the compat surface to tests that actually exercise the contract API is the longer-term direction.

Implementation

Added kernelless_simulation to the bash extglob exclusion list for the top-level e2e_*.test.ts pattern:

-    src/e2e_!(block_building|prover_*).test.ts
+    src/e2e_!(block_building|prover_*|kernelless_simulation).test.ts

Verified the new pattern with shopt -s extglob locally — e2e_kernelless_simulation.test.ts is no longer matched, all other top-level e2e tests still are. Comment block above the function updated to record the reason.

Note: the underlying release publish path (InvalidAccessKeyId / ec2:RunInstances) tracked in https://gist.github.com/AztecBot/da1ac0bbfaae2564fe90c993b2886590 is not addressed by this PR — it requires the AWS_SESSION_TOKEN forward in bootstrap_ec2 and an IAM policy change. This change just stops ci-compat-e2e from being red on nightlies due to the kernelless_simulation flake.

ClaudeBox log: https://claudebox.work/s/ed6536a05f7d2b77?run=3

@AztecBot AztecBot added ci-draft Run CI on draft PRs. claudebox Owned by claudebox. it can push to this PR. labels May 6, 2026
@benesjan benesjan marked this pull request as ready for review May 6, 2026 17:20
@benesjan benesjan added the ci-compat-e2e Checks that contracts compiled in older stable versions still work on current stack. label May 6, 2026
@benesjan benesjan enabled auto-merge (squash) May 6, 2026 17:49
@benesjan benesjan merged commit 6ca1031 into backport-to-v4-next-staging May 6, 2026
37 of 52 checks passed
@benesjan benesjan deleted the claudebox/drop-kernelless-from-compat branch May 6, 2026 17:49
benesjan pushed a commit that referenced this pull request May 6, 2026
…23005)

## Summary

Forward port of
#22999 (which
targets `backport-to-v4-next-staging`) onto `merge-train/fairies` so the
v4 and v5 versions of `compat_test_cmds` stay aligned.

Excludes `src/e2e_kernelless_simulation.test.ts` from the
`compat_test_cmds` set in `yarn-project/end-to-end/bootstrap.sh`, so it
no longer runs under the backwards-compatibility (`ci-compat-e2e`) job.

## Why

`e2e_kernelless_simulation` asserts on the exact number of nullifiers
emitted by the test contracts. PR #22939 changed the contract artifacts
and now emits a different nullifier count, which causes the test to fail
when the new client runs against older contract artifacts in compat mode
(failing v4 nightly:
https://github.com/AztecProtocol/aztec-packages/actions/runs/25419116073/job/74558302821#step:4:38).
The mismatch is not a real backwards-compat regression — the test is
asserting on internal accounting that legitimately changes between
versions.

Per @benesjan and @mverzilli, the right call is to drop this test from
the compat matrix rather than maintain compat-aware nullifier-count
assertions; reducing the compat surface to tests that actually exercise
the contract API is the longer-term direction. Forward-porting here
keeps the v5 compat matrix in lockstep with v4.

## Implementation

Identical to #22999: add `kernelless_simulation` to the bash extglob
exclusion list for the top-level `e2e_*.test.ts` pattern.

```diff
-    src/e2e_!(block_building|prover_*).test.ts
+    src/e2e_!(block_building|prover_*|kernelless_simulation).test.ts
```

Comment block above the function updated with the same reasoning.
Verified with `shopt -s extglob` that the new pattern excludes only
`src/e2e_kernelless_simulation.test.ts` and still includes every other
top-level `src/e2e_*.test.ts`.

ClaudeBox log: https://claudebox.work/s/ed6536a05f7d2b77?run=4
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

ci-compat-e2e Checks that contracts compiled in older stable versions still work on current stack. ci-draft Run CI on draft PRs. claudebox Owned by claudebox. it can push to this PR.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants