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
{{ message }}
Repository navigation
CI: run the rows of the Conventions theories that spawn msbuild in parallel #246
Once the analyzer sweep stops being the tail of CI's test step, Conventions on Windows (~389 s in run 41180296321) and EF Core on Linux (~386 s) bound it. In Conventions, two theories spawn dotnet msbuild once per row and run their rows one after another:
CiLaneTests.Every_file_a_package_or_the_smoke_test_reads_selects_the_pack: 8 rows, 160-190 s
PackabilityTests.A_project_outside_src_never_packs: 25 rows, 105-143 s
The rows wait on child processes, so they overlap well even on a four-core runner.
Proposal
Run the rows of these theories in parallel: under ParallelMode.All with every other class of the project opted out, or by splitting each into classes. Every msbuild keeps -nodeReuse:false. Check that no two rows write the same file (the -pp: outputs).
Done when
Both theories run their rows in parallel. Conventions' wall time on CI is measured before and after on both legs, in this issue. Three consecutive green runs show no new flakiness.
Activity