Repository navigation
ci: Start the EVM tests without waiting for the artifact build - #1622
Conversation
The EVM test job waited for the artifact build and downloaded its output, but used none of it: the tests compile under the local-test profile, which keeps revert strings and writes to out-local. Its log shows all 447 files compiling straight after the download. Without the dependency the two compiles run at the same time, so a change to the Solidity costs one compile of wall-clock time and not two, about 8 minutes in place of 15. Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com> Signed-off-by: Paul <108695806+pxrl@users.noreply.github.com>
Codex Review Summary: ✅ CompletedThis comment shows the latest Codex review activity on this pull request.
ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings. |
droplet-rl
left a comment
There was a problem hiding this comment.
LGTM. The download was dead weight, and removing the needs is safe.
Checks
test-evm-foundryusesFOUNDRY_PROFILE=local-test, which writes toout-localandcache-foundry-local. Nothing undertest/evm/foundry/localreadsout/. The only file reads are the SVM fixtures inSvmSpokeV5Vectors.t.sol, anddeployCodeTolooks up artifacts in the active profile's output directory.Inspect storage layoutsalready ran before the download step, so it never used the downloaded artifacts either.- The job name (
EVM Tests) is unchanged, so required-check settings are not affected. - On this PR's run, EVM Tests started at 11:24:02 UTC, alongside Upload EVM artifacts, and finished at 11:31:18 while the upload was still compiling. That matches the description.
The red EVM Tests check comes from a known flaky test, not from this PR. 720 tests passed and 1 failed: the CCTPDirectFlowTest setUp hit vm.createSelectFork: ... rpc.hyperliquid.xyz ... invalid block height: 52907736. BaseSimulatorTest forks the public Hyperliquid RPC at the latest block, and this public endpoint sometimes rejects that block. The same error failed master on 2026-11-16 (run 43840170355). Re-running the job should clear it.
Non-blocking notes
- On the last two master runs (47089394910 and 47088223630), the Test verified SVM build job finished within about 1 minute of EVM Tests. On runs that touch the SVM paths, the overall Checks time will now be limited by that job. The 15 → 8 minute saving will show fully on EVM-only PRs; on the others it mainly means the EVM result arrives earlier.
- Inline: a possible follow-up to cache the local-test build.
Reinis-FRP
left a comment
There was a problem hiding this comment.
The EVM suite compiles into out-local, and the package build still receives the default-profile artifacts. LGTM on the workflow change. The EVM job passed 720 tests and failed during fork setup when the Hyperliquid RPC rejected block 52907736. Please rerun that job before merging.
Sent from Reinis Martinsons's Codex CLI Agent using gpt-6.2-astra 🤖
…#1624) Stops a flaky failure in "EVM Tests" that has hit unrelated pull requests twice in one day (#1622 and #1623). The failure. Three suites (HyperCoreFlowExecutorTest, CCTPDirectFlowTest, SponsoredCCTPDstPeripheryTest) share a setUp that forks the public Hyperliquid RPC at its latest block. Now and then the fork fails: vm.createSelectFork: ... error code -32603: invalid block height: 52914819 The RPC is served by more than one node. A fork asks for the latest block number and then for that block, and the node that got the second request had not yet received it. The block rejected on #1623 carries the timestamp of the second the tests ran in. The fix. setUp asks for the latest block number and forks ten blocks before it. Blocks come about a second apart, so every node has a block that old. - One file: test/evm/foundry/local/external/hyper-evm-lib/test/BaseSimulatorTest.sol. It is vendored, so this diverges from upstream. - The tests still fail if the RPC is down. - The failure could not be reproduced on demand, so this is reasoned from the error and the block's timestamp, not measured. --------- Signed-off-by: Paul <108695806+pxrl@users.noreply.github.com> Co-authored-by: Claude Fable 5.2 <noreply@anthropic.com>
"EVM Tests" no longer waits for "Upload EVM artifacts", and no longer downloads its output.
It used none of it. The tests compile under the
local-testprofile, which keeps revert strings and writes toout-local; the job's log shows all 447 files compiling straight after the download.Without the dependency the two compiles run at the same time. A PR that changes only Solidity should finish its EVM checks in about 8 minutes in place of 15. Where the SVM tests also run, they set the run time, and this mainly brings the EVM result earlier.
🤖 Generated with Claude Code