Skip to content

CI: run the rows of the Conventions theories that spawn msbuild in parallel #246

Open

Description

@CaffeinatedCoder

Why

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

  1. added this to the 2.4.0 milestone on Oct 31, 2026
  2. added
    tests
    on Oct 31, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    tests

    Type

    No type

    Projects

    No projects

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions