PR #389 #1094
codeql
on: dynamic
Matrix: analyze
Annotations
2 warnings
|
Analyze (python)
Starting April 2026, the CodeQL Action will skip computing file coverage information on pull requests to improve analysis performance. File coverage information will still be computed on non-PR analyses.
To opt out of this change, create a custom repository property with the name `github-codeql-file-coverage-on-prs` and the type "True/false", then set this property to `true` in the repository's settings.
|
|
Swift Testing summary subtracts XCTest case counts, undercounting executed/failed totals in mixed runs:
src/utils/xcodebuild-event-parser.ts#L343
`recordTestCaseResult` increments `testCasesCompletedSinceSwiftTestingSummary` and `testCasesFailedSinceSwiftTestingSummary` for every test case regardless of the `source` parameter (lines 250-253). When the Swift Testing summary arrives, the new logic computes `stSummary.executed - testCasesCompletedSinceSwiftTestingSummary`, but that counter has been polluted by XCTest cases parsed via `parseTestCaseLine`. In a mixed XCTest + Swift Testing run, this subtraction can be larger than `stSummary.executed`, making the `Math.max(0, ...)` clamp to zero and effectively dropping the Swift Testing summary delta. The user-visible consequence is that progress totals after a Swift Testing summary line can under-report executed/failed counts in mixed test runs.
|