You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Correctness:
- Guard apps-e2e-trigger.yml against firing on pipelines' own PRs
(`github.repository != '0xPolygon/pipelines'`) — pipelines has no
`pnpm run e2e` to run. No-op in any consumer, so still copy-verbatim.
- restore.sh: `docker create --entrypoint /bin/true` so the addresses
sidecar extraction overrides (not appends to) any ENTRYPOINT a future
snapshot image declares.
- cold-start.sh: verify the EL resource scale-down sed actually applied
(grep the override marker, exit 1 if the file moved or vars renamed on
an unexpected kurtosis_pos_ref) instead of silently OOM-killing.
- restore.sh: fold state_hex_file / body_file into the cleanup trap so
the ~2 MB temps don't leak when curl or the result check exits non-zero.
- Drop the stale "compare boolean AND string" comment in the trigger
(the expression only compares the toJSON string).
Flexibility / standards:
- Add REGISTRY_USERNAME / REGISTRY_PASSWORD (required: false) secrets to
apps-e2e.yml and forward into the snapshot composite, falling back to
the actor + GITHUB_TOKEN when unset. Unblocks a cross-org consumer
(matic.js) pulling a private snapshot with its own credentials.
- Remove the `secrets: inherit` recommendation from the header comment
(prohibited by Team Standards).
- Extract the on-failure dump shell into a new e2e-dump composite action
(bundled script via github.action_path) rather than inline YAML — a
reusable workflow can't reach a .github/scripts/ helper cross-repo.
- Document the dual-path adapter contract and the secret-injection
limitation on the e2e_command input; cold-start composite now exports
E2E_KURTOSIS_ENCLAVE=pos for a symmetric, single-path consumer adapter.
Deferred (design polish, tracked for follow-up): runner/fetch-depth
inputs, jq-over-python, install-after-composite, enclave-name
parameterisation, required snapshot_image. Generic suite-secret
injection stays out — named secrets only, no secrets: inherit.
echo"[e2e-cold-start] ERROR: expected ${shared_star} not found — kurtosis-pos@${KURTOSIS_POS_REF} may have moved the EL resource config. Update cold-start.sh for this ref.">&2
echo"[e2e-cold-start] ERROR: EL resource scale-down did not apply (${override_count}/2 markers found in ${shared_star}). kurtosis-pos@${KURTOSIS_POS_REF} likely renamed MAX_CPU/MAX_MEM — the runner would OOM. Update the sed patterns for this ref.">&2
0 commit comments