Documentation
¶
Overview ¶
Command parallelbaseline is the single source of truth for internal/quality/testdata/paralleltest_baseline.txt.
Run it with no flags after a reviewed decision to add a new serial test (or after fixing one): it rescans the tree with exactly the same logic TestParallelBaselineDoesNotRegress uses (internal/quality's ScanSerialTests) and overwrites the baseline file with the current, reasoned set of serial tests. Commit the result.
Run it with -check in CI or by hand to verify the committed file matches what a regeneration would produce right now, without writing anything: it exits 1 if the file is stale (a serial test is missing, a baseline entry no longer corresponds to a serial test, or any entry -- committed or freshly detected -- carries an empty reason).