Skip to content

Adaptive Parallelism Feedback #7915

Backlog
Backlog

Description

@thomhurst

TUnit can change how many tests run in parallel while a run is in progress, based on machine load and on whether a higher limit completes more tests per second. The feature is experimental and off by default. This issue collects reports from real test suites so we can decide what to change before it becomes stable.

Please comment whether it helped, made no difference, or made things worse. Reports of "no change" are useful too.

How to try it

Adaptive parallelism shipped in v1.88.0. Adaptive [ParallelLimiter<T>] limits and the shared budget across test processes shipped in v1.90.0.

dotnet run --project MyTests -- --adaptive-parallelism
# or
TUNIT_ADAPTIVE_PARALLELISM=1 dotnet test

You can also set context.Settings.Parallelism.Adaptive = true in a [Before(HookType.TestDiscovery)] hook. That use reports diagnostic TUNITEXP001, which you suppress to opt in.

For a group of tests that shares limited capacity, such as a database, implement IAdaptiveParallelLimit in place of IParallelLimit and use it with [ParallelLimiter<T>].

See Adaptive Parallelism and Adaptive Limiter for how the limit moves, the bounds you can set, and what TUnit measures.

What to include

  1. The summary line. At the end of the run TUnit prints a line that starts with Adaptive parallelism:, and one line for each adaptive limiter. Paste them as they are.
  2. Wall-clock time for the same suite with and without --adaptive-parallelism, ideally over a few runs.
  3. Environment: TUnit version, .NET version, OS, CPU count and memory, and whether the run is local, in CI or in a container (with its CPU and memory limits).
  4. The suite: roughly how many tests, and what they mostly do (CPU-bound work, I/O, databases, containers, browsers or other child processes). Say whether other test processes run on the same machine at the same time.
  5. Any flags you set: --maximum-parallel-tests, --adaptive-min-parallel-tests, --adaptive-max-parallel-tests, and any [ParallelLimiter<T>] you use.
  6. Debug log, if the limit moved in a way you did not expect, or never moved. Run with --log-level Debug, or set TUNIT_LOG_LEVEL=Debug. The log gives each change, its reason, and the CPU use of the machine and of the test process. Attach it as a file or a gist, not inline.

If a test fails only with adaptive parallelism on, rerun with --maximum-parallel-tests set to the highest limit in the summary. Tell us whether the failure reproduces with that fixed limit.

Open a separate issue for a clear bug, such as a crash or a hang, and link it here.

