Skip to content

Conversation

@DavePearce
Copy link
Collaborator

@DavePearce DavePearce commented Oct 30, 2025

Note

Switches replay tests to Prague datasets (new suites), relegates legacy replays under legacy/, and updates Gradle/CI to use a unified JUNIT_TESTS_PARALLELISM and consolidated workflows.

  • Tests:
    • Add Prague replay suites (pragueReplayTests: Fast, Nightly, Weekly, Sepolia) using MAINNET_TESTCONFIG(PRAGUE) and replays/prague/* inputs.
    • Move legacy replays to legacyReplaytests, prefix inputs with legacy/, and disable many legacy tests.
    • Relocate ReplayTestTools to net.consensys.linea and update imports; enable Prague coinbase handling via Fork.isPostPrague.
  • Gradle:
    • Centralize parallelism with JUNIT_TESTS_PARALLELISM; remove task-specific *_PARALLELISM envs.
    • Refactor test tasks (fast/nightly/weekly/prc-call) and Jacoco reports; standardize BESU dirs setup.
  • CI (GitHub Actions):
    • Integrate replay runs into nightly/weekly workflows; set JUNIT_TESTS_PARALLELISM across jobs.
    • Update reusable workflows to use JUNIT_TESTS_PARALLELISM.
    • Remove obsolete .github/workflows/gradle-nightly-replay-tests.yml.

Written by Cursor Bugbot for commit c91055e. This will update automatically on new commits. Configure here.

@DavePearce DavePearce linked an issue Oct 30, 2025 that may be closed by this pull request
@DavePearce DavePearce force-pushed the 2460-feat-replace-legacy-replays-with-prague-replays branch 3 times, most recently from ab4b4bc to 4980ed8 Compare October 30, 2025 22:17
cursor[bot]

This comment was marked as outdated.

@DavePearce DavePearce force-pushed the 2460-feat-replace-legacy-replays-with-prague-replays branch 2 times, most recently from b9e0d78 to 9ac5a84 Compare October 31, 2025 00:19
cursor[bot]

This comment was marked as outdated.

@DavePearce DavePearce force-pushed the 2460-feat-replace-legacy-replays-with-prague-replays branch 2 times, most recently from 493f317 to 1e7585b Compare October 31, 2025 02:28
cursor[bot]

This comment was marked as outdated.

@DavePearce DavePearce force-pushed the 2460-feat-replace-legacy-replays-with-prague-replays branch 5 times, most recently from 5b18233 to 8d536d4 Compare October 31, 2025 04:08
This refactors the existing legacy replay tests, such they are: (1) all
disabled; (2) live in their own package to avoid clutter; (3) all the
actual replays have been moved into their own folder as well.
The goal here is simply to figure out what the batch size is for the
various testing regimes (fast replay, nightly, weekly).
This simplifies the way the existing gradle test tasks are written, and
also adds a notion of "weekly replay tests".
@DavePearce DavePearce force-pushed the 2460-feat-replace-legacy-replays-with-prague-replays branch from 8d536d4 to c91055e Compare November 2, 2025 20:27
@@ -376,6 +282,12 @@ tasks.register("jacocoPrcCallTestsReport", JacocoReport) {
executionData(prcCallTests)
}

jacocoTestReport {
Copy link
Collaborator

Choose a reason for hiding this comment

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

This is the most generic one, could go at the beginning but we can merge like this :)

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

Yeah, I wasn't really sure what to do with the jacoco tasks. For example, whether they could be simplified, etc.

Copy link
Collaborator

Choose a reason for hiding this comment

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

Not really, because when I want to aggregate them all to have coverage, if they have the same name I'm not able to. You did right just to move them around 👍

@@ -71,7 +71,33 @@ tasks.withType(Test).configureEach {
systemProperty name, System.getProperty(name)
}
}

// Configure default parallelism
Copy link
Collaborator

Choose a reason for hiding this comment

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

Very good cleaning / reorganizing of this file !! Thank you !

@amkCha
Copy link
Collaborator

amkCha commented Nov 4, 2025

Thank you @DavePearce for capturing all these replays - this is a very important PR !!

@amkCha
Copy link
Collaborator

amkCha commented Nov 4, 2025

One note : we will be able to unpin the nightly replays from the GA when we see it

@DavePearce DavePearce merged commit 8ad8613 into arith-dev Nov 5, 2025
13 checks passed
@DavePearce DavePearce deleted the 2460-feat-replace-legacy-replays-with-prague-replays branch November 5, 2025 03:14
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

feat: replace legacy replays with PRAGUE replays

3 participants