Repository navigation
Run the unit tests as four shards in CI and the fast tier once per pull request (#543) - #555
Merged
Merged
Conversation
…ll request (#543) WEBFRONT_TEST_UNIT_SHARDS registers that many CTest cases, each a Catch2 shard in declaration order with a JUnit report of every scenario; the default keeps one case per scenario. The desktop jobs pass 4 and leave the fast tier out of the single pass that follows the fast step. Scenarios sharing a process exposed a leaked log level: a listener restores the severities before each scenario.
|
Warning Review limit reachedYou've used all free OSS reviews for now. Wait for the free limit to reset to keep reviewing this public repository. Next included review available in 34 minutes. View limit details
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. |
AM-L
approved these changes
Nov 11, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Closes #543.
What changes
-DWEBFRONT_TEST_UNIT_SHARDS=<n>registersnCTest casesUnitTests-<i>, each a Catch2 shard (--order decl --shard-count n --shard-index i) that reports every scenario inunit-results-<i>.xml. The default, 0, keeps one CTest case per scenario forctest -R.fastlabel out, since the fast step has just run it; the three passes of the complete tier still run it each time.RunTestSuite.cmakealready handsLABEL_EXCLUDEtoctest -LEas a regular expression: the CI passes^(portability|fast)$, andTestSuiteRepetitioncovers it.test/unit/ScenarioIsolation.cpp: a Catch2 listener restores the enabled log severities before each scenario. Running the scenarios in one process showed that "The handshake's secret never reaches the diagnostics" leaves the debug level on, which makes the next application send log lines to its browser and failsDeferredCallTests.cpp:207andBroadcastTests.cpp:84.Evidence (Windows, MSVC, WebView2, Release)
tests --list-testslists, none twice.fastandportability: 164 cases in 136 s, against 689 cases in 200 s for the whole suite. One case failed in that pass,AutomationMcpWindow, withrename: Access is denied: the defect Retry the renames of the developer store on Windows and steady three intermittent tests (#542) #549 fixes, which this branch does not contain.Not verified
CompareCoverage.py) on the Linux job: left to this pull request's CI.ProfileTests.pynow covers the suite step only; the fast step writesfast-results.xmlbeside it.