Activity

  1. added
    performance
    P3
    on Nov 30, 2026
  2. thomhurst commented on Nov 30, 2026

    @thomhurst
    OwnerAuthor

    Report from a CI run with adaptive parallelism on. Summary: one large test process got about 10% faster and made the whole workflow faster. Most other processes never moved off their starting limit. No new test failures.

    Environment

    • TUnit 1.90.0, .NET SDK 11.0.100 (net11.0 and net10.0 targets), Microsoft.Testing.Platform via dotnet run
    • GitHub Actions ubuntu-latest (Ubuntu 26.04 image), 4 vCPU / 16 GB, about 20 parallel jobs
    • Enabled for every test process with TUNIT_ADAPTIVE_PARALLELISM: 1 at workflow level. No adaptive bounds set. No --maximum-parallel-tests in these jobs, so every process started at 8.
    • Existing [ParallelLimiter<T>] (non-adaptive) and [NotInParallel] attributes are unchanged. TUNIT_SHARED_PARALLEL_BUDGET is not set.
    • Suites are mostly I/O: Redis client tests against in-process fake servers and Testcontainers Redis/Valkey containers. One job (Analyzer Tests) is CPU-bound Roslyn analyzer tests. Some jobs run several test processes at the same time on one runner.

    Wall clock

    One adaptive run compared with three recent main runs. Caveat: the main runs used TUnit 1.87.12, so this compares the TUnit update and adaptive mode together, not adaptive alone.

    Measure Baseline (3 runs) Adaptive (1 run)
    Whole workflow 1089 / 1138 / 1214 s 929 s
    Largest test process (8511 tests, the critical path) 13m48s / 14m54s / 15m15s 13m10s
    Integration tests (Testcontainers) 6m55s / 6m58s / 6m12s 6m19s
    Analyzer tests (CPU-bound) 1m26s / 1m54s / 1m23s 1m56s

    Good

    • The 8511-test process is the case it was meant for, and it worked. Its summary line:

      Adaptive parallelism: the parallel test limit ranged from 6 to 27 over 12 changes (5 put back because they did not help) and ended at 18. Time at each limit: 6 for 2s, 8 for 28s, 12 for 59s, 18 for 11m 18s, 27 for 19s. The machine's CPUs were 24% busy on average, and this process alone used 21% of them. [...] Most common reason for not raising the limit: fewer tests are ready to run than the limit allows, so the limit is not what holds them back

    • Trying 27 and returning to 18 looks right. It did not hold a limit that brought no throughput gain.
    • It was safe. About 20 jobs and dozens of test processes, including timing-sensitive tests under [ParallelLimiter<T>], passed with no new failures or flakes.
    • Turning it on is easy. One environment variable covers every test process in the workflow without changing any project.
    • The "most common reason for not raising the limit" sentence is the most useful part of the summary. It told us right away that most of our suites are limited by serial tests, not by the parallel limit.

    Bad, or confusing

    1. "The CPUs have no headroom" while the machine is mostly idle. Two processes that ran for about 3 minutes each reported:

      the parallel test limit stayed at 8. The machine's CPUs were 13% busy on average, and this process alone used 5% of them. For 1s the CPUs were saturated [...] Most common reason for not raising the limit: the CPUs have no headroom

      At 13% average CPU, "no headroom" reads as a contradiction. The decision may be correct if it was made during short busy periods, but the summary does not say so. Could the summary state the CPU figure the decision actually used, such as busy time while it was deciding?

    2. Ramping up takes time. The large process spent about 90 s at 6 to 12 before it reached 18. That is fine for a 13-minute run. Short processes never got past their starting limit, so adaptive mode cannot help them.

    3. A CPU-bound suite got no faster. Analyzer Tests (this process alone at 83% CPU) lowered its limit to 4 for 19 s and to 6 for 17 s, then returned to 8. The run took 1m56s, the slow end of its baseline. Lowering the limit seems reasonable, but nothing was gained.

    4. Busy shared runners keep it at the starting limit. In the job that runs several test processes and Redis containers together, every process reported the machine 93–96% busy with itself using 8–10%, and stayed at 8. That matches the docs (other processes and containers do not lower the limit). It does mean adaptive mode does nothing in that job unless we set TUNIT_SHARED_PARALLEL_BUDGET, which we have not tried yet.

    5. The summary line is long. Lines run past 600 characters, so CI log viewers cut them off or wrap them. Some sentences are hard to follow, for example "Its child processes used 0% in the 1s they were measured, which is while the CPUs were nearly saturated". A short first line (range, final limit, top reason), with the detail on further lines or only at --log-level Debug, would scan better in CI logs.

    No debug logs were captured for this run. I can collect --log-level Debug output for the "no headroom at 13% CPU" processes if that would help.

  3. thomhurst commented on Nov 30, 2026

    @thomhurst
    OwnerAuthor

    No change: CPU-bound CI runner, limit never moved

    Adaptive parallelism made no difference to wall-clock time on our CI. The limit stayed at its start value of 8 in all 36 test processes, because the runner's CPUs were saturated for the whole run. Most of that CPU went to database and broker containers, not to the test processes. Holding the limit looks like the right decision here.

    Environment

    • TUnit 1.90.0, .NET 10 and .NET 11 (one CI job per framework), Microsoft.Testing.Platform runner.
    • GitHub-hosted ubuntu-latest: 4 vCPU, 16 GB memory. Not in a container.
    • dotnet test over a solution with 18 test projects. MTP runs 4 test processes at once (--max-parallel-test-modules default = processor count).
    • Set only TUNIT_ADAPTIVE_PARALLELISM=1, plus TUNIT_LOG_LEVEL=Debug for the diagnostic run. No --maximum-parallel-tests, no adaptive bounds, no [ParallelLimiter<T>].

    Suite

    About 3,600 tests per framework. Most are I/O against real servers in Docker: PostgreSQL, SQL Server, MySQL, Kafka, NATS, RabbitMQ and the Pub/Sub emulator, each shared once per test process. One project (about 1,500 tests) is in-memory, and one runs Roslyn source generator tests.

    Wall-clock time (dotnet test step, per framework job)

    net10.0 net11.0
    Without adaptive (8 recent runs, range) 250–394 s 285–389 s
    Adaptive, run 1 248 s 307 s
    Adaptive, run 2 415 s 357 s
    Adaptive + debug log, run 3 356 s 402 s

    All adaptive results are inside the normal spread of hosted runners. The sum of per-project durations varies from about 670 s to 1,200 s between runs with or without adaptive, so the host matters far more than the limit.

    Summary lines

    Every process printed a variant of this (36 of 36 say "stayed at 8"):

    Adaptive parallelism: the parallel test limit stayed at 8. The machine's CPUs were 100% busy on average, and this process alone used 5% of them. Its child processes used 0% in the 4m 0s they were measured, which is while the CPUs were nearly saturated. For 4m 2s the CPUs were saturated while this process and its child processes used less than half of them, so the limit was not lowered for CPU saturation. Most common reason for not raising the limit: the CPUs have no headroom
    

    The debug log repeats not raising the limit of 8: the CPUs have no headroom and not lowering the limit of 8 for CPU saturation: ... this process and its child processes use only 4%–30% of them. Three processes also logged memory has no headroom once.

    Debug logs (one .diag file per test process), plus vmstat and docker stats samples taken every 10 s: net10.0, net11.0 from this run.

    What used the CPU

    • vmstat: 67% user, 21% system, 4% idle on average, with about 34 runnable threads on 4 CPUs.
    • docker stats: containers used about 240% of the 400% available on average (peaks about 350%). The shared PostgreSQL container alone averaged about 45%.
    • Each test process used 4–14% of the machine.

    So the decision to hold looks correct. Raising the limit would add load to containers that are already saturated, and lowering it in one process would not free much CPU.

    Observations for the feature

    1. The summary is invisible under dotnet test with several test projects. The MTP terminal output prints only one result line per project, so the Adaptive parallelism: line never appears in the CI log. We found it only with --diagnostic --diagnostic-verbosity Debug, or by running one project with dotnet run. Without it, a user cannot tell whether the feature did anything. Could the summary reach the dotnet test output (for example as a per-project message) or the HTML report?
    2. Containers a process starts are counted as "other load". The summary says the process used 5% while the containers it started used about 60% of the machine. That is correct for the hold decision here. But in a suite where a process's own containers saturate the CPU, TUnit cannot lower the limit to relieve them. The summary could at least say that unattributed load came from containers, when Docker processes are the main consumers.
    3. Several test processes on one machine each start at 2× processor count. With 4 processes on 4 CPUs, the effective start is 32 parallel tests machine-wide. We have not tried TUNIT_SHARED_PARALLEL_BUDGET yet. On a container-bound runner we would not expect it to change much.

    For us, the bottleneck is CPU on a 4 vCPU runner and the order in which dotnet test starts the projects, not TUnit's parallel limit. We will look at those in Relayer (tracking PR: thomhurst/Relayer#1727).

  4. thomhurst commented on Nov 30, 2026

    @thomhurst
    OwnerAuthor

    Result: slower on 4-vCPU CI runners, no change on a 20-core desktop

    On GitHub-hosted 4-vCPU runners, --adaptive-parallelism made our suites slower. The limit almost never moved, so the time went into overhead with no gain. Setting --adaptive-max-parallel-tests equal to the starting limit (8) removed most of the slowdown on Linux. That points at the extra workers adaptive mode starts, not at the sampler. On a 20-core desktop, including runs pinned to 4 cores, adaptive and fixed timed the same.

    Wall-clock time in CI

    The times are the duration TUnit reports, summed over every test project in a job and averaged over the runs. Projects run one after another, one test process at a time. Runs of each mode were started alternately with workflow_dispatch, so they shared similar runner conditions.

    Job (projects run in sequence) Fixed default (6 runs) Adaptive (6 runs) Adaptive + TUNIT_ADAPTIVE_MAX_PARALLEL_TESTS=8 (3 runs)
    ubuntu, with code coverage (10 projects) 31.0s 36.6s (+18%) 30.2s
    ubuntu, no coverage (16 project/TFM runs) 38.5s 42.7s (+11%) 38.7s
    windows, no coverage (17 project/TFM runs) 46.1s 52.0s (+13%) 55.2s (see note)

    Single projects, ubuntu, mean seconds:

    Project (tests) Fixed Adaptive Adaptive, max 8
    Analyzer tests (387), with coverage 6.88 9.08 6.63
    Unit tests (1878), with coverage 10.36 11.84 10.16
    Unit tests (1878), no coverage 8.86 9.67 8.89
    Small project (21 to 83 tests), with coverage 0.49 to 1.32 +0.14 to +0.40 each same as fixed

    Notes:

    • Adaptive was not always slow. In 2 of the 6 coverage runs it matched fixed mode (28.4s and 29.8s), and in the other 4 it took 39.5s to 41.2s. Fixed runs ranged from 27.7s to 34.7s. It looks like the cost depends on how busy or how fast the runner is.
    • In the Windows max-8 runs every project was about 15% slower, including projects that finish in under half a second. A slowdown that even across sizes looks like slower runner machines rather than TUnit, and there are only 3 runs. I would not read anything into that column.

    Summary lines

    In 124 of 132 adaptive project runs the limit stayed at the starting value:

    Adaptive parallelism: the parallel test limit stayed at 8. The machine's CPUs were 74% busy on average, and this process alone used 43% of them. Its child processes used 0% in the 1s they were measured, which is while the CPUs were nearly saturated. For 4s the CPUs were saturated while this process and its child processes used less than half of them, so the limit was not lowered for CPU saturation. Most common reason for not raising the limit: the CPUs have no headroom
    

    The other runs were a short cut to 6 that was never restored, or a raise to 12 that was put back:

    Adaptive parallelism: the parallel test limit ranged from 6 to 8 over 1 change and ended at 6. Time at each limit: 6 for 6s, 8 for 3s. The machine's CPUs were 87% busy on average, and this process alone used 78% of them. For 1s the CPUs were saturated while this process and its child processes used less than half of them, so the limit was not lowered for CPU saturation. Most common reason for not raising the limit: a lower limit cost no throughput and the CPUs have been saturated recently
    
    Adaptive parallelism: the parallel test limit ranged from 8 to 12 over 2 changes (1 put back because it did not help) and ended at 8. Time at each limit: 8 for 12s, 12 for 1s. The machine's CPUs were 74% busy on average, and this process alone used 45% of them. Most common reason for not raising the limit: the CPUs have no headroom
    

    Local runs: no difference

    Windows 11, 20 logical CPUs, 6 alternating runs per mode. The test executables were run directly, with and without coverage.

    • 20 cores (limit stayed at 40): unit tests 4.71s adaptive vs 4.73s fixed. Analyzer tests 3.67s vs 3.73s. Every project was within noise.
    • Pinned to 4 cores with processor affinity (limit stayed at 8): unit tests 6.39s adaptive, 6.40s max 8, 6.42s fixed. Analyzer tests with coverage 5.72s adaptive, 5.77s max 8, 5.72s fixed.

    So 32 workers for 8 slots cost nothing measurable on a fast, otherwise idle machine. The cost appears only on the smaller, busier CI runners.

    Likely cause

    I read the v1.90.0 source. With adaptive on and no --adaptive-max-parallel-tests, the limits on a 4-CPU machine are start 8, minimum 2, maximum 32 (TestScheduler.GetAdaptiveLimits). Three things follow:

    1. More workers than slots. ParallelLimiterLanes.RunAsync sizes Parallel.ForEachAsync to limiter.MaxParallelism, so 32 workers compete for 8 slots. Fixed mode runs 8 workers for 8 slots.
    2. An extra gate. Because the limiter can be resized, each lane gets a SemaphoreSlim(1, 1) turn, and every test goes through WaitInTurnAsync: take the turn, then wait for a slot. With 32 workers and 8 slots, the worker holding the turn almost always waits asynchronously for a slot, and the others wait for the turn. Each test start then needs two continuations through the thread pool: the slot release wakes the turn holder, and its turn release wakes the next worker. It also allocates an async Task state machine and two semaphore waiters. In fixed mode the slot wait is usually uncontended and completes synchronously.
    3. Queue delay matters most when CPUs are busy. On a busy 4-vCPU runner, and more so under coverage instrumentation, which lengthens every work item, thread-pool queue delay is what limits how fast tests start. With short async tests (most of ours take milliseconds), that start rate is the bottleneck.

    The max-8 runs support this: they keep the sampler and the resizable limiter but drop the extra workers, and the Linux slowdown went away. One caveat: max 8 also stops any raise trials, but the summaries show almost none happened, so the extra workers are the likelier cost.

    Two smaller points I noticed and did not measure separately:

    • Setup on short runs. The controller thread builds its samplers and takes a first reading at startup, and Dispose joins it for up to 1s. Our projects that finish in under a second were 0.15s to 0.4s slower under coverage, which fits a fixed startup or shutdown cost.
    • Early cuts. A CPU-saturation cut is possible a few seconds into a run, because _lowerHoldUntil starts at zero and the 15s hold applies only after a lowering trial. Some short runs therefore ended at 6 with no chance to restore the limit.

    Suggestions

    In order of expected impact:

    1. Start only as many workers as the current limit, and add workers when the limit is raised, so a run whose limit never moves behaves like fixed mode. Alternatively, try to take a slot synchronously before entering the turn gate, and make WaitInTurnAsync return ValueTask.
    2. Create the samplers after the first sampling interval instead of before it, and do not block Dispose on a controller that is still setting up.
    3. Apply the initial lowering hold from the start of the run, not only after a lowering trial.

    Environment

    • TUnit 1.90.0. Tests target .NET 10 and .NET 11 on SDK 11.0.100.
    • GitHub-hosted ubuntu-26.04 (image 20261122.9.1) and windows-2025-vs2026 (image 20261123.321.1), 4 vCPU each.
    • Coverage through --coverage (Microsoft.Testing.Extensions.CodeCoverage, as bundled with TUnit), instrumenting only the library under test, not TUnit's assemblies.
    • No other test process ran at the same time. No --maximum-parallel-tests, no --adaptive-min-parallel-tests, and no [ParallelLimiter<T>] in these projects.
    • The tests are almost all in-process, CPU-light async tests using a fake time provider. There are no containers, databases or child processes.

    This was measured for Kevlar in thomhurst/Kevlar#754. We are staying on the fixed limit for now.

  5. thomhurst commented on Nov 30, 2026

    @thomhurst
    OwnerAuthor

    Report from a second CI suite (a Kafka client). Summary: no change in wall-clock time. Test time was +1.3% against the baseline median, with every job inside its baseline range. No new failures that came from adaptive mode. The per-test timings show why: in these suites the session-wide limit is almost never what bounds the run, and in one case the summary hides that.

    Environment

    • TUnit 1.90.0, .NET SDK 11 (net10.0 and net11.0 targets), Microsoft.Testing.Platform executables
    • GitHub Actions ubuntu-latest, 4 vCPU / 16 GB, one test job per runner. Integration jobs share the runner with a Kafka broker in a Testcontainers container.
    • Enabled with context.Settings.Parallelism.Adaptive = true in a [Before(HookType.TestDiscovery)] hook. No bounds and no --maximum-parallel-tests, so every process started at 8 (2..32).
    • No [ParallelLimiter<T>]. Many [NotInParallel], both unkeyed and keyed.
    • --log-level Debug is on in CI, so the logs have every decision: run 1, run 2.

    The suites

    • Unit: 14,288 tests in one process, in-memory and CPU-bound, run under net10.0 and net11.0.
    • Integration: 1,705 tests per framework against a real broker, split across 9 jobs. Each job runs 1 to 7 test processes, one per category, and they take 5 s to 11 min.

    Wall clock

    Time of the "run tests" step. The baseline is the median of 10 recent green runs.

    Job Baseline median (range) Adaptive
    Unit (net10.0) 115 s (109-117) 115 s, 115 s
    Unit (net11.0) 114 s (110-117) 112 s, 116 s
    Integration, longest job 654 s (610-687) 656 s
    Integration, all 18 jobs, summed 7109 s 7199 s

    Summary lines:

    Unit: the parallel test limit ranged from 6 to 12 over 5 changes (2 put back because they did not help) and ended at 12. Time at each limit: 6 for 2s, 8 for 46s, 9 for 2s, 12 for 58s. The machine's CPUs were 38% busy on average, and this process alone used 36% of them. [...] Most common reason for not raising the limit: the CPUs have no headroom

    Integration (a 6-minute process): the parallel test limit ranged from 8 to 12 over 2 changes (1 put back because it did not help) and ended at 8. Time at each limit: 8 for 5m 45s, 12 for 4s. The machine's CPUs were 34% busy on average, and this process alone used 3% of them.

    Longest integration process (11 min): the parallel test limit stayed at 8. The machine's CPUs were 32% busy on average [...] Most common reason for not raising the limit: fewer tests are ready to run than the limit allows, so the limit is not what holds them back

    In run 2, 9 of 60 test processes moved off 8. Most of the raises were put back.

    Why nothing changed

    I rebuilt the number of running tests over time from the startTime/endTime of every test in the JSON report:

    Process Wall Time at 1 running test Time at the limit (8+) What bounds it
    Unit 109 s 44 s (40%) 59 s Unkeyed [NotInParallel] phase, then CPU
    Integration, consumer groups 182 s 7 s 0 s; exactly 4 tests ran for 165 s A SemaphoreSlim(4) taken in [Before(Test)]
    Integration, resilience 650 s 611 s (94%) 0 s One keyed [NotInParallel] chain

    So adaptive mode behaved correctly. The raises it tried were put back because they did not help. These suites are bound by serial tests, by CPU, or by a cap in user code.

    What would have helped us see this faster

    1. A per-test cap in a [Before(Test)] hook is invisible to the controller. Our integration base class takes a SemaphoreSlim(4) per broker in [Before(Test)], because the broker cannot take more coordinator-heavy tests at once. Tests waiting on it appear to hold TUnit parallel slots, so the slots look full and TUnit tries raises that cannot help. In that process the summary's most common reason was "throughput is still changing between measurements", not "fewer tests are ready". The real cause stays hidden.
      • Could TUnit report time that tests spend waiting inside [Before(Test)] hooks while they hold a slot? Or could the docs recommend moving such caps to an adaptive [ParallelLimiter<T>], since tests waiting on a limiter do not block other tests? We plan to try the second.
    2. Report how long only one test was running. For the unit run, a line like "for 44 s only one test was running (unkeyed [NotInParallel])" would have told us at once that no parallel limit could shorten 40% of the run. The same goes for the integration process that ran one test at a time for 94% of its 11 minutes.
    3. The average CPU in the summary is diluted by serial and idle time. The unit summary says 38% busy on average with "the CPUs have no headroom" as the top reason. Both are true, because the parallel phase was CPU-bound and the serial phase used one core of four. This looks like the same "no headroom at 13% CPU" confusion reported above. Could the summary give CPU use only for the time the limit was binding (all slots full)?
    4. Decisions during startup. The first "not raising the limit of 8: the CPUs have no headroom" came 1 s after "Adaptive parallelism enabled", while the process was still starting up. This is minor, but it adds to the reason counts.
    5. The broker container is handled well. Integration runs often saw the CPUs saturated by the broker while the test process used 1-5%. TUnit correctly declined to lower the limit, and the message says why.

    Changing nothing would have been the right result here. Items 1 and 2 would have pointed us straight at the real bottlenecks, which are the serial chains and our own semaphore, instead of the parallel limit.

  6. thomhurst commented on Nov 30, 2026

    @thomhurst
    OwnerAuthor

    No change from session-wide adaptive mode. An adaptive limiter could not adapt a small group of slow tests.

    Summary. Turning on --adaptive-parallelism made no difference on our CI, because 98% of each run has only one test running. The cause is one [NotInParallel] class whose tests each start a PowerShell child process. Replacing that [NotInParallel] with a [ParallelLimiter<T>] at limit 2 halved test time. When that limiter was adaptive, it almost never moved: the group finished before the limiter had enough completions to start a trial. A limiter that starts at its maximum also cannot be lowered, even when its own child processes saturate the CPUs.

    Environment

    • TUnit 1.90.0, SDK 11.0.100. Targets net8.0 and net10.0, plus a net8.0 test project that compiles the same test files against a netstandard2.0 build of the library. That makes 3 test processes per job, run one after another through dotnet test on Microsoft.Testing.Platform.
    • GitHub-hosted ubuntu-latest, ubuntu-24.04-arm and windows-latest, 4 vCPU each, one job per runner. No containers.
    • Enabled with TUNIT_ADAPTIVE_PARALLELISM: 1 at workflow level. No bounds and no --maximum-parallel-tests. Every process logged limit starts at 8 and moves between 2 and 32.

    The suite

    About 270 tests per process. 248 of them are fast, in-memory concurrency tests, and they all finish within 1.3–3.2s. The other 22 are in one class marked [NotInParallel]. Each of those tests starts pwsh to run a script, and one test starts it 24 times in a row. These tests take 0.4s to 25s each, about 57s in total on ubuntu-latest.

    Wall clock: session-wide adaptive mode

    dotnet test step for the first two test processes, plus the third, in seconds:

    Runner Adaptive, 1 run Fixed, same time Fixed, last 5 runs
    ubuntu-latest 172 + 80 115 + 53 129–150 + 62–72
    ubuntu-24.04-arm 158 + 75 222 + 129 157–166 + 74–78
    windows-latest 89 + 38 104 + 50 62–105 + 30–50

    All within runner noise. Typical summary line (all 9 processes stayed at 8):

    Adaptive parallelism: the parallel test limit stayed at 8. The machine's CPUs were 31% busy on average, and this process alone used 2% of them. For 1s the CPUs were saturated while this process and its child processes used less than half of them, so the limit was not lowered for CPU saturation. Most common reason for not raising the limit: the CPUs have no headroom
    

    Rebuilt from the JSON report's startTime/endTime, ubuntu-latest, net10.0: wall time 57.3s, of which 56.0s had exactly one test running. The other tests were done after 1.3s. This is the same pattern as the Dekaf report above. A "for 56s only one test was running" line would have shown the cause immediately. Instead, the top reason given was "the CPUs have no headroom" at 31% average CPU.

    What helped: replacing [NotInParallel] with [ParallelLimiter<T>]

    The class now uses [ParallelLimiter<PowerShellLimit>], where PowerShellLimit : IAdaptiveParallelLimit and its start and maximum limits come from environment variables. Session-wide adaptive mode stayed on. One CI run per variant, all green:

    Runner Limit 1 (serial, = [NotInParallel]) Adaptive, start 2, max 4 Fixed 4
    ubuntu-latest 125 + 59 68 + 31 93 + 45
    ubuntu-24.04-arm 159 + 76 89 + 43 112 + 50
    windows-latest 102 + 51 46 + 23 45 + 20

    For one test process, ubuntu-latest, net10.0:

    Limit Wall Sum of test durations in the group Longest test Other tests done after
    1 57.3s 57.3s 19.2s 1.3s
    2 (adaptive, never moved) 29.0s 57.6s 19.1s 1.5s
    4 (fixed) 41.7s 123.9s 36.8s 4.6s

    On a 4-vCPU Linux runner, 4 pwsh processes at once saturate the CPUs. Each test then takes twice as long, and the run is slower than at limit 2. So the best limit is somewhere around 2–3 here. On a 20-core desktop the best limit is higher: locally, 8 and 20 both took about 11s, against 14s at limit 2 and 27s serial. That variation is exactly what an adaptive limiter is for, and it could not find either limit.

    Why the adaptive limiter did not adapt

    1. It never starts a trial in a short, slow group. Locally (20 cores, start 2) it reported the limit stayed at 2 in every run. On CI it raised 2 → 3 in 2 of 9 processes and in none of the others. From AdaptiveLimiterPolicy in v1.90.0, a window closes only after max(8, 2 × limit) completions (or 30s). Then the limit must stay steady, within 15%, over two measurable windows before the first raise. At limit 2 that means 16 completions with steady throughput. This group has 22 tests whose durations range from 0.4s to 25s, so it ends first, or its throughput is never steady. A minimum count of completions works for hundreds of short tests. It rules out a group of a few slow ones, which is where the right limit is hardest to guess.
    2. A trial that never gets a verdict reads like a result. Two processes ended with the limit ranged from 2 to 3 over 1 change and ended at 3. As far as I can tell the raise was never judged, because the group ran out of tests first. The summary could say that the trial had no verdict.
    3. A limiter at its maximum is never lowered, even when its own child processes saturate the CPUs. In the fixed-4 run (start = max = 4) the limiter stayed at 4 while test durations doubled. Lowering is tried only from a limit at which a raise was rejected. Meanwhile the session-wide controller acted on the saturation instead:
      Adaptive parallelism: limit 8 -> 6 (CPUs saturated; checking that fewer tests cost no throughput); CPU 100% in the latest sample (18% from this process, 67% from its child processes), memory load 14%
      Adaptive parallelism: limit 6 -> 8 (the lower limit cost throughput); CPU 94% in the latest sample (19% from this process, 65% from its child processes), memory load 13%
      
      The child processes belonged to tests behind the limiter, so lowering the session limit could not relieve them. Could CPU saturation caused by a process's own child processes count as a reason to try lowering an adaptive limiter whose tests are running?
    4. The limiter summary gives no reason. The session summary names its most common reason for not raising the limit. The limiter summary only says the limit stayed at 2, and at --log-level Debug nothing at all is logged for the limiter when it does not change. A reason such as "not enough tests finished to measure throughput (5 of 16 needed)" would have explained it.
    5. Child process CPU in the serial runs. Every test in the serial phase starts pwsh, but none of the 9 serial-run summaries has an "Its child processes used" sentence. The debug log says this process and its child processes use only 41%–49% while the CPUs were saturated. Each child lives about 0.4–1s. Are processes that start and exit between two 250 ms samples counted?

    Suggestions, in order of expected value for suites like this

    1. Let an adaptive limiter start a trial on a time basis when few tests finish, such as one window of a few seconds with its slots full, instead of requiring max(8, 2 × limit) completions twice.
    2. Report time with only one test running, and which [NotInParallel] key caused it.
    3. Allow a lowering trial on an adaptive limiter at its maximum when its tests' child processes saturate the CPUs.
    4. Add a reason to the limiter summary, and say when a trial ended without a verdict.

    Logs

    Debug .diag files and JSON reports for every process are attached as artifacts to these runs:

    Session-wide adaptive runs: adaptive, fixed.

    Measured for Reservoir in thomhurst/Reservoir#224 and thomhurst/Reservoir#225.

  7. thomhurst commented on Nov 30, 2026

    @thomhurst
    OwnerAuthor

    Shared parallel budget: slower for I/O-bound suites, because equal parts give away productive slots and cap adaptive mode

    Summary. I tried TUNIT_SHARED_PARALLEL_BUDGET on CI jobs that run several test processes at once on one runner. Nobody in this thread had tried it yet. It made no difference to the CPU-heavy job and made an I/O-bound suite slower, so we turned it off. Rebuilding the running-test timeline from TRX reports shows why: the budget is split equally, so a process whose extra slots buy nothing keeps them, and a process that needs them is capped. Adaptive mode can't correct this, because the part is a hard ceiling on the adaptive limit.

    Environment

    • TUnit 1.90.0 (and 1.88.3 with adaptive mode on as the baseline). .NET 11, Microsoft.Testing.Platform executables run directly.
    • CI: Linux runners with 4 vCPU and 16 GB. Each job runs 2–4 "lanes" at once. A lane runs its test processes one after another, so 2–4 test processes are always running together. Adaptive mode is on everywhere through context.Settings.Parallelism.Adaptive = true. No --maximum-parallel-tests, so the budget is 8.
    • Budget name: one per job, exported before the lanes start.
    • Tests are mostly I/O: PostgreSQL in Testcontainers, an in-process ASP.NET Core host per test class, plus emulator containers. Two [ParallelLimiter<T>] (non-adaptive) bound a PostgreSQL connection budget in one suite.

    CI results (one job per framework, test step)

    Baseline: 8 recent green runs on 1.88.3 with adaptive mode on and no budget.

    Measure Baseline range (median) Budget, run 1 Budget, run 2
    4-lane job, test step 282–578 s (~505 s) 433 s 429 s
    Its longest process (6,700 tests, the critical path) 280–578 s 432 s 427 s
    2-lane job, test step 171–284 s (~240 s) 216 s 275 s
    2-lane job: suite A (1,250 tests) 205–283 s 215 s 274 s
    2-lane job: suite B (230 tests) 128–169 s 173 s 200 s

    Suite B was slower than every baseline run in both samples. Everything else stayed inside runner noise. In the 4-lane job, most processes ran at 2–4 tests, and the critical-path process grew back to 8 as the other lanes finished. It is the longest process anyway, so the split cost it little.

    Local A/B (to see the mechanism)

    The 2-lane pair run together, both processes pinned to 4 cores with processor affinity, --maximum-parallel-tests 8, adaptive on, two alternating rounds. The running-test timeline is rebuilt from TRX startTime/endTime:

    Process Mode Wall Mean tests running Time at 8+ running
    Suite A fixed 213 s, 216 s 5.2, 5.7 57 s, 67 s
    Suite A budget (part 4) 210 s, 214 s 3.8, 3.9 9 s, 12 s
    Suite B fixed 164 s, 176 s 5.6, 5.4 76 s, 78 s
    Suite B budget (part 4) 180 s, 180 s 3.4, 3.4 6 s, 6 s
    • Suite A lost a third of its concurrency and took the same time. Its extra slots bought nothing, because it is bound by a [ParallelLimiter<T>] on its hosts and by host startup.
    • Suite B is bound by the limit. In fixed mode it spends about 77 s with 8 or more tests running. Capped at 4, it got 3–14 s slower.
    • So the equal split took slots from the process that used them productively and gave the same number to one that didn't.
    • The machine was only 46–58% busy on average in both modes. On I/O-bound suites, a budget of 2 × cores is lower than what the processes together can use.

    Causes in the 1.90.0 source

    1. Equal parts, no demand or throughput signal. SharedParallelBudget.GetPart gives each member budget / members. A process waiting in a [ParallelLimiter<T>], in a [NotInParallel] chain, or simply not benefiting from more slots keeps its whole part.
    2. The part is a hard ceiling on the adaptive limit. MaxParallelismLimiter.Apply uses Math.Min(_requestedLimit, _ceiling), and the budget is the fixed limit (2 × cores), not the adaptive maximum. With a budget, adaptive mode can only lower the limit, never raise it past the part. Suite B's summary says it directly: the parallel test limit stayed at 4 ... Most common reason for not raising the limit: it is the highest limit allowed, while the machine was 47% busy.
    3. Child test processes join the budget. Two of our tests start a child test executable (to test fixture cleanup and startup diagnostics). The child inherits TUNIT_SHARED_PARALLEL_BUDGET, joins as a member, and takes a share from the real processes. The summary said up to 3 test processes for a 2-lane job. Removing the variable from the child's environment fixed it, but this is easy to miss.

    The summaries were also confusing

    • The adaptive line reports the requested limit, not the effective one. With a part of 4, suite A's summary said the parallel test limit stayed at 8, while it never ran more than 4 to 8 (and mostly at 4). Suite B's said stayed at 4. When a budget caps the limit, the adaptive line should give the effective limit, or say that the budget held it.
    • "Memory has no headroom" was the most common reason in the local runs while the machine had memory to spare. I did not dig into it. With a debug log I can if that helps.

    Suggestions, in order of expected value

    1. Let adaptive mode raise past its part when the machine has headroom. For example: split the adaptive start limit equally, but cap the sum of all members' limits at the adaptive maximum (8 × cores) instead of at 2 × cores. That keeps the start safe and lets a process that gains from more slots find them.
    2. Weight parts by demand. A process with fewer ready tests than its part, such as one behind a limiter or a [NotInParallel] chain, could publish its idle slots for the others to take. Running tests are never interrupted, so a process taking its slots back would only have to wait for them to finish, as it does today.
    3. Optionally, weight by measured gain. Each process already measures throughput per limit. Moving a slot from a process whose last raise was rejected to one whose last raise was kept would have fixed exactly this case.
    4. Document, or handle, child test processes inheriting the budget name. For example, skip joining when the parent process is itself a member of the same budget.
    5. Report the effective limit in the adaptive summary when a budget held it down.

    We have gone back to adaptive mode without a budget. As the other reports found, adaptive mode alone also never raises the limit on these runners, because the CPUs are saturated by the sibling processes and the containers.

  8. thomhurst commented on Nov 30, 2026

    @thomhurst
    OwnerAuthor

    No change in CI, because a [ParallelLimiter] was the real cap. The adaptive limiter gave unstable results.

    Summary. Session-wide adaptive mode made no difference to our CI. Our largest test process has an assembly-wide [ParallelLimiter<T>] at 2, so the session limit never binds. The summary blamed the CPUs or "fewer tests are ready" instead of the limiter. When we made that limiter adaptive, the outcome varied from run to run: it went down to 1 in 7 of 8 runs, and in 4 of them never rose above 3, while fixed 2 and fixed 8 were both steady.

    Environment

    • TUnit 1.90.0, .NET SDK 11.0.100, net11.0, Microsoft.Testing.Platform executables run with dotnet run.
    • CI: GitHub-hosted ubuntu-latest (4 vCPU, 16 GB), windows-latest and macos-latest. Each runner builds and runs several test processes at once, with code coverage.
    • Local: Windows 11, 20 logical CPUs, one test process at a time, no coverage.
    • TUNIT_ADAPTIVE_PARALLELISM=1 at workflow level. No --maximum-parallel-tests and no adaptive bounds.

    The suite

    The process that matters has 5,513 tests that build and run small pipelines in process. Some start child processes, and test durations range from microseconds to about 30s. Because concurrent startup under load caused timeouts, the assembly carries [assembly: ParallelLimiter<PipelineTestParallelLimit>] with Limit => 2. About 60 smaller test processes have no limiter and take 2–15s each.

    CI: one adaptive run against three earlier runs

    Baseline (3 runs) Adaptive
    Pipeline job 1226–1491s 1206–1219s
    Largest process, ubuntu 159 / 214 / 229s 216s
    Largest process, windows 165 / 170 / 182s 145s
    Largest process, macOS 254 / 262 / 267s 250s

    All within runner noise. I rebuilt the number of running tests from the TRX start and end times: the largest process never ran more than 2 tests at once on any OS. The summaries did not say so:

    Adaptive parallelism: the parallel test limit stayed at 8. The machine's CPUs were 62% busy on average, and this process alone used 17% of them. Its child processes used 17% in the 1m 17s they were measured, which is while the CPUs were nearly saturated. For 1m 43s the CPUs were saturated while this process and its child processes used less than half of them, so the limit was not lowered for CPU saturation. Most common reason for not raising the limit: the CPUs have no headroom
    
    Adaptive parallelism: the parallel test limit stayed at 8. The machine's CPUs were 30% busy on average, and this process alone used 16% of them. Most common reason for not raising the limit: fewer tests are ready to run than the limit allows, so the limit is not what holds them back
    

    The second line is from Windows. About 5,000 tests were ready but queued behind the limiter at 2. Locally, the session controller logged not raising the limit of 40: the limit of a [ParallelLimiter] is being tried, but only at --log-level Debug.

    The processes without a limiter also stayed at 8. Most finish in under 15s. Two longer ones are dominated by a single 29s or 50s test.

    Local: the limiter at 2 made adaptive

    PipelineTestParallelLimit became an IAdaptiveParallelLimit with start and bounds read from environment variables. Wall time of the whole process, all runs green:

    Limiter Runs (wall, limiter summary)
    Fixed 2 152s, 151s, 149s
    Fixed 8 94s, 100s, 122s
    Adaptive, start 2, min 1, max 16 201s (1–3, ended at 1), 201s (1–3, ended at 1), 149s (1–3, ended at 3), 95s (2–16, ended at 12), and 4 runs disturbed by a bug in our suite (see note)
    Adaptive, start 2, min 2, max 16 103s (2–12, ended at 4), and 2 runs disturbed by the same bug

    Note: in 6 of the 11 adaptive runs, about 30 tests in one class hit an order-dependent 5s stall inside our own code, which added 60–120s. That stall is our bug (thomhurst/ModularPipelines#7632), not TUnit's, and I left those runs out of the comparison. It surfaced only because the adaptive limiter changes which tests overlap.

    Without the stall, adaptive reached fixed-8 speed when it climbed (95s, 103s). When it went down to 1 it was a third slower than fixed 2 (201s against 150s). Typical timeline (minimum 1):

    +4s   limit 2 -> 3 (trying more tests at once)
    +6s   limit 3 -> 2 (the last raise did not improve throughput)
    +22s  limit 2 -> 3 (trying more tests at once)
    +24s  limit 3 -> 2 (the last raise did not improve throughput)
    +29s  limit 2 -> 1 (checking that fewer tests at once cost no throughput)
    +115s limit 1 -> 2 (trying more tests at once)
    +117s limit 2 -> 1 (the last raise did not improve throughput)
    +160s limit 1 -> 2 (trying more tests at once)
    +164s limit 2 -> 1 (the last raise did not improve throughput)
    

    The run then spent 166 of its 198s with exactly one test running. The machine was 19% busy, and no test failed.

    Observations

    1. The session summary does not name a binding [ParallelLimiter]. When every test waits on one limiter, the most common reason should say so, for example "5,513 tests ran behind [ParallelLimiter] PipelineTestParallelLimit at limit 2, so the session limit was not what held them back". "The CPUs have no headroom" sent us to the wrong place.
    2. Trials are judged faster than our tests finish. Raises were rejected after 1–4s, while single tests take up to 30s and many take 5s. In a mixed suite, the throughput of a 2s window depends on which tests happen to finish in it. Fixed 2 took 150s against 201s for our runs that sat at 1, yet both raises from 1 were rejected within 2–4s.
    3. Lowering below the start without any pressure. The 2 -> 1 trial began with the machine 19% busy and no failures, then lasted 86s with no verdict logged. As I read AdaptiveLimiterPolicy, a lowering is tried whenever a raise is rejected. For a limiter, trying a limit below the user's start value with no CPU, memory or failure signal seems risky, because the starting value is usually a deliberate safe choice, not a guess.
    4. Results depend on the first few windows. The same configuration ended at 1 in two runs and at 12 in another. Setting MinimumLimit equal to the start avoided the collapse here, so that may be worth recommending in the docs until the trial logic is steadier.

    Suggestions, in order of value to us

    1. Name a binding [ParallelLimiter] in the session summary, with the share of time that tests waited on it.
    2. Size a limiter's measurement windows from the observed time tests spend inside it (the policy already tracks _averageTimeInside), for example several multiples of it, instead of a minimum of 1s.
    3. Do not try lowering an adaptive limiter below its start limit unless there is CPU, memory or failure pressure, or make that behaviour opt-in.

    For reference, the tracking issues on our side are thomhurst/ModularPipelines#7633 (the limiter) and thomhurst/ModularPipelines#7634 (the 29–50s single tests). Measured for ModularPipelines in thomhurst/ModularPipelines#7630.

  9. thomhurst commented on Nov 30, 2026

    @thomhurst
    OwnerAuthor

    1.90.1 follow-up (Reservoir): same speed as fixed, and the summary now names the real cause

    Summary. This follows up on our 1.90.0 report above. On 1.90.1, adaptive mode is still no faster than a fixed limit on our CI. That is expected: the limit stayed at 8 in every process, because one keyed [NotInParallel] chain fills about 95% of each run. The new summary line says exactly that, and it now shows up in dotnet test output. On 1.90.0 it blamed "the CPUs have no headroom" at 31% CPU. I saw no overhead and no failures.

    Environment

    • TUnit 1.90.1 on this PR's branch. .NET SDK 11.0.100. Targets net8.0 and net10.0, plus a net8.0 project that compiles the same test files against a netstandard2.0 build of the library. That makes 3 test processes per job, run one after another through dotnet test on Microsoft.Testing.Platform.
    • GitHub-hosted ubuntu-latest, ubuntu-24.04-arm and windows-latest, 4 vCPU each, one job per runner. No containers.
    • Enabled with TUNIT_ADAPTIVE_PARALLELISM: 1 at workflow level. No bounds, no --maximum-parallel-tests, no [ParallelLimiter<T>].
    • Baseline: main with a fixed limit. main is still on TUnit 1.90.0. The 1.90.1 PR notes say the fixed path on .NET is unchanged, so I treat it as a fair baseline.
    • 3 adaptive and 3 fixed runs, started alternately with workflow_dispatch within one minute, so they shared runner conditions.

    The suite

    About 270 tests per process. 248 are fast in-memory concurrency tests that finish within a few seconds. The other 22 are in one class marked [NotInParallel(nameof(BenchmarkDocsTests))]. Each of those tests starts pwsh, and together they take most of the run. No parallel limit can shorten that chain.

    Wall clock

    dotnet test step for the main project (net8.0 + net10.0) plus the netstandard2.0 project, in seconds:

    Runner Adaptive 1.90.1 (3 runs) Fixed, same time (3 runs) Adaptive 1.90.0 (1 run, earlier) Fixed, same time as that
    ubuntu-latest 127+60, 136+64, 99+46 120+57, 144+69, 142+70 172+80 115+53
    ubuntu-24.04-arm 155+74, 162+78, 162+76 162+78, 151+73, 170+79 158+75 222+129
    windows-latest 103+49, 102+49, 103+56 107+50, 106+51, 110+48 89+38 104+50

    Sum of the three test process durations TUnit reports, mean of 3 runs:

    Runner Adaptive 1.90.1 Fixed Difference
    ubuntu-latest 173s (141–196) 196s (171–209) -12%, inside noise
    ubuntu-24.04-arm 229s (224–236) 230s (220–235) 0%
    windows-latest 147s (144–152) 148s (147–149) -1%

    The ubuntu-latest gap comes from one fast runner in the adaptive set (46–50s per process) and two slow runners in the fixed set (about 69s per process). Process durations cluster by runner, not by mode. With the limit flat at 8 in every process, I read all three rows as "no difference". The useful result is that adaptive mode cost nothing here. But this suite would not show the extra-worker overhead from the Kevlar report anyway, because its parallel part lasts only a few seconds.

    Summary lines

    The main project, every runner and both frameworks (18 of 18 processes):

    Adaptive parallelism: the parallel test limit stayed at 8. For 1m 0s of 1m 4s, tests waited for a [NotInParallel] key ("BenchmarkDocsTests" the most), which no limit changes.
    

    The shares ranged from 42s of 45s to 1m 17s of 1m 21s. The netstandard2.0 project gave the same line on Linux, but a lower share on Windows in all 3 runs:

    Adaptive parallelism: the parallel test limit stayed at 8. For 29s of 47s, tests waited for a [NotInParallel] key ("BenchmarkDocsTests" the most), which no limit changes.
    

    The package tests (5 tests, under 1s) printed only the parallel test limit stayed at 8.

    Locally (Windows, 20 logical CPUs, net10.0): the parallel test limit stayed at 40. For 26s of 29s, tests waited for a [NotInParallel] key ("BenchmarkDocsTests" the most), which no limit changes.

    Good

    • The summary names the real cause. On 1.90.0 we had to rebuild the timeline from the JSON report to find the [NotInParallel] chain. On 1.90.1 the first line says it, with the key name and its share of the run. That was our top suggestion, and it works.
    • It is visible under dotnet test. On 1.90.0 the line never reached the CI log. Now there is one line per test process, right above the result line, including when one dotnet test call runs two target frameworks.
    • The line is short. About 170 characters instead of 400 or more. It reads well in the GitHub log viewer.
    • No "CPUs have no headroom" at low CPU. No process blamed the CPUs.
    • No cost, no failures. 33 test processes over 3 runs (27 main suite, 6 package tests) passed, with no failures, retries or flaky tests. The timings match the fixed limit.

    Bad, or unclear

    1. Windows netstandard2.0 share is lower, and the rest is unexplained. The same 22 tests run in the same order there, yet the line says 29s of 47s (also 29s of 46s and 34s of 54s). The main project on the same runner says 44s of 47s. Where did the other 13–20s go? If tests were running alongside the chain, the summary could say so. If something else held the run back, it could name it.
    2. "the most" with a single key. There is only one key in this suite, so ("BenchmarkDocsTests" the most) reads oddly. Something like (key "BenchmarkDocsTests") would fit the one-key case.
    3. No details line in CI. The PR describes "one short line plus a details line". I only saw the short line in the dotnet test output, at the default verbosity. That is fine for us. If the details line is meant to show there too, it did not.
    4. No reason for very short runs. The package tests printed only stayed at 8. with no reason. I assume that is because nothing is measured in the first 2 seconds. Saying so, for example "the run was too short to measure", would avoid the question.

    None of this changes our conclusion: the serial PowerShell chain is the bottleneck, and adaptive mode correctly leaves the limit alone. The fix for the chain is tracked in thomhurst/Reservoir#225.

    Runs

    Measured in thomhurst/Reservoir#224.

  10. thomhurst commented on Dec 1, 2026

    @thomhurst
    OwnerAuthor

    1.90.1 on Relayer: no measurable speed change, and the summary is now visible under dotnet test

    This follows up our 1.90.0 report above ("No change: CPU-bound CI runner, limit never moved"). On 1.90.1 the dotnet test step was 6% faster on average than our baseline, but that is well inside runner noise. The limit still stayed at 8 in 98 of 108 test processes. The other 10 lowered it for a while and never raised it. No test failed. The biggest change for us is that the summary line now appears in the normal CI log.

    Environment

    Same setup as the 1.90.0 report:

    • TUnit 1.90.1, .NET 10 and .NET 11 (one CI job per framework), Microsoft.Testing.Platform runner.
    • GitHub-hosted ubuntu-latest: 4 vCPU, 16 GB memory. Not in a container.
    • dotnet test over a solution with 18 test projects. MTP runs 4 test processes at once.
    • Only TUNIT_ADAPTIVE_PARALLELISM=1. No debug log this time, no --maximum-parallel-tests, no adaptive bounds, no [ParallelLimiter<T>], no shared budget.
    • About 3,600 tests per framework. Most run against PostgreSQL, SQL Server, MySQL, Kafka, NATS, RabbitMQ and the Pub/Sub emulator in Docker.

    Wall-clock time (dotnet test step, per framework job)

    net10.0 net11.0
    Without adaptive, TUnit 1.87.12 (8 runs, range) 250–394 s (median 378) 285–389 s (median 353)
    Adaptive, 1.90.0 (3 runs) 248 / 415 / 356 s 307 / 357 / 402 s
    Adaptive, 1.90.1, run 1 369 s 295 s
    Adaptive, 1.90.1, run 2 314 s 286 s
    Adaptive, 1.90.1, run 3 389 s 339 s

    Across all 6 jobs, 1.90.1 averaged 332 s. The baseline averaged 352 s (standard deviation 43 s), and 1.90.0 averaged 348 s. Every 1.90.1 result is inside the baseline range. Per-project times were also a little lower across the board, including projects where the limit never moved, so I put this down to faster runners on the night we measured. It is not a result.

    Per-project medians (seconds) for the largest projects:

    Project Baseline (16 jobs) 1.90.0 (6 jobs) 1.90.1 (6 jobs)
    Relayer.Tests (about 1,500 tests, in-memory) 226 222 197
    Relayer.Outbox.PostgreSql.Tests 194 188 168
    Relayer.SourceGenerators.Tests 160 163 120
    Relayer.Kafka.Tests 117 118 109
    Relayer.Outbox.SqlServer.Tests 67 69 67

    The 1.90.0 slowdown that Kevlar reported (extra workers when the limit never moves) did not show here, on either version. That is expected: our tests are slow I/O tests, not short CPU-light ones.

    Summary lines

    All 18 lines per job now appear in the plain dotnet test output, between the per-project result lines. Typical lines from one job:

    Adaptive parallelism: the parallel test limit stayed at 8. Tests waited for it for 2m 36s of 2m 43s, with the CPUs 93% busy; it was not raised mostly because the CPUs had no headroom.
    Adaptive parallelism: the parallel test limit stayed at 8. Tests seldom waited for it: fewer were ready to run than it allows.
    Adaptive parallelism: the parallel test limit stayed at 8.
    

    10 of 108 processes moved the limit. All moves were down, and all of them were in three projects: Relayer.Tests, Relayer.Kafka.Tests and Relayer.SourceGenerators.Tests. For example:

    Adaptive parallelism: the parallel test limit moved and ended back at 8 (lowest 2, highest 8, 5 changes). Tests waited for it for 1m 46s of 1m 52s, with the CPUs 82% busy; it was not raised mostly because memory had no headroom.
    Adaptive parallelism details: time at each limit: 2 for 57s, 3 for 3s, 4 for 3s, 5 for 8s, 8 for 42s. The machine's CPUs were 80% busy on average, and this process alone used 6% of them. Its child processes used 1% over the 1m 49s they were measured. For 1m 19s the CPUs were saturated while this process and its child processes used less than half of them, so the limit was not lowered.
    
    Adaptive parallelism: the parallel test limit moved and ended back at 8 (lowest 4, highest 8, 5 changes, 1 put back). Tests waited for it for 3m 22s of 3m 52s, with the CPUs 91% busy; it was not raised mostly because the CPUs had no headroom.
    Adaptive parallelism details: time at each limit: 4 for 1m 34s, 6 for 17s, 8 for 2m 1s. The machine's CPUs were 81% busy on average, and this process alone used 4% of them. Its child processes used 0% over the 3m 49s they were measured. For 2m 56s the CPUs were saturated while this process and its child processes used less than half of them, so the limit was not lowered.
    

    Good

    1. The summary is visible under multi-project dotnet test. This was our first point on 1.90.0, and it is fixed. We no longer need --diagnostic or dotnet run to see whether the feature did anything.
    2. The lines are short and easy to scan. The "Tests waited for it for X of Y, with the CPUs Z% busy" form is much clearer than the old average. A project at 100% CPU while waiting now says "no headroom" and it matches what we saw.
    3. "Tests seldom waited for it" is useful. It marks the short projects (RabbitMQ Streams, Tracing, Aspire) where no limit would help.
    4. The details line appears only when the limit moved. That keeps 15+ unchanged projects to one line each.
    5. It was safe. Three runs, 6 jobs, about 21,600 test executions, no failures and no new flakes. Lowering Relayer.Tests or Relayer.Kafka.Tests to 2 or 4 did not break anything.
    6. No overhead when the limit does not move. The fix for extra workers made no visible difference for us either way, which is what we wanted.

    Bad, or confusing

    1. A line does not say which test project it belongs to. With 4 test processes running at once, the lines are interleaved with other projects' result lines. A summary line usually comes just before its own project's result line, but not always. I matched lines to projects by comparing "of Y" with each project's duration and timestamps. A project or assembly name in the line, for example Adaptive parallelism (Relayer.Kafka.Tests): ..., would fix this.
    2. A lowered limit with no reason, next to a sentence that says it was not lowered. Relayer.Kafka.Tests went down to 2 for 57 s, and Relayer.Tests to 4 for up to 1m 34s. The details line then says "the CPUs were saturated while this process ... used less than half of them, so the limit was not lowered". The 1.90.0 wording ended "not lowered for CPU saturation", which was correct here. The shorter wording now reads as a contradiction. The summary also gives no reason for the lowering. Some of these lines name "memory had no headroom" as the top reason for not raising, so I guess memory pressure caused the lowerings (16 GB runner, with SQL Server, Kafka and other containers). We did not capture a debug log, so I cannot confirm that. Could the line name the reason for a lowering, such as "lowered for memory pressure for 57s"?
    3. Lowering may have cost Kafka a little. In the three jobs where Relayer.Kafka.Tests went down to 2 or 4, it took 116–132 s. In the three jobs where it stayed at 8, it took 99–102 s. That is a small sample and inside the baseline range (84–146 s), so I would not draw a conclusion from it. Relayer.Tests showed no such pattern (184–234 s lowered, 184–195 s not lowered).
    4. Container load is still not named. The details line says the process used 4–6% while the CPUs were saturated, but it does not say who used the rest. In our case it is the database and broker containers the tests start. The debug message says containers are not counted as child processes, but that sentence is not in the summary. For a limit that stayed at 8 there is no details line at all, so "the CPUs had no headroom" is the only clue. A short note such as "most of the load came from other processes or containers" would make the line clear on its own. This was our second point on 1.90.0, and it is only partly addressed.
    5. "No headroom" at 62% busy. One line reads "with the CPUs 62% busy; it was not raised mostly because the CPUs had no headroom". Presumably CPU went over the threshold in the moments that mattered, but the two numbers still look odd side by side. This is minor compared with 1.90.0.
    6. A change at the very end of a run. One SourceGenerators line says "went from 8 to 6", and its details line says "6 for 0s". A change that never took effect makes the first line look like a lasting result.

    What it means for Relayer

    Our bottleneck is unchanged: a 4 vCPU runner saturated by containers, with 4 test processes at once. Adaptive mode now costs nothing and tells us so in the CI log. It still does not make the run faster.

    Runs

    I can run once with TUNIT_LOG_LEVEL=Debug to confirm why the limit was lowered, if that helps.

  11. thomhurst commented on Dec 1, 2026

    @thomhurst
    OwnerAuthor

    1.90.1: clear summaries, CPU-bound suite 20-40% faster, critical path unchanged

    Follow-up to the 1.90.0 report, after updating Respire to TUnit 1.90.1 (#7916). Results:

    • The summary lines are short now, and the reasons agree with the CPU figures.
    • The CPU-bound analyzer suite went from 1m23s-1m56s to 1m05s-1m07s in both runs.
    • The largest test process is no faster. Its summary shows why: serial tests and one of our own [ParallelLimiter]s hold it back, not TUnit's limit.
    • No failures or flakes.

    Environment

    Same as the 1.90.0 report:

    • TUnit 1.90.1, .NET SDK 11.0.100 (net11.0 and net10.0 targets), Microsoft.Testing.Platform via dotnet run.
    • GitHub Actions ubuntu-latest, 4 vCPU / 16 GB, about 20 parallel jobs, code coverage on.
    • TUNIT_ADAPTIVE_PARALLELISM: 1 at workflow level. No adaptive bounds and no --maximum-parallel-tests, so every process starts at 8. TUNIT_SHARED_PARALLEL_BUDGET is not set.
    • [ParallelLimiter<T>] and [NotInParallel] attributes are unchanged. The only change from the 1.90.0 runs is the package version.

    Timing

    Baseline: three main runs on TUnit 1.87.12 (fixed limit). Then two 1.90.0 runs and two 1.90.1 runs, all adaptive. The second 1.90.1 run is a rerun of the first.

    Measure main, 1.87.12 fixed 1.90.0 adaptive 1.90.1 adaptive
    Whole workflow 1089 / 1138 / 1214 s 929 / 921 s 1789 s / n/a (see note)
    Start to end of last test job 942 / 998 / 1021 s 873 / 868 s 1033 s / n/a
    Largest test process (8511 tests, the critical path) 13m48s / 14m54s / 15m15s 13m10s / 13m10s 15m32s / 13m14s
    Integration tests (Testcontainers) 6m55s / 6m58s / 6m12s 6m19s / 6m43s 6m40s / 6m41s
    Analyzer tests (CPU-bound) 1m26s / 1m54s / 1m23s 1m56s / 1m40s 1m05s / 1m07s

    Note: other workflows in the repository took the runners during both 1.90.1 runs. In the first run, the final gate job waited about 10 minutes for a runner. In the rerun, jobs started up to 20 minutes late, so it has no usable wall clock. Each job runs on its own VM, so the per-process durations are still comparable.

    Reading the table:

    • Analyzer tests: a real gain. Both runs were 16-18 s faster than the fastest of the five earlier runs.
    • Largest process: within noise. The two 1.90.1 runs differ by 2m18s. The faster one sat at 8 for 12 of its 13 minutes and still matched 1.90.0, which sat at 18. The limit makes little difference to this process.
    • Integration tests: no change.
    • Whole workflow: no 1.90.1 figure we can trust. The -19% we saw on 1.90.0 came from the largest process, and the second 1.90.1 run suggests that gain was mostly noise too.

    The summary lines now

    The largest process, in each run:

    Adaptive parallelism: the parallel test limit went from 8 to 12 (lowest 6, highest 24, 9 changes, 3 put back). For 6m 55s of 15m 29s, tests marked [NotInParallel] ran one at a time, which no limit changes.

    Adaptive parallelism details: time at each limit: 6 for 30s, 8 for 2m 27s, 12 for 12m 22s, 24 for 11s. The machine's CPUs were 25% busy on average, and this process alone used 22% of them. [...]

    [ParallelLimiter] TimingSensitive: the limit stayed at 2. Tests waited for it for 7m 33s while the CPUs were 27% busy. Adaptive parallelism never raises a declared limit. If it is not a hard cap, a higher limit, or no limiter, may shorten the run.

    Adaptive parallelism: the parallel test limit moved and ended back at 8 (lowest 6, highest 12, 12 changes, 5 put back). For 5m 59s of 13m 12s, tests marked [NotInParallel] ran one at a time, which no limit changes.

    Adaptive parallelism details: time at each limit: 6 for 25s, 8 for 12m 28s, 12 for 19s. [...]

    The analyzer tests:

    Adaptive parallelism: the parallel test limit went from 8 to 4 (lowest 4, highest 8, 4 changes, 1 put back). Tests waited for it for 54s of 1m 4s, with the CPUs 88% busy; it was not raised mostly because the CPUs had no headroom.

    A job that runs several test processes and Redis containers at once:

    Adaptive parallelism: the parallel test limit stayed at 8. Tests waited for it for 22s of 30s, with the CPUs 98% busy; it was not raised mostly because the CPUs had no headroom.

    Most other processes print one line, for example:

    Adaptive parallelism: the parallel test limit stayed at 8. For 3m 2s of 3m 5s, tests marked [NotInParallel] ran one at a time, which no limit changes.

    The five points from the 1.90.0 report

    1. "No headroom" at 13% CPU: fixed. Every "no headroom" line now gives the CPU figure for the time tests waited. In both runs it was 78-99% each time, so the reason and the number agree.
    2. Ramping up takes time: no longer matters for us. The largest process now holds at 8-12 instead of climbing to 18. The summary shows why that costs nothing: serial [NotInParallel] tests (6-7 min) and our TimingSensitive limiter (6-7.5 min) set its length, not the limit. Short processes still never move, which is expected.
    3. The CPU-bound suite got no faster: now faster. Analyzer tests took 1m05s and 1m07s, against 1m23s-1m56s before. The limit still goes down to 4, but now this lowering helps. I assume the fewer idle workers in ElasticLane explain most of it.
    4. Busy shared runners stay at 8: unchanged, now explained. Those processes still stay at 8. Their lines now say the CPUs were 78-99% busy while tests waited, so holding is right. We have still not tried TUNIT_SHARED_PARALLEL_BUDGET.
    5. Long summary lines: fixed. First lines are now 58-237 characters (median 146). On 1.90.0 the median was about 400 and the longest 701. The details line appears only when the limit moved (4-6 of 62 processes) and is at most 385 characters.

    Good

    • The first line names one cause, and that is what we need. Across 62 processes it showed which suites [NotInParallel], a [NotInParallel] key, a [ParallelLimiter] or the CPU holds back. It also explains why our critical path will not get faster from adaptive mode alone.
    • The new [ParallelLimiter] line is the most useful addition. It shows our TimingSensitive limiter (limit 2) held tests for 6-7.5 minutes in the largest process, with the CPUs about 25% busy. That is a clear lead for us.
    • Naming the busiest [NotInParallel] key ("signalr-integration", "shared-redis-cluster-resharding") points straight to the group.
    • Still safe: 64 test processes per run, two runs, 0 failures, 0 retries, 0 flakes.

    Bad, or confusing

    1. Where the limit settled is not explained. When the limit moved, the first line gives the run's main hold-back, but not why the limit stopped where it did. In the largest process one run kept 12 and the other went back to 8, and neither line says why 12 or 24 was put back. A short reason ("put back: no throughput gain") would help.
    2. Zero-second phrases. "For 0s of 3s, tests waited for [ParallelLimiter] StreamingTestParallelLimit, not for this limit" and "For 0s the CPUs were saturated while this process [...] so the limit was not lowered" add nothing. They could be left out when the time rounds to 0.
    3. The [ParallelLimiter] advice repeats. Every limiter line ends with the same two sentences ("Adaptive parallelism never raises a declared limit. If it is not a hard cap..."). They make up about half of each line. Once per run would be enough.
    4. Adaptive mode did not speed up our critical path, but that is our suite's shape, not a fault. We will look at the TimingSensitive limiter and the serial tests next.

    Runs

  12. 4 remaining items

  13. thomhurst commented on Dec 1, 2026

    @thomhurst
    OwnerAuthor

    Follow-up: our hook semaphore is now a [ParallelLimiter], and the summary names it

    Follow-up to our 1.90.1 report (Dekaf). That report said our SemaphoreSlim(4) in a [Before(Test)] hook was invisible to TUnit, and that we would replace it with a [ParallelLimiter<T>]. We did that in Dekaf#4267. Still TUnit 1.90.1, same runners, same adaptive settings. Three more CI runs were all green.

    Short version: the summary now gets the cause right. Wall-clock time did not change, which we expected: the cap is still 4.

    What we changed

    • Our integration base class now carries [ParallelLimiter<KafkaFixtureParallelLimit>] with Limit = 4. It replaces the hook semaphore and a second, redundant semaphore of 4 for transaction tests.
    • The limit stays at 4 on purpose. It protects the shared broker's group and transaction coordinators, so for us it is a hard cap.
    • Nothing else changed in the test code.

    What the summary says now

    The consumer-groups process, which said "Tests waited for it for 2m 48s of 3m 4s, with the CPUs 8% busy; it was not raised mostly because throughput kept changing between measurements", now says:

    [ParallelLimiter] KafkaFixtureParallelLimit: the limit stayed at 4. Tests waited for it for 2m 57s while the CPUs were 12% busy. Adaptive parallelism never raises a declared limit. If it is not a hard cap, a higher limit, or no limiter, may shorten the run.
    Adaptive parallelism: the parallel test limit stayed at 8. For 2m 57s of 3m 7s, tests waited for [ParallelLimiter] KafkaFixtureParallelLimit, not for this limit.

    That is exactly what we wanted. It names the real bound and says plainly that the TUnit limit is not the problem. The other five consumer-groups summaries say the same, with waits of 2m 51s to 3m 2s and the CPUs 11-18% busy.

    Across the whole run, the change is large. In each run, 58 test processes print a summary line. Before the change (1.90.1 run 3), 28 of them said tests waited for the TUnit limit. After the change, 9 do in every run, 27 name the limiter, and 22 name a [NotInParallel] key. The produce process is a good example. It used to say tests waited for the limit for 1m 23s with the CPUs 46% busy, and the limit moved between 6 and 8. Now it names the limiter for about 1m 25s.

    Of the 9 processes that still blame the TUnit limit, 7 are integration processes with busy CPUs (69-86%). The other 2 are the unit processes, which do not use the limiter. Slots no longer fill with tests that wait on our semaphore.

    The limiter line also gives the wait time and CPU load in one sentence. That makes the choice clear: 3 minutes of waiting at 12% CPU says the cap costs time, so it is up to us to decide whether 4 is still the right number.

    Wall clock

    Time of the "run tests" step, in seconds. "Fixed" is two green fixed-limit runs of the #4267 head (same TUnit, same limiter, adaptive off). It is the closest control we have. No main CI run has finished since the merge.

    Job Fixed, with limiter (2 runs) Adaptive 1.90.1, hook semaphore Adaptive 1.90.1, limiter
    Unit (net10.0) 111, 114 95, 108, 117 116, 94, 107
    Unit (net11.0) 112, 114 103, 109, 112 112, 108, 110
    Integration resilience (net10.0) 616, 626 679, 662, 669 638, 640, 668
    Integration resilience (net11.0) 654, 682 646, 662, 660 617, 627, 682
    Integration messaging (net10.0) 394, 409 442, 400, 440 433, 465, 402
    Integration AOT smoke 611, 572 662, 631, 601 641, 656, 666
    All 21 test steps, summed 6854, 6875 6982, 6974, 6980 6933, 6976, 7030
    • Adaptive time is the same as before the change (mean 6980 s, against 6979 s).
    • The consumer-groups step also did not move (243-254 s, against 236-266 s before). That is expected. Four tests ran at a time before and after. Only the reporting changed.
    • The two fixed runs summed about 115 s (1.7%) less than adaptive. They are also below the range of our earlier fixed baseline (6881-7164 s). With two samples, I read this as noise. It is not evidence that adaptive mode costs time here.

    Do the earlier asks still matter?

    • Hint for idle CPUs while tests wait (items 2 and 3 of the earlier report): our own case is gone. Once the wait was declared, the summary got it right. I would still keep the ask for other users. Anyone who throttles in a hook or a fixture gets the old, misleading line, and "every slot busy for minutes with the CPUs at 8%" is a strong sign on its own. But we can no longer show it in our runs.
    • Lowering into idle time (item 1): still seen, in the unit processes, which do not use the limiter. In run 1, net10.0 spent 30 s at limit 4 and took 116 s, the slowest of the three; its line again says "it was not raised mostly because a lower limit cost no throughput and the CPUs had been saturated". In run 2, net11.0 went down to 4 and ended there (108 s). The other unit runs stayed between 6 and 12 and took 94-112 s. The question from the earlier report still stands.
    • Items 4 to 7 (the "no headroom" wording, unkeyed [NotInParallel], raises rarely sticking, CPU figures under affinity) are unchanged by this work.

    Runs

  14. thomhurst commented on Dec 1, 2026

    @thomhurst
    OwnerAuthor

    Follow-up: our declared [ParallelLimiter]s were the real cap. Raising them helped where adaptive mode could not.

    After the 1.90.1 reports above, the new [ParallelLimiter] summary line kept pointing at our own limiters, not at TUnit's limit. So we tested raising or removing two of them on CI. Both runs used TUnit 1.90.1. This is early data for Dekaf (2 rounds of 3 so far), so treat it as preliminary.

    Short version: in both repos a limiter set years ago "to be safe" cost real time, at low CPU. The 1.90.1 summary made that obvious. Adaptive mode correctly never raises a declared limit, so it could not find this on its own.

    ModularPipelines: PipelineTestParallelLimit 2 → 4 (merged)

    Context: our earlier report. The limiter was added to stop start-up timeouts on busy 4-vCPU runners. We ran limits 2, 4 and 8, three runs each, started together in each round. Median duration of the largest test process (5,513 tests), in seconds:

    OS Limit 2 Limit 4 Limit 8
    windows 180 121 150
    macOS 231 190 252
    ubuntu 203 221 (2 of 3 runs stalled, see below) 187

    Dekaf: KafkaFixtureParallelLimit at 4, 8, and removed (in progress)

    Context: our limiter follow-up. The limit of 4 per broker came from an earlier failure (FindCoordinator for transaction failed after 5 retries on a loaded workstation). Its cause was never identified. Adaptive mode was on in every run here.

    "Run tests" step, seconds, rounds 1 and 2:

    Job Limit 4 Limit 8 No limiter
    Consumer groups (net10.0) 251, 243 195, 188 186, 187
    Consumer groups (net11.0) 250, 248 184, 183 181, 183
    Resilience (net10.0), the longest job 673 622, 623 653, 678
    All 21 test steps, summed 7031 6930, 6842 6938, 6784
    • Consumer groups is about 25% faster at 8 or with no limiter. These are the tests that waited about 3 minutes for the limiter at 12% CPU.
    • No coordinator errors so far, at 8 or with no limiter.
    • The other jobs did not change beyond noise. Our longest job is held back by a keyed [NotInParallel], so total CI time did not change.

    What adaptive mode did once the limiter was gone (consumer groups, net10.0):

    Adaptive parallelism: limit 8 -> 12 (trying more tests at once); CPU 38% in the latest sample (19% from this process, 0% from its child processes), memory load 12%
    Adaptive parallelism: limit 12 -> 8 (the last raise did not improve throughput); CPU 1% in the latest sample (0% from this process, 0% from its child processes), memory load 12%
    Adaptive parallelism: the parallel test limit moved and ended back at 8 (lowest 8, highest 12, 2 changes, 1 put back). Tests waited for it for 1m 24s of 2m 5s, with the CPUs 18% busy; it was not raised mostly because throughput kept changing between measurements.
    

    That looks right to us. It tried 12, saw no gain, and went back to 8. 8 is also where the gain stopped in our fixed trial.

    At limit 8 the limiter line read: [ParallelLimiter] KafkaFixtureParallelLimit: the limit stayed at 8. Tests waited for it for 52s while the CPUs were 16% busy. That is down from about 3 minutes at limit 4.

    Two unit test failures, both outside the limiter

    Neither is caused by the limiter change, because our unit tests do not use it. I include the second because it fits item 1 of our 1.90.1 report (lowering into idle time):

    • Limit 8 branch, net10.0: an EF Core model initialisation race in one of our tests (43ms, InvalidOperationException). That is our bug.
    • Limit 4 control, net11.0: a test that waits for a background wake-up hit its 30s [Timeout]. Just before it, the log shows:
      Adaptive parallelism: not raising the limit of 4: a lower limit cost no throughput and the CPUs had been saturated
      Thread pool starvation detected; raised minimum worker threads from 128 to 256
      
      The limit had been lowered to 4, and TUnit's starvation monitor then raised the thread pool minimum. I can't say whether the lowering played a part, or whether this is a timing bug on our side. We will look into it. It is the second time we have seen the unit process sit at 4 with "a lower limit cost no throughput".

    What this means for adaptive mode

    • The [ParallelLimiter] line is the most useful part of 1.90.1 for us. "Tests waited for it for 2m 57s while the CPUs were 12% busy" led straight to both changes above.
    • We can't replace these limiters with adaptive mode yet. Adaptive mode lowers the limit only for its own CPU or memory pressure. It doesn't react to failures, timeouts, or load on a broker or database container. Those are what our limiters guard against. Today we have to measure each limiter on CI by hand, as above.
    • A possible next step for TUnit, if it fits the design: a limiter that can also be lowered on failure signals. For example, an adaptive limiter that backs off when its tests start timing out or failing. It would then start above a safe minimum and probe upward, as IAdaptiveParallelLimit already does for throughput. With that, we would set a floor (Minimum = 4) and let TUnit find the rest.

    Runs

    I will add the third Dekaf round if it changes anything.

  15. thomhurst commented on Dec 1, 2026

    @thomhurst
    OwnerAuthor

    Dekaf round 3 is in, and it confirms the earlier results.

    We are raising the limit to 8 rather than removing it (thomhurst/Dekaf#4271). On a 4-vCPU runner, 8 holds nothing back. On larger machines the session limit starts much higher, and that is where the original failure happened.

    Round 3 runs: limit 4, limit 8, no limiter

  16. thomhurst commented on Dec 1, 2026

    @thomhurst
    OwnerAuthor

    Reservoir on 1.90.2: same time, clearer summary

    Three adaptive runs on 1.90.2 (thomhurst/Reservoir#224) ran at the same time as three fixed-limit runs of main (1.90.1). All 18 jobs passed.

    "Test" step + "netstandard2.0" step, seconds:

    Runner Adaptive 1.90.2 Fixed, main
    ubuntu-latest 181, 215, 189 215, 220, 190
    ubuntu-24.04-arm 246, 235, 236 243, 242, 238
    windows-latest 107, 155, 174 102, 164, 135
    Sum of all 9 jobs 1738 1749

    No difference beyond runner noise. That is expected: almost all test time is a serial [NotInParallel] chain of PowerShell doc-script tests.

    What 1.90.2 fixes for us: the summary now says exactly that, and each line names the project and target framework:

    Adaptive parallelism (Reservoir.Tests, net10.0): the parallel test limit stayed at 8. For 1m 13s of 1m 16s, tests waited for the [NotInParallel] key "BenchmarkDocsTests", which no limit changes.
    Adaptive parallelism (Reservoir.Package.Tests, net8.0): the parallel test limit stayed at 8. The run was too short to measure.
    

    Both lines are correct and actionable. With several test processes under one dotnet test, the project name makes the output easy to read. I saw no misleading wording in any of the 36 summary lines.

    Runs: adaptive 46691548511, 46691565092, 46691577699; fixed 46691556784, 46691571538, 46691583821

  17. thomhurst commented on Dec 1, 2026

    @thomhurst
    OwnerAuthor

    Reservoir follow-up: removing our [NotInParallel] cut test time by 46%. Adaptive and fixed limits are equal.

    The 1.90.2 summary named the [NotInParallel] key "BenchmarkDocsTests" as the bound. We checked why we had it. The comment said "simultaneous PowerShell cold starts can exhaust hosted runners". Each case uses its own temp directory and shares no state, so it was load protection only. We removed it to let the limit decide.

    "Test" + "netstandard2.0" steps, seconds. All three branches ran at the same time, with three runs each. All passed.

    Runner main (fixed limit, with [NotInParallel]) Adaptive, no [NotInParallel] Fixed limit, no [NotInParallel]
    ubuntu-latest 225, 144, 217 139, 112, 132 / 126, 107, 101 136, 102, 110
    ubuntu-24.04-arm 238, 241, 244 116, 111, 117 / 114, 120, 115 116, 118, 114
    windows-latest 158, 108, 161 78, 92, 94 / 77, 83, 89 63, 103, 79
    Sum of 9 jobs 1736 991 / 928 941

    (The adaptive column has two batches of three runs. The first batch ran next to main, the second next to the fixed control.)

    • The whole gain comes from removing the throttle. With it gone, adaptive (928 s) and fixed (941 s) are the same within noise.
    • That is a good result for adaptive mode: it costs nothing. The CPU-bound PowerShell runs kept the CPUs at 98–100%. Adaptive mode sometimes lowered 8 → 6, then put it back, and it did not slow the run.
    • No new failures in 18 jobs.

    Summary lines are correct. They now blame the limit and full CPUs, not a [NotInParallel] key:

    Adaptive parallelism (Reservoir.Tests, net8.0): the parallel test limit moved and ended back at 8 (lowest 6, highest 8, 2 changes, 1 put back). Tests waited for it for 13s of 37s, with the CPUs 99% busy; it was not raised mostly because the CPUs had no headroom.
    

    Small wording point: some lines that moved and came back end with no reason, for example ... (lowest 6, highest 8, 2 changes, 1 put back). Tests waited for it for 16s of 41s, with the CPUs 100% busy. In this case "the CPUs had no headroom" is implied, but other lines state it.

    Takeaway for other users: the [NotInParallel] line in 1.90.2 points straight at serial chains worth checking. Ours existed for load protection, which is the job adaptive mode now does.

    Runs: main 46693985428, 46693997056, 46694011422; adaptive 46693978603, 46693990444, 46694004204, 46695555090, 46695567132, 46695579113; fixed control 46695560948, 46695573164, 46695585758

  18. thomhurst commented on Dec 1, 2026

    @thomhurst
    OwnerAuthor

    A private ASP.NET/Aspire app on 1.90.2, with its Postgres parallel limiters removed: same wall-clock time, saturated runners

    This is a private app: ASP.NET, Aspire, Postgres in Testcontainers, and Playwright E2E tests. We removed every load-only throttle from its backend suites: 99 [ParallelLimiter]s, at limits of 4 and 33. Every limited class works on its own cloned database, so the limiters only capped Postgres connections and CPU. We raised the test Postgres max_connections to 1000 so that connections cannot be the bound. The only throttle left is a keyed [NotInParallel] on 3 tests that change server-level grants.

    Three rounds. In each, the branch (1.90.2, adaptive, no limiters) ran at the same time as main (1.90.0, adaptive, with the limiters). All 6 runs passed with no test failures. Suite step, seconds:

    Step 1.90.2, no limiters main, 1.90.0, limiters
    Backend fast (4 vCPU) 400, 528, 469 507, 449, 481
    Backend integration (4 vCPU) 266, 249, 270 232, 196, 285
    E2E smoke (8 vCPU) 492, 403, 436 408, 464, 495
    Sum 1158, 1180, 1175 (3513) 1147, 1109, 1261 (3517)

    No difference overall. Integration was slower on the branch in 2 of 3 rounds, by 24 s on average, but it overlaps main's range.

    Why: the CPUs are the bound, and the summary says so

    The backend jobs run several test processes at once on 4 vCPUs. Nearly every summary line says the CPUs were 100% busy, mostly from other processes:

    Adaptive parallelism (<Worker>.Tests, net11.0): the parallel test limit stayed at 8. Tests waited for it for 1m 33s of 1m 37s, with the CPUs 100% busy; it was not raised mostly because the CPUs had no headroom; most of their load came from other processes or containers.
    Adaptive parallelism (<Api>.IntegrationTests, net11.0): the parallel test limit moved and ended back at 8 (lowest 4, highest 8, 10 changes, 4 put back). Tests waited for it for 4m 13s of 4m 20s, with the CPUs 95% busy; ...
    Adaptive parallelism details (<Api>.IntegrationTests, net11.0): time at each limit: 4 for 11s, 6 for 51s, 8 for 3m 18s. Changes: 5x lowered for saturated CPUs, 4x lowering put back because it cost throughput or left CPU time unused, 1x raised back after pressure eased.
    

    This is correct, and the 1.90.2 lines make it easy to see. Removing the limiters gave the scheduler room it could not use, because the machine had none to give. The useful finding for us is that the limiters were not costing time either. With the limiters gone and max_connections raised, the code is simpler and nothing got slower.

    E2E smoke (8 vCPU, Playwright) went 16 → 8 for saturated CPUs. Its child processes, the browsers, used 55% of the machine. It tried 12 twice and put it back for no gain. That looks right.

    Small wording points

    • Some lines end with no reason: the parallel test limit stayed at 8. Tests waited for it for 29s of 35s, with the CPUs 100% busy. and ... for 1s of 4s, with the CPUs 100% busy. Other lines from the same job add "it was not raised mostly because the CPUs had no headroom". We saw the same in Reservoir.
    • One project, round 1: Tests waited for it for 21s of 28s, with the CPUs 100% busy; too few measurements completed to try a raise. With the CPUs at 100%, "the CPUs had no headroom" is the more useful reason, even if too few measurements were also true.
  19. thomhurst commented on Dec 1, 2026

    @thomhurst
    OwnerAuthor

    Relayer on 1.90.2: still no speed change. The summary is right, with one headline that hides a memory lowering

    Same setup as our earlier reports: 18 test projects under dotnet test on 4-vCPU ubuntu-latest, with Postgres, SQL Server, MySQL, Kafka, NATS, RabbitMQ and Pub/Sub in Docker. Relayer has no [NotInParallel] or [ParallelLimiter], so there was nothing to remove. This time the control is fair: we moved main to 1.90.2 (fixed limit), and each round ran one adaptive and one fixed run at the same time.

    Test step, seconds:

    Round Adaptive net10.0 / net11.0 Fixed net10.0 / net11.0
    1 278 / 402 314 / 371
    2 389 / 351 293 / 389
    3 277 / 265 251 / 393
    Sum 1962 2011

    No difference. All 12 jobs passed. Before these rounds, one adaptive run failed in a Kafka test with a 200 ms stop deadline (Partition processor ... did not stop within 00:00:00.2000000). The limit had stayed at 8, so the deadline is ours to fix. A fixed-limit run also hit a timeout in a Postgres change-capture test, so both look like our own flaky tests.

    Summary lines

    101 of 108 processes stayed at 8. Most say "the CPUs had no headroom; most of their load came from other processes or containers". That matches what we measured earlier, with containers using most of the CPU. Naming the containers is a good addition, and so is the (93% busy at those times) figure on the lines where it differs.

    One misleading headline. Three processes were lowered for memory pressure, but the headline gives only the CPU reason:

    Adaptive parallelism (Relayer.Outbox.PostgreSql.Tests, net10.0): the parallel test limit went from 8 to 4 (lowest 4, highest 8, 1 change). Tests waited for it for 1m 57s of 2m 5s, with the CPUs 96% busy; it was not raised mostly because the CPUs had no headroom; most of their load came from other processes or containers.
    Adaptive parallelism details (Relayer.Outbox.PostgreSql.Tests, net10.0): time at each limit: 4 for 4s, 8 for 2m 1s. Changes: 1x lowered for memory pressure. ... For 1m 57s the CPUs were saturated mostly by other processes or containers (...), which is no reason to lower the limit.
    

    A reader of the headline sees "went from 8 to 4" next to the CPUs. Then the details line says CPU saturation from other processes "is no reason to lower the limit". It takes the Changes: part to find that memory caused it. Two suggestions:

    • When the run ends below its starting limit, put the reason for the last lowering in the headline, for example "lowered to 4 for memory pressure 4s before the end".
    • Give the memory load figure in the details line, as the per-change log lines do (memory load 12%). These are 16 GB runners with seven database and broker containers, so we would like to know how high it was.

    The other two memory lowerings ended at 4 too: Pub/Sub, 4 for 18s of 26s, and source generators, 4 for 27s of 1m 29s. Three more processes lowered for memory and came back up.

    Two lines end with no reason (... with the CPUs N% busy.), the same as in the Reservoir and private-app reports above.

    Runs, adaptive / fixed: round 1 46703310566 / 46703268303, round 2 46705963023 / 46705968526, round 3 46708568698 / 46708574696

  20. thomhurst commented on Dec 1, 2026

    @thomhurst
    OwnerAuthor

    Dekaf on 1.90.2: removing load-only throttles cut test time by 18%. Adaptive matches fixed overall and is slightly faster on unit tests

    Following the earlier limiter results, we went further. Every [NotInParallel] and [ParallelLimiter] in Dekaf was checked against one rule: keep it only if the tests share mutable state.

    • Removed KafkaFixtureParallelLimit, about 92 of 141 bare and about 51 of 124 keyed [NotInParallel]. That includes ShareConsumerKafka42, which serialised all share-consumer tests.
    • Kept or narrowed the rest:
      • containers that tests restart, pause or fault
      • env vars
      • static seams and pools
      • process-wide listeners
      • GC totals

    "Run unit tests" + "Run integration tests", summed over 20 jobs:

    Runs
    main (1.90.1, fixed limit, all throttles) 6044, 6050, 6209 s
    Branch, adaptive (1.90.2, throttles removed) 4933, 5059, 4961, 4950 s
    Branch, fixed-limit control (same code, adaptive off), run alongside 4980, 5065, 4979 s
    • The 18% gain comes from removing throttles. Share-core went from about 190 s to 41 s and share-other from about 390 s to 79 s.
    • Adaptive and fixed are equal overall, a difference of about 1%.
    • Unit tests are a little faster with adaptive: 70–84 s, mean 76 s, against the fixed control's 79–87 s, mean 82 s. In 1.90.0 they were the same.

    What the summary got right

    The longest job is now bound by a real conflict, and the line names it:

    Adaptive parallelism (Dekaf.Tests.Integration, net10.0): the parallel test limit stayed at 8. For 10m 2s of 11m 16s, tests waited for the [NotInParallel] key "RackAwareKafkaContainer", which no limit changes.
    

    The project and framework in each line make 20 jobs easy to scan.

    Two things that look off

    1. Integration lanes never try a raise at low CPU. Several lanes wait for the limit for most of the run with the CPUs at 14–16%, and every one gives "throughput kept changing" as the reason:

    Adaptive parallelism (Dekaf.Tests.Integration, net11.0): the parallel test limit stayed at 8. Tests waited for it for 1m 27s of 2m 4s, with the CPUs 14% busy; it was not raised mostly because throughput kept changing between measurements. The tests are probably waiting on something other than the CPUs or this limit, such as a lock, a fixture or an external service.
    

    These tests wait on a Kafka broker, so throughput is noisy by nature. On 1.90.1 with the limiter removed, the same lane tried 12, saw no gain, and went back to 8. That was a fine outcome. On 1.90.2 it doesn't try at all in any of 6 jobs. The hint also points at "a lock, a fixture or an external service". Here it is the external service, which is true but expected for integration tests. When tests wait on the limit for over half the run at low CPU, one trial raise despite noisy throughput seems worth its cost.

    2. Unit tests lowered "for saturated CPUs" at about 45% average CPU. In both unit jobs, 2 lowerings to 6 were for saturated CPUs. On net10.0 it spent 38 s of 77 s at 6. The run averaged 43% CPU, and this process used almost all of that. Each lowering may have been right for its own sample, since the unit suite has CPU-heavy bursts. Still, it is the same pattern as item 1 of #7923, which was meant to stop lowering on a half-idle machine. Adaptive was still faster than fixed here, so this costs little.

    Test bugs that removing the throttles exposed

    All were ours, and most were races the throttles had hidden. They failed in both adaptive and fixed runs, so they are not caused by the mode.

    • A read-after-write race on a share-group DLQ config.
    • A test double that signals before it counts.
    • A test that assumes a 100 ms linger window has not passed.
    • A zero-allocation gate that measures paths renting from process-wide pools. This one really needs [NotInParallel], which we restored.

    One integration test (Consumer_TopicRecreatedWithFewerPartitions_DropsVanishedPartition) hung for 2 minutes once, in a fixed-limit run. It uses unique topics and groups. We are watching it.

    Runs: main 46711910679, 46711928463, 46720576677; adaptive 46711905215, 46711923986, 46725370766, 46734154789; fixed control 46725376374, 46730052916, 46734160801. PR: thomhurst/Dekaf#4262

  21. thomhurst commented on Dec 1, 2026

    @thomhurst
    OwnerAuthor

    Kevlar on 1.90.2: removing load-only [NotInParallel] cut test steps by about 13%. Adaptive matches fixed. The suites are too short for adaptive to matter

    Kevlar is a resilience library with many short unit suites. We checked all 96 [NotInParallel] against one rule: keep it only if the tests share process-wide state. 63 were removed. 11 classes were narrowed to the methods that conflict. About 22 were kept, for process-wide listeners, metric enrichers, no-GC regions, callback-error hooks and allocation gates.

    Each round ran three branches at the same time: the PR (adaptive, throttles removed), a fixed-limit control of the same code, and main (1.90.1, fixed, all throttles). Test steps, seconds, counting only jobs whose tests completed:

    Job main Fixed, throttles removed Adaptive, throttles removed
    build-and-test windows 109, 106, 103 78, 75, 77 93, 72, 82
    build-and-test ubuntu 66, –, 56 –, 76, 48 75, 57, 53
    Allocation gates 66, 66, 75 69, 70, 63 66, 74, 53
    Run total (complete runs) 241, 234 221, 188 234, 203, 188
    • The gain is from removing throttles, mostly on Windows: 106 s down to 76–82 s.
    • Adaptive and fixed are the same.
    • The summary explains why. Most test processes finish in under 10 s, and 28 of 36 lines say The run was too short to measure. That is a good, honest line. The rest say the CPUs had no headroom, and the (94% busy at those times) figure helps where the average was 67–79%.
    Adaptive parallelism (Kevlar.Tests, net10.0): the parallel test limit stayed at 8. Tests waited for it for 13s of 16s, with the CPUs 67% busy; it was not raised mostly because the CPUs had no headroom (92% busy at those times).
    Adaptive parallelism (Kevlar.AllocationTests, net10.0): the parallel test limit stayed at 8. For 2s of 4s, tests marked [NotInParallel] ran one at a time, which no limit changes.
    

    The 1.90.0 issue we reported earlier (extra workers making short suites slower when the limit never moves) did not show up here.

    Test bugs exposed: removing the throttles turned up two kinds of problem. Both failed with adaptive mode on and off, so they are ours, not TUnit's:

    • A race in our gRPC test helper: writing a request after the server had already finished the call threw Cancelled or OK.
    • A telemetry test that counts process-wide metrics. It had lost its attribute, and we restored it.

    main also had one unrelated flaky failure.

    Runs, round 1 / 2 / 3:

    PR: thomhurst/Kevlar#754

  22. thomhurst commented on Dec 1, 2026

    @thomhurst
    OwnerAuthor

    Respire on 1.90.2: removing load-only throttles cut test time by 25%. Adaptive matches fixed

    Respire is a Redis client with about 30 test jobs, many using Redis, cluster and Sentinel containers. We checked every throttle against one rule: keep it only where tests share mutable state.

    • Removed:
      • All [ParallelLimiter]s: 52 TimingSensitive, 27 DockerHeavy, 8 ChildProcessProbes, 1 ContainerTopology, and an assembly-wide limit of 2 on the streaming tests.
      • About 70 bare and 20 keyed [NotInParallel].
      • A --maximum-parallel-tests 2 in one workflow.
    • Narrowed: about 30 class-level attributes now cover only the methods that need them.
    • Kept:
      • process-global telemetry configuration and listeners
      • no-GC regions
      • Console and environment variables
      • server-level Redis actions (CLIENT PAUSE, resharding, INFO commandstats)

    About 1,023 tests ran serialised before; about 692 do now.

    Each round ran three branches at the same time: the PR (adaptive, throttles removed), a fixed-limit control of the same code, and main (TUnit 1.87.12, fixed, all throttles). Test steps summed over all jobs, in seconds:

    Round 1 Round 2 Round 3
    main 3099 2790 3099
    Fixed, throttles removed 2268 2223 (one job failed)
    Adaptive, throttles removed 2143 (one job failed) 2254

    Complete runs average 2996 s on main, 2245 s fixed and 2198 s adaptive. The 25% gain comes from removing throttles. Adaptive is 2% faster than fixed, which is within noise. The biggest per-job changes:

    Job main Fixed Adaptive
    StackExchange compatibility (net10.0) 485–536 270–297 283–290
    Integration RESP3 391–418 185–210 201–235
    Component tests 134–161 90–91 80–111
    Smoke tests (net10.0) 114–122 72 64–86

    Summary lines

    Most processes say "the CPUs had no headroom; most of their load came from other processes or containers", at 95–100% CPU. That is right for jobs that run several test processes next to Redis containers.

    The same two patterns we reported for Dekaf appear here too:

    • Low CPU, no raise tried, because throughput is noisy. This is the StackExchange compatibility job, the one that gained most from removing throttles. The hint about "an external service" is correct: Redis. A trial raise might still help here.
      Adaptive parallelism (Respire.StackExchangeCompat.Tests, net11.0): the parallel test limit stayed at 8. Tests waited for it for 10s of 20s, with the CPUs 34% busy; it was not raised mostly because throughput kept changing between measurements. The tests are probably waiting on something other than the CPUs or this limit, such as a lock, a fixture or an external service.
      
    • Lowered "for saturated CPUs" when the machine averaged 12%. It went back up, so the cost was small:
      Adaptive parallelism details (Orleans.Redis.Tests, net11.0): time at each limit: 6 for 11s, 8 for 1m 34s. Changes: 1x lowered for saturated CPUs, 1x lowering put back because it cost throughput or left CPU time unused. The machine's CPUs were 12% busy on average ...
      

    Two streaming lines end with no reason (... with the CPUs 99% busy.). We saw the same in other repos.

    Failures

    There were 2 failures in 9 runs, one in each throttle-free branch, and neither shows shared state:

    • A no-GC-region allocation test lost its region in an adaptive run. It still runs alone under bare [NotInParallel], so we suspect leftover background work from earlier tests, not the scheduler.
    • A SignalR cluster test got HTTP 500 on connect in a fixed-limit run. It uses its own key prefix on the shared cluster.

    We are watching both.

    Runs (adaptive / fixed / main):

    PR: thomhurst/Respire#2807

  23. thomhurst commented on Dec 2, 2026

    @thomhurst
    OwnerAuthor

    Summary of the 1.90.2 round, and ideas for speeding up test runs

    Six projects tested 1.90.2. In each, adaptive mode was compared with a fixed-limit control of the same code, run at the same time. Results are in the comments above.

    Project Removing load-only throttles Adaptive vs fixed
    Reservoir 46% less test time same
    Respire 25% less same (2% faster, within noise)
    Dekaf 18% less same overall; unit tests 76 s vs 82 s
    Kevlar about 13% less same (processes too short to measure)
    Private ASP.NET/Aspire app no change (CPU-bound runners) not measured (adaptive already on)
    Relayer none to remove same

    Adaptive mode never cost time in 1.90.2. That is a good result. But every real speed-up came from removing our own [NotInParallel] and [ParallelLimiter] attributes. Most had been added "to be safe" or for load. The 1.90.2 summary lines are what led us to them. So the biggest lever is helping users find and remove serialisation they don't need. Ideas, most impactful first:

    1. Report what each throttle costs

    The headline names the top [NotInParallel] key, and that alone found Reservoir's 46%. A full end-of-run report would find the rest:

    • Every key, [ParallelLimiter] and bare [NotInParallel], with the time tests waited on it, the CPU % while they waited, and how many tests it serialised.
    • Bare [NotInParallel] flagged on its own line, because it blocks every other test, not just its group.

    For example, "ShareConsumerKafka42 serialised 56 tests for 6m at 15% CPU" would have pointed straight at Dekaf's biggest win.

    2. A mode that ignores constraints, to audit them

    For each repo we checked every attribute by hand, ran without it, and saw what failed. A built-in option could automate that, for example --ignore-parallel-constraints --repeat 5. It would run with keys and limiters off and list the tests that fail only in that mode. Those are the attributes worth keeping.

    In our runs, the ones that really mattered fell into three groups:

    • Process-wide listeners, such as an unfiltered MeterListener or ActivityListener.
    • Static pools, and GC or allocation measurements.
    • Timing races in the tests themselves, which the throttles had hidden.

    3. Start the critical path first

    Our longest jobs are each bound by one serial chain. In Dekaf, [NotInParallel("RackAwareKafkaContainer")] takes 10 of 11 minutes. If TUnit saved each test's duration from the previous run, it could start keyed chains and long tests first, so they overlap with everything else. That would shorten the tail without raising any limit.

    4. Try a raise when throughput is noisy but CPUs are idle

    Integration lanes in Dekaf and Respire wait on the limit for 50–70% of the run at 15–35% CPU. Every raise is blocked by "throughput kept changing between measurements". These tests wait on a broker or Redis, so throughput is noisy by nature. 1.90.1 tried 12 here, saw no gain and went back, which was fine. 1.90.2 never tries. Two options:

    • When tests wait on the limit with the CPUs under 50% busy, try one raise anyway and judge it over a longer window.
    • Judge I/O-bound suites by per-test latency, which is steadier than throughput.

    5. Lower only on sustained saturation

    Dekaf's unit suite, which averaged 43% CPU, and an Orleans suite in Respire, which averaged 12%, were both lowered "for saturated CPUs" on short spikes. Requiring saturation over several samples, or a minimum average, before lowering would avoid this. It is the same case as item 1 of #7923.

    6. Wording

    • Every line should give a reason. Several end with ... with the CPUs 99% busy. and nothing after it.
    • When the run ends lowered for memory pressure, the headline should say so. In Relayer it gave only the CPU reason, while the details line said CPU saturation "is no reason to lower the limit".
    • Add the memory load % to the details line, as the per-change log lines already do.
    • At 95–100% CPU, give "the CPUs had no headroom" rather than "too few measurements completed to try a raise".

    7. Coordination across processes (a bigger change)

    On 4-vCPU runners that run several test processes and containers together, most of the load comes from siblings. Each process adapts on its own, so all it can say is "no headroom". Two possible fixes:

    • Make the number of test modules MTP runs at once (--max-parallel-test-modules) adaptive.
    • Start the longest test modules first, using the same saved durations as item 3.

    Thanks for the quick turnaround on #7923. The project-named summary lines alone made this round of measurement much easier.

  24. thomhurst commented on Dec 4, 2026

    @thomhurst
    OwnerAuthor

    TUnit 1.90.4 follow-up to #7938

    Seven production repos ran their existing CI one at a time. Adaptive parallelism was on for both versions. We found no repeatable whole-workflow speed-up. The clearest repeatable improvement was one 6,150-test generator process, 12–15% faster across two pairs. The private app’s 509-test E2E step also improved in its one pair, but an Android build determined the workflow finish. ModularPipelines had the largest observed workflow slowdown, 36m58s to 43m17s in a single successful pair.

    The new diagnostics answered two questions the old output left open. Dekaf’s busiest key had 205.85 seconds of contention with slots free, but only 0.962 seconds where earlier admission of a queued holder could help. On short CPU spikes, the new details now show how busy the process and its children were at the lowering decision. The remaining feedback from Respire is to distinguish an exploratory raise on noisy throughput from an ordinary raise in the summary.

    Reservoir

    The first matched pair showed no CI speed-up. Across Linux x64, Linux Arm64, and Windows x64, the two TUnit test steps per runner took 255 seconds combined on 1.90.2 and 333 seconds on 1.90.4. The longest runner’s test steps took 94 and 118 seconds respectively. Whole-workflow elapsed time, including runner queues, build, and packaging, was 5m21s and 7m52s. Both runs passed. Only the three TUnit package pins changed. Both ran with adaptive parallelism enabled and the same test constraints. Control run · 1.90.4 run

    Six earlier runs of the exact control commit ranged from 305 to 343 seconds of combined test steps. The fresh control was unusually fast, so this pair alone cannot establish a regression. Earlier controls

    The new CPU diagnostic answers a question from the previous round. On Linux x64, the .NET 8 suite averaged 74% machine CPU. The lowering decision saw 2.55 seconds of saturation at 100% CPU, with the test process and its children using 75% of capacity. The limit fell from 8 to 6 and returned to 8. The Arm64 run recorded 2.03 seconds at 100% CPU, with the process and children using 97%. Showing the decision window alongside the average makes those reductions understandable. 1.90.4 job logs

    The repeat finished 5 seconds earlier on 1.90.4 (6m14s versus 6m19s). Combined test steps took 353 versus 357 seconds, with the longest runner at 146 versus 144 seconds. Both passed. The first pair’s slowdown did not repeat. Reservoir shows no reproducible CI speed-up or slowdown from the upgrade. Repeat control · Repeat 1.90.4

    Kevlar

    Both full workflows passed. The selected TUnit test steps plus the allocation gate took 204 seconds on 1.90.2 and 190 seconds on 1.90.4. Windows improved from 88 to 72 seconds, Linux went from 62 to 70 seconds, and the allocation gate went from 54 to 48 seconds. Whole CI took 13m32s and 14m44s respectively, including build, coverage, and runner queues. The new test total is inside the earlier adaptive range of 188–234 seconds. This pair does not establish a CI speed-up. Control · 1.90.4 · Earlier trials

    We also tried --parallel-constraint-report on the same .NET 11 binary, fixed first and adaptive second on one Linux runner. All 1,878 tests passed in both processes. The report separated 80 globally exclusive tests from individual keys. For KevlarActivityListener, holder wait with tests behind it was 133 ms fixed and 3 ms adaptive. A different key, MetricsTests.CustomStrategyEvent, went the other way (79 ms and 159 ms). Both keyed rows showed zero sampled time with free slots. The separate holder-wait field exposed contention that the free-slot ranking alone would miss. One run per mode, in fixed order, is insufficient to attribute either timing change to the scheduler. Constraint-report job

    Relayer

    Both workflows passed. Whole CI took 13m14s on 1.90.3 and 13m49s on 1.90.4. Summed across the .NET 10 and .NET 11 test steps, the times were 746 and 734 seconds (1.6% lower). The wall time includes runner queues and non-test jobs. Adaptive parallelism was enabled on both versions. Only the TUnit package pins changed. .NET 10 took 355 s and 397 s. .NET 11 took 391 s and 337 s. One paired run gives an initial estimate. More runs would establish its repeatability. Control · 1.90.4

    On 1.90.4, 35 of 36 test processes stayed at the initial limit of 8. The .NET 10 source-generator suite briefly fell to 6 and returned to 8 after 10 seconds. Its diagnostic reported 0.52 seconds of saturation at 100% CPU, with the test process and children using 63% of capacity at the decision. The process averaged only 11% CPU across the run. This gives a concrete example for evaluating how long saturation should persist before lowering. Source-generator job

    We excluded the original 1.90.3 dispatch after two RabbitMQ conformance tests exceeded their fixture cleanup budgets. Starting the fresh control superseded the unfinished workflow. The failed .NET 10 job finished before that cancellation. An earlier successful push of the identical control commit took 288 and 357 seconds for its two test steps. Failed control job · Earlier successful control

    Private ASP.NET/Aspire app

    Both workflows passed. Whole CI took 16m42s on 1.90.3 and 16m35s on 1.90.4. Summed across the fast backend, integration backend, and both end-to-end test steps, the times were 1,302 and 1,163 seconds (10.7% lower). The wall time includes runner queues and non-test jobs. Adaptive parallelism was enabled on both versions. Only the TUnit package pins changed. Fast backend took 429 s and 421 s. Integration backend took 238 s and 235 s. E2E smoke took 635 s and 507 s. One paired run gives an initial estimate. More runs would establish its repeatability.

    In one integration process, the new headline explicitly attributed the final reduction from 8 to 4 to CPU saturation. The details showed 54% peak memory, and the last lowering followed 0.52 seconds at 99% machine CPU, with the process and children using 62% of capacity. Tests waited for slots for 222 of 229 seconds. Separating the signal that lowered the limit from the machine-wide average makes a busy shared runner easier to interpret.

    Across all 13 allocated jobs, the control used 249.0 vCPU-minutes and the trial used 227.5 (8.6% fewer), measured from actual runner labels and job durations. An Android build finished last in both workflows. The larger E2E session passed all 509 tests on both versions. Its CI step fell from 588 to 456 seconds (22% shorter) in this pair. Both controllers started at 16, ended at 8, and reported 90% CPU while tests waited for slots. That is a promising single observation. The limit range alone does not explain it.

    Respire

    Both workflows passed. Whole CI took 15m46s on 1.90.2 and 16m57s on 1.90.4. Summed across the unit, integration, analyzer, component, smoke, and StackExchange compatibility test steps, the times were 1,877 and 1,847 seconds (1.6% lower). The wall time includes runner queues and non-test jobs. Adaptive parallelism was enabled on both versions. Only the TUnit package pins changed. One paired run gives an initial estimate. More runs would establish its repeatability. Control · 1.90.4

    The first .NET 11 StackExchange compatibility process is a useful noisy I/O example. The control held 8 slots for its 21-second run, with 31% CPU while waiting and changing throughput. On 1.90.4 it tried 12 slots, spent one second there, then returned to 8 because the CPUs became busy. That run took 23 seconds, with 34% CPU while waiting. The next invocation ended at 12 and took 16 seconds on both versions. The 1.90.4 details say “raised to try more tests”. Could that line identify when the noisy-throughput exploration path triggered the raise? It would let a CI user verify which policy was exercised from the ordinary summary. Control job · 1.90.4 job

    The longest test lane, networking unit tests, took 13m06s on the control and 12m31s on 1.90.4. Control networking job · 1.90.4 networking job

    Dekaf

    Both workflows passed. Whole CI took 18m53s on 1.90.3 and 19m10s on 1.90.4. Summed across the unit and grouped integration test steps across .NET 10 and .NET 11, the times were 5,048 and 5,040 seconds (0.2% lower). The wall time includes runner queues and non-test jobs. Adaptive parallelism was enabled on both versions. Only the TUnit package pins changed. One paired run gives an initial estimate. More runs would establish its repeatability. Control · 1.90.4

    The last gating job in both workflows was the NativeAOT integration smoke. Its test step took 12m26s on the control and 11m47s on the candidate. The candidate job started its test step one minute later. Control AOT job · Candidate AOT job

    The separate constraint-report run used the 1.90.4 candidate’s compiled .NET 11 binaries and the production resilience filter. All 116 tests passed in 4m37s. The report ranked the RackAwareKafkaContainer key first: 17 tests observed, 205.85 seconds of contention with session slots free at 21% CPU, but only 0.962 seconds with a key holder queued for a session slot while tests waited behind it. One globally exclusive test accounted for another 15.375 seconds with slots free. The controller tried 12 slots for 34 seconds and returned to 8 for lack of throughput gain. The report distinguishes time blocked on the shared Kafka fixture from the much smaller opportunity to schedule a key holder sooner. Constraint-report job

    ModularPipelines

    Both workflows passed. Whole CI took 36m58s on 1.90.3 and 43m17s on 1.90.4. Summed across the full-pipeline steps, which include build and orchestration as well as tests, the times were 7,585 and 9,913 seconds (30.7% higher). The wall time includes runner queues and non-test jobs. Adaptive parallelism was enabled on both versions. Only the TUnit package pins changed. One paired run gives an initial estimate. More runs would establish its repeatability. Control · 1.90.4

    Both original manual dispatches hit the same GitVersion failure in the package-version module. We excluded those whole-workflow times. The comparison above repeats the original commits with the same supported rehearsal input on both branches, prerelease-version=4.0.54-rc.1, and publishing disabled. Original control failure · Original candidate failure

    Before that failure, the CPU-bound OptionsGenerator process passed all 6,150 tests on both versions. Its reported duration fell from 3m16s to 2m46s. Both controllers started at 8 and reached 4. The control ended at 6 and the candidate at 4. The candidate’s final CPU lowering recorded 0.56 seconds of saturation, 95% machine CPU and 90% of capacity used by the process and children. The entire prerequisite job still took 10m58s and 10m56s, respectively. This shows why a faster test process does not necessarily reduce feedback time for the workflow. Control prerequisite job · 1.90.4 prerequisite job

    The rehearsal reproduced the process-level improvement on the same 6,150 tests: 3m06s on 1.90.3 and 2m44s on 1.90.4 (12% shorter, after 15% shorter in the first pair). Rehearsal control job · Rehearsal candidate job

    The six distributed workers overlap and wait on one another, so their summed times are not six independent samples. The slowest full-pipeline step took 21m31s on the control and 28m16s on 1.90.4. Both macOS jobs used the same macOS 26 Arm64 image revision, but the main unit suite reported a session limit of 10 throughout the control and 6 throughout the candidate. It spent 65 of 125 seconds versus 118 of 186 seconds waiting for the same declared pipeline limiter. The whole-workflow slowdown is real for this pair. These observations do not isolate its cause to TUnit. Control macOS job · Candidate macOS job

  25. thomhurst commented on Dec 5, 2026

    @thomhurst
    OwnerAuthor

    TUnit 1.90.5 follow-up to #7941

    Seven repositories tested. We found no consistent whole-CI speed-up. Across 299 process summaries per version, 19 of 24 reported last CPU lowerings on 1.90.4 followed less than five seconds of saturation. None of the 10 reported on 1.90.5 did. The new exploratory-raise reason appeared in ordinary Respire and Dekaf logs. A CPU-heavy generator suite ran 6.8% faster by median on one runner, but slower in both full CI pairs on separate runners. The Aspire adapter also exposed a MessagePack compatibility problem, described below.

    Both versions ran with adaptive parallelism enabled. Each pair used the same source, workflow, inputs, and test constraints. Only the TUnit package versions changed. Workflow elapsed time includes queueing, build, and packaging. Test-step totals sum matching steps across parallel jobs.

    Suite CI on 1.90.4 CI on 1.90.5 Change Selected steps, old / new Runs
    Reservoir 1 3m01s 3m12s +6.1% 225 / 231 s 1.90.4 · 1.90.5
    Reservoir 2 4m12s 3m48s -9.5% 297 / 270 s 1.90.4 · 1.90.5
    Relayer 12m41s 12m50s +1.2% 756 / 699 s 1.90.4 · 1.90.5
    Kevlar 10m24s 10m25s +0.2% 207 / 208 s 1.90.4 · 1.90.5
    Private .NET app 15m37s 13m14s -15.3% 1,195 / 1,146 s
    Respire 30m48s 31m03s +0.8% 1,749 / 1,697 s 1.90.4 · 1.90.5
    Dekaf 19m04s 19m33s +2.5% 5,028 / 4,920 s 1.90.4 · 1.90.5
    ModularPipelines 32m46s 44m14s +35.0% 6,269 / 9,812 s 1.90.4 · 1.90.5

    For ModularPipelines, the selected steps include distributed build and orchestration. The six workers overlap.

    CPU saturation before lowering

    We inspected summaries in the selected CI jobs. Each process can report its last CPU-triggered lowering. The table counts those diagnostic lines and gives their range. A process can lower multiple times.

    Suite Process summaries, old / new Last CPU lowerings on 1.90.4 Last CPU lowerings on 1.90.5
    Reservoir 18 / 18 5 (0.51–9.15 s) 4 (5.12–8.92 s)
    Relayer 36 / 36 0 (none) 0 (none)
    Kevlar 36 / 36 0 (none) 0 (none)
    Private .NET app 29 / 29 4 (0.50–17.24 s) 2 (5.14–8.20 s)
    Respire 54 / 54 6 (0.50–21.61 s) 2 (6.26–13.05 s)
    Dekaf 56 / 56 5 (0.50–0.52 s) 0 (none)
    ModularPipelines 70 / 70 4 (0.50–2.04 s) 2 (5.08–46.10 s)

    Reservoir finished 11 seconds later in the first pair and 24 seconds earlier in the repeat. Neither a CI speed-up nor a slowdown repeated. On Reservoir’s Linux runner, 1.90.5 lowered the .NET 8 process from 8 slots to 6 after 8.92 seconds at 99% machine CPU. The process and its children used 81% of capacity. TUnit later restored the limit to 8. The longer window still allows a reduction during sustained load. Job log

    Relayer’s 36 test processes held the starting limit of 8 on both versions. The .NET 10 test step took 375 and 316 seconds. The .NET 11 step took 381 and 383 seconds and set the longer test lane in both runs. The full workflow finished 9 seconds later on 1.90.5. Control · Trial

    We excluded the first Relayer pair from whole-workflow timing. The 1.90.4 .NET 10 transport conformance test exceeded its 15-second fixture-disposal budget during the outage scenario. The paired 1.90.5 workflow passed in 9m50s. Both commits were dispatched again without changing any tests. Failed control job · First 1.90.5 run

    Kevlar finished one second later on 1.90.5. Its 24 selected test steps also totalled one second more. The Windows test steps fell from 92 to 85 seconds, Linux went from 56 to 57 seconds, and the allocation gate went from 59 to 66 seconds. Neither version reported a CPU-triggered lowering in the sampled jobs. Control · Trial

    Aspire compatibility: A private .NET 11 application could not run its full suite with all TUnit packages on 1.90.5. Its central MessagePack 3.1.12 pin caused NU1109 because TUnit.Aspire.Core 1.90.5 requires MessagePack 4.0.0. Updating the test host to MessagePack 4 made restore succeed, but all three targeted SignalR configuration tests failed with TypeLoadException when loading a formatter compiled against MessagePack 3. The missing type was MessagePack.Formatters.IMessagePackFormatter. This happens before a scheduler timing comparison is possible. Could the Aspire integration remain compatible with the MessagePack major used by existing SignalR applications? The failing runs are excluded from the timings. TUnit.Aspire.Core dependency change

    Keeping only TUnit.Aspire and TUnit.Aspire.Core on 1.90.4 restored compatibility. The process loaded TUnit.Engine 1.90.5 from the #7941 merge commit, and all 26 focused serialization and SignalR configuration tests passed. The new timing run uses that package combination and the original 1.90.4 control.

    The corrected run finished in 13m14s versus 15m37s on the control. Across 13 allocated jobs, runner time was 217.2 versus 222.3 vCPU-minutes (2.3% lower). The integration test step fell from 272 to 190 seconds, while the two E2E steps rose from 466 to 510 seconds combined. An Android build finished last on both versions and took 1m54s less in the trial. The control started 9m39s before the corrected trial. This single pair cannot attribute the 2m23s workflow gain to the scheduler.

    Respire confirmed the new diagnostic in real CI. The .NET 11 networking suite reported six ordinary raises and one exploratory raise. The .NET 10 smoke suite spent one second at 12 slots before returning to 8 and reported the following reason in its normal run output. Networking job · Smoke job

    Changes: 1x tried a higher limit despite variable throughput (tests were queued and CPU use was low), 1x raise put back because it left the CPUs busy.

    Across 54 process summaries per version, five of the six reported last CPU lowerings on 1.90.4 followed less than five seconds of saturation. The two on 1.90.5 followed 6.26 and 13.05 seconds. The networking test step fell from 636 to 580 seconds, but its runner started 16m33s and 18m03s after dispatch, respectively. Total CI finished 15 seconds later on 1.90.5. The diagnostics changed as intended without a workflow speed-up in this pair.

    In Dekaf, five of 56 control process summaries recorded a last CPU lowering, all after just 0.50–0.52 seconds of saturation. None of the 56 on 1.90.5 recorded one. Four candidate summaries identified an exploratory raise. The 20 selected test steps used 108 fewer seconds combined, but whole CI took 29 seconds longer. The NativeAOT smoke finished last on the control, and the .NET 11 messaging job finished last on the candidate. Control · Trial

    ModularPipelines generator suite, controlled measurement. In the first full CI pair, all 6,150 generator tests passed in 185.6 seconds on 1.90.4 and 206.1 seconds on 1.90.5. The last CPU lowering followed 0.50 and 19.68 seconds of saturation, respectively. Later in that trial, five distributed build workers stopped after losing contact with the coordinator. We excluded the incomplete workflow from the elapsed-time comparison and repeated the rehearsal. Control generator job · Trial generator job · Worker log

    To check the apparent process slowdown, we built both commits once on one Ubuntu runner and ran six fresh processes with the same coverage settings and adaptive mode. In execution order the times were 123.4 s (old), 114.3 s (new), 115.1 s (new), 115.8 s (old), 131.9 s (old), 117.4 s (new). All six runs passed all 6,150 tests. The median fell from 123.4 to 115.1 seconds (6.8%). The new version was faster in all three adjacent pairs on this runner. The initial slowdown on separate runners did not reproduce. Same-runner comparison

    The generator ran slower on 1.90.5 again in the second full CI pair: 145.2 seconds on 1.90.4 and 191.9 seconds on 1.90.5. In both full pairs the candidate prerequisite job was also slower before the generator step started (327 versus 423 seconds, then 299 versus 328 seconds). In the second pair the new controller tried reducing to 6 four times and restored 8 each time. These production observations and the opposite same-runner result leave the cause unresolved. Second control · Second trial

    The second 1.90.4 rehearsal also had an independent failure. Its Windows command regression suite passed all 13 tests; the subsequent PowerShell startup probe exited with code -1073741502. For successful whole-workflow timing we use the first 1.90.4 run at the very same commit. We retain the second control separately for comparisons of successful distributed build steps. Windows job

    The successful full workflows took 32m46s on 1.90.4 and 44m14s on 1.90.5. These runs used identical rehearsal inputs and started 27m03s apart. In the simultaneously dispatched second round, all six distributed pipeline steps passed on both versions. Their longest steps took 17m11s and 29m15s. The 1.90.4 coordinator registered all five workers in 1.7 seconds. The 1.90.5 coordinator hit its 10-minute registration timeout with only four workers and then started distributing work. The macOS runner started about 10m48s after the other candidate runners. Registration wait explains most of the 12m04s difference in those longest steps. The separate Windows probe passed when retried; retry elapsed time is excluded. Paired control coordinator · Trial coordinator · Probe retry

    The ordinary PR workflow also passed in 31m18s on 1.90.5, compared with 31m04s on the previous 1.90.4 PR head. Those PR runs tested different merge bases, so the 14-second difference is historical context. Previous PR run · Current PR run

    Hosted runners vary. A single pair gives an observation for that workload.

  26. thomhurst commented on Dec 5, 2026

    @thomhurst
    OwnerAuthor

    TUnit 1.90.6 field measurements for #7944

    Six of seven repositories consumed more active runner time on 1.90.6. Relayer consumed 12.5% less, although every sampled process held its initial parallel limit. On the same runner, the median generator process took 5.6% longer on 1.90.6. All fourteen full CI workflows passed. We compared 1.90.5 and 1.90.6 with adaptive parallelism enabled on both commits. Only the package pins changed. Each pair ran the same workflow and inputs on separate runners.

    Active runner time sums the duration from job start to job completion across matching successful jobs with steps. Parallel jobs count separately. This excludes time spent queued for a runner. Selected step totals also exclude the runner queue and give a narrower view of test execution. ModularPipelines includes orchestration in its selected pipeline steps.

    Repository Jobs Active on 1.90.5 Active on 1.90.6 Change Selected steps, old / new Runs
    Reservoir 5 8m09s 8m17s +1.6% 4m28s / 4m31s Control · Trial
    Kevlar 7 19m50s 21m20s +7.6% 3m05s / 3m16s Control · Trial
    Relayer 6 26m10s 22m53s -12.5% 12m09s / 10m36s Control · Trial
    Private .NET application 13 58m40s 62m29s +6.5% 17m36s / 22m03s
    Dekaf 35 146m40s 152m53s +4.2% 79m08s / 82m13s Control · Trial
    Respire 27 76m31s 79m09s +3.4% 29m10s / 31m09s Control · Trial
    ModularPipelines 19 144m41s 156m01s +7.8% 99m28s / 107m01s Control · Trial

    Scheduler observations

    • Reservoir's Linux .NET 8 and .NET 10 processes both reduced from eight slots to six. The old version restored eight after six and nine seconds at six slots. The new version spent 21 and 20 seconds at six and finished there. Across all six measured test steps, the difference was three seconds combined. Control job · Trial job
    • Relayer saved 93 seconds across two test steps. All 36 sampled processes on each version stayed at eight slots, so the new CPU reduction logic cannot explain that gain. Kevlar also reported zero CPU-triggered lowerings in 36 summaries per version.
    • The private .NET application's fast backend step rose from 361 to 585 seconds. Total allocated CPU time rose from 207.6 to 228.4 vCPU-minutes. Both full suites passed with their existing Aspire adapter compatibility pins.
    • Dekaf reported one last CPU lowering across 56 control summaries and zero across 56 trial summaries. The 20 measured steps took 185 seconds more combined on 1.90.6.
    • Respire's .NET 11 networking test step rose from 586 to 724 seconds. Its process spent 6m37s at the maximum of 32 slots on 1.90.5 and 23s there on 1.90.6. The logs show throughput probes for higher limits on both runs. Neither networking process lowered for CPU saturation, so this comparison did not exercise the specific Improve adaptive CPU reductions for bursty test suites #7944 reduction path.

    The ModularPipelines generator directly exercised #7944. All 6,150 tests passed in both production CI jobs. Its test step took 3m48s on 1.90.5 and 4m29s on 1.90.6. The old controller reported four CPU reductions and one rollback. The new controller reported six reductions and five rollbacks, four because fewer tests completed per second and one because queued throughput could no longer be measured. It spent 2m23s at seven slots. This confirms the new one-slot behavior and distinct rollback diagnostics in production. Control job · Trial job

    Same-runner generator comparison. We built both SHAs once on one Ubuntu runner with identical coverage settings, then ran six fresh test processes. In execution order, the timings were 186.608s (old), 196.321s (new), 198.801s (new), 188.274s (old), 208.812s (old), and 213.915s (new). All six passed all 6,150 tests. The median rose from 188.274s to 198.801s (+5.6%). The new version took longer in each adjacent pair, including the reversed middle pair. It reported five CPU reductions in each process and eight throughput-loss rollbacks in total. The old version reported 3, 3 and 4 CPU reductions and one rollback of a CPU reduction across the three processes. On this workload the new diagnostic is clearer, but the repeated reductions persisted and test execution slowed. The sample covers one runner and one workload. Six-process comparison

    All six distributed runner jobs in each ModularPipelines run started within one second of one another. Once running, the coordinator waited 23.9s on 1.90.5 and 40.9s on 1.90.6 for worker processes to register. Both intervals occurred after all six runners had started. The test-process measurements above exclude this coordination time. Control coordinator · Trial coordinator

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

    P3need-user-feedbackperformance

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions