Repository navigation
ci: harden the pull request analysis - #1132
Merged
Merged
Conversation
The mutation tests of a pull request ran the code of that pull request with the Stryker dashboard key and permission to write pull request comments, and Stryker uploaded its report from the same run. Both jobs are disabled, but would expose these secrets to any pull request once they are enabled again. They now only produce their reports, and the new CI-Analysis workflow uploads them and writes the comment, with the pull request and the dashboard version taken from the `workflow_run` event alone, the artifacts checked for symbolic links, the reports validated, comment content defused and only comments of the pipeline updated. The analysis job stays disabled together with the mutation tests. A release tag that is no valid version now fails the build instead of producing an odd package version. Stryker is pinned to 5.0.0 through the build project so that Dependabot updates it, Sonar reads the generic coverage format, which keeps the lines of lambdas in generic classes, GitVersion and ReportGenerator run on .NET 10 like in the other repositories, the mutation targets follow the names of aweXpect, and all actions are pinned to a commit.
|
|
This pull request does not currently match the merge queue conditions, so it cannot be queued from here. The box comes back if it matches again. |
Test Results 62 files ±0 62 suites ±0 1h 1m 18s ⏱️ - 3m 34s Results for commit e90e1db. ± Comparison against base commit b620438. This pull request removes 62988 and adds 62983 tests. Note that renamed tests count towards both.This pull request removes 6893 skipped tests and adds 6893 skipped tests. Note that renamed tests count towards both. |
|
This is addressed in release v7.1.2. |
This was referenced Oct 29, 2026
This was referenced 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.



The mutation tests of a pull request ran the code of that pull request with the Stryker dashboard key and permission to write pull request comments, and Stryker uploaded its report from the same run. Both jobs are disabled, but would expose these secrets to any pull request once they are enabled again. They now only produce their reports, and the new CI-Analysis workflow uploads them and writes the comment, with the pull request and the dashboard version taken from the
workflow_runevent alone, the artifacts checked for symbolic links, the reports validated, comment content defused and only comments of the pipeline updated. The analysis job stays disabled together with the mutation tests.A release tag that is no valid version now fails the build instead of producing an odd package version. Stryker is pinned to 5.0.0 through the build project so that Dependabot updates it, Sonar reads the generic coverage format, which keeps the lines of lambdas in generic classes, GitVersion and ReportGenerator run on .NET 10 like in the other repositories, the mutation targets follow the names of aweXpect, and all actions are pinned to a commit.