Skip to content
Draft
Show file tree
Hide file tree
Changes from 3 commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
13 changes: 8 additions & 5 deletions .github/workflows/cdk-e2e.yml
Original file line number Diff line number Diff line change
Expand Up @@ -50,10 +50,11 @@ on:
type: string
default: "cdk"

permissions:
contents: read
packages: write
id-token: write
# 2025-08-27: I'm not sure if these are necessary. Delete entirely if this doesn't break anything
# permissions:
# contents: read
# packages: write
# id-token: write
Comment on lines +53 to +57
Copy link
Contributor

Choose a reason for hiding this comment

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

I might be wrong, but in the past removing this caused sonarqube or some other security warnings

Copy link
Collaborator

@leovct leovct Sep 4, 2025

Choose a reason for hiding this comment

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

not sonarqube but it won't be able to pull images from the the google cloud registry - we might need to document


env:
POLYCLI_VERSION: v0.1.84
Expand Down Expand Up @@ -138,13 +139,15 @@ jobs:
export BATS_LIB_PATH="$PWD/core/helpers/lib"
export PROJECT_ROOT="$PWD"
export ENCLAVE_NAME="${{ inputs.kurtosis-cdk-enclave-name }}"
bats tests/cdk/access-list-e2e.bats tests/cdk/basic-e2e.bats
bats tests/cdk/basic-e2e.bats
if [[ "${{ inputs.test-name }}" == "test-fork9-cdk-validium-e2e" || "${{ inputs.test-name }}" == "test-fork11-rollup-e2e" || "${{ inputs.test-name }}" == "test-fork12-rollup-e2e-zkevm-bridge" ]]; then
bats tests/cdk/e2e.bats tests/cdk/bridge-e2e.bats
elif [[ "${{ inputs.test-name }}" == "test-fork12-cdk-validium-e2e" || "${{ inputs.test-name }}" == "test-fork12-rollup-e2e" ]]; then
bats tests/cdk/e2e.bats tests/aggkit/bridge-e2e.bats tests/aggkit/bridge-e2e-custom-gas.bats
elif [[ "${{ inputs.test-name }}" == "test-fork12-pessimistic-e2e" ]]; then
bats tests/aggkit/bridge-e2e.bats tests/aggkit/bridge-e2e-custom-gas.bats
else
bats tests/aggkit/bridge-e2e.bats
fi
popd

Expand Down
6 changes: 3 additions & 3 deletions tests/cdk/basic-e2e.bats
Original file line number Diff line number Diff line change
Expand Up @@ -202,9 +202,9 @@ setup() {
assert_output --regexp "Liquidity provided to the pool liquidity=[0-9]+"

# Check if transaction got executed successfully
assert_output --regexp "Starting main load test loop currentNonce=[0-9]+"
assert_output --regexp "Finished main load test loop lastNonce=[0-9]+ startNonce=[0-9]+"
assert_output --regexp "Got final block number currentNonce=[0-9]+ final block number=[0-9]+"
assert_output --regexp "Starting main load test loop"
assert_output --regexp "Finished main load test loop"
assert_output --regexp "Got final block number"
assert_output --regexp "Num errors numErrors=0"
assert_output --regexp "Finished"
}
Expand Down