Steps to reproduce:
- Open the attached “IN-152316” project
- Open Window > Analysis > Code Coverage
- If prompted to switch to Debug mode, accept
- Enable Enable Code Coverage
- Open Window > General > Test Runner
- Click Run All
- Open the generated report at <project>/CodeCoverage/Report/index.html
- Observe the result
Actual result: Most coverage is not recorded unless CoverageWorkaround is enabled
Expected result: Coverage is recorded correctly without enabling CoverageWorkaround
Reproducible with: 1.3.0 (6000.6.0a3, 6000.0.83f1, 6000.3.23f1, 6000.5.11f1, 6000.6.0f1, 6000.7.0a6)
Not reproducible with: 1.3.0 (6000.6.0a2)
Reproducible on: Windows 11
Not reproducible on: No other environments tested
Note: CoverageWorkaround sets JobsUtility.JobWorkerCount = 0, forcing jobs to run on the main thread, where coverage is recorded correctly. This suggests coverage from Job System worker threads is not recorded properly