Skip to content

GHA pre-review: get the test list using dry-run once only#10139

Closed
macfarla wants to merge 3 commits intobesu-eth:mainfrom
macfarla:dry-run-one-time
Closed

GHA pre-review: get the test list using dry-run once only#10139
macfarla wants to merge 3 commits intobesu-eth:mainfrom
macfarla:dry-run-one-time

Conversation

@macfarla
Copy link
Copy Markdown
Contributor

Currently it's run once on each runner (so x14). Dry-run includes compile and dependency resolution.

This PR relocates test class enumeration to the spot where ./gradlew build is already running which already is doing compile and dependency resolution. This will reduce the number of times we call out to get all dependencies.

Copilot AI review requested due to automatic review settings March 31, 2026 07:21
@macfarla macfarla added the dev experience The build system, things that enable easier development etc. label Mar 31, 2026
@macfarla macfarla changed the title get the test list using dry-run once only GHA pre-review: get the test list using dry-run once only Mar 31, 2026
Signed-off-by: Sally MacFarlane <[email protected]>
@macfarla macfarla marked this pull request as draft March 31, 2026 10:47
@macfarla macfarla self-assigned this Mar 31, 2026
@macfarla
Copy link
Copy Markdown
Contributor Author

latest run with this last change was still 24 min for pre-review (previously 18 min) so I don't think it's a net win.
enumerate-tests as a separate step takes 7min (and needs to complete before unit test splitting), and removing dry-run from the unit test runners only reduces time taken by 2 min. so net it's +5min. If we can eliminate the unit test matrix that's a bigger win eg #10136

@macfarla macfarla closed this Mar 31, 2026
@macfarla
Copy link
Copy Markdown
Contributor Author

macfarla commented Mar 31, 2026

Screenshot 2026-04-01 at 9 23 32 am

@macfarla macfarla deleted the dry-run-one-time branch April 1, 2026 08:11
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dev experience The build system, things that enable easier development etc.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant