Skip to content

ci: harden the pull request analysis - #1132

Merged
vbreuss merged 1 commit into
mainfrom
ci/harden-pr-analysis
Oct 18, 2026
Merged

vbreuss merged 1 commit into
mainfrom
ci/harden-pr-analysis

Conversation

@vbreuss

@vbreuss vbreuss commented Oct 18, 2026

Copy link
Copy Markdown
Member

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.

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.
@vbreuss vbreuss self-assigned this Oct 18, 2026
Copilot AI balanced review requested due to automatic review settings October 18, 2026 08:58

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copilot was unable to review this pull request because the user who requested the review has reached their quota limit.

@vbreuss
vbreuss added this pull request to stack #1134 October 18, 2026 08:58
@sonarqubecloud

Copy link
Copy Markdown

@mergify

mergify Bot commented Oct 18, 2026 •

Copy link
Copy Markdown

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.

@github-actions

Copy link
Copy Markdown

Test Results

     62 files  ±0       62 suites  ±0   1h 1m 18s ⏱️ - 3m 34s
 66 146 tests  - 4   59 195 ✅  - 4   6 951 💤 ±0  0 ❌ ±0 
151 204 runs  ±0  132 065 ✅ ±0  19 139 💤 ±0  0 ❌ ±0 

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.
  )
)
Testably.Abstractions.AccessControl.Tests.DirectoryInfoAclExtensionsTests ‑ SetAccessControl_ShouldNotUpdateTimes(0033aad9-3ed9-4603-85bf-aa7827a09503)
Testably.Abstractions.AccessControl.Tests.DirectoryInfoAclExtensionsTests ‑ SetAccessControl_ShouldNotUpdateTimes(0453571a-5884-47a9-8c20-f61008db3209)
Testably.Abstractions.AccessControl.Tests.DirectoryInfoAclExtensionsTests ‑ SetAccessControl_ShouldNotUpdateTimes(2b3b6249-ca0e-4b2e-8bb9-7d6893f3d90f)
Testably.Abstractions.AccessControl.Tests.DirectoryInfoAclExtensionsTests ‑ SetAccessControl_ShouldNotUpdateTimes(3158cbbe-b6a3-4627-be1d-17b3f497ba0e)
Testably.Abstractions.AccessControl.Tests.DirectoryInfoAclExtensionsTests ‑ SetAccessControl_ShouldNotUpdateTimes(3455989e-a913-449d-ac5e-7d7a39668108)
Testably.Abstractions.AccessControl.Tests.DirectoryInfoAclExtensionsTests ‑ SetAccessControl_ShouldNotUpdateTimes(45c72490-8058-4f17-a97a-435d23244451)
Testably.Abstractions.AccessControl.Tests.DirectoryInfoAclExtensionsTests ‑ SetAccessControl_ShouldNotUpdateTimes(467b1dfb-860b-430b-bc59-5187b18f998c)
Testably.Abstractions.AccessControl.Tests.DirectoryInfoAclExtensionsTests ‑ SetAccessControl_ShouldNotUpdateTimes(55c4e6da-22f1-4b37-8489-25715256385f)
…
Testably.Abstractions.AccessControl.Tests.DirectoryInfoAclExtensionsTests ‑ SetAccessControl_ShouldNotUpdateTimes(14be9feb-0f94-493a-a8c6-39eb1fe137c5)
Testably.Abstractions.AccessControl.Tests.DirectoryInfoAclExtensionsTests ‑ SetAccessControl_ShouldNotUpdateTimes(23ecea87-e9cf-4e60-9ca2-6eda58d0554e)
Testably.Abstractions.AccessControl.Tests.DirectoryInfoAclExtensionsTests ‑ SetAccessControl_ShouldNotUpdateTimes(619f6c75-539a-42f9-93b5-192ea3a7faf8)
Testably.Abstractions.AccessControl.Tests.DirectoryInfoAclExtensionsTests ‑ SetAccessControl_ShouldNotUpdateTimes(6b2de201-5794-4de3-857c-c4b3a7a15669)
Testably.Abstractions.AccessControl.Tests.DirectoryInfoAclExtensionsTests ‑ SetAccessControl_ShouldNotUpdateTimes(6cdaa188-53b0-4a48-bc23-e301e1d7aafd)
Testably.Abstractions.AccessControl.Tests.DirectoryInfoAclExtensionsTests ‑ SetAccessControl_ShouldNotUpdateTimes(6d4afa61-ccfb-450a-a943-49643288cc51)
Testably.Abstractions.AccessControl.Tests.DirectoryInfoAclExtensionsTests ‑ SetAccessControl_ShouldNotUpdateTimes(7cc641ff-01ba-471e-902c-35da07f94012)
Testably.Abstractions.AccessControl.Tests.DirectoryInfoAclExtensionsTests ‑ SetAccessControl_ShouldNotUpdateTimes(8364a13d-8242-4dfa-88e7-fb0fb88cdb7e)
Testably.Abstractions.AccessControl.Tests.DirectoryInfoAclExtensionsTests ‑ SetAccessControl_ShouldNotUpdateTimes(9696e4b0-a385-47d6-8340-470b602dbbd0)
Testably.Abstractions.AccessControl.Tests.DirectoryInfoAclExtensionsTests ‑ SetAccessControl_ShouldNotUpdateTimes(b40e0f2e-5b9e-4258-9d6c-7f8be2ff4279)
…
This pull request removes 6893 skipped tests and adds 6893 skipped tests. Note that renamed tests count towards both.
Testably.Abstractions.AccessControl.Tests.DirectoryInfoAclExtensionsTests ‑ SetAccessControl_ShouldNotUpdateTimes(0033aad9-3ed9-4603-85bf-aa7827a09503)
Testably.Abstractions.AccessControl.Tests.DirectoryInfoAclExtensionsTests ‑ SetAccessControl_ShouldNotUpdateTimes(0453571a-5884-47a9-8c20-f61008db3209)
Testably.Abstractions.AccessControl.Tests.DirectoryInfoAclExtensionsTests ‑ SetAccessControl_ShouldNotUpdateTimes(2b3b6249-ca0e-4b2e-8bb9-7d6893f3d90f)
Testably.Abstractions.AccessControl.Tests.DirectoryInfoAclExtensionsTests ‑ SetAccessControl_ShouldNotUpdateTimes(3158cbbe-b6a3-4627-be1d-17b3f497ba0e)
Testably.Abstractions.AccessControl.Tests.DirectoryInfoAclExtensionsTests ‑ SetAccessControl_ShouldNotUpdateTimes(3455989e-a913-449d-ac5e-7d7a39668108)
Testably.Abstractions.AccessControl.Tests.DirectoryInfoAclExtensionsTests ‑ SetAccessControl_ShouldNotUpdateTimes(45c72490-8058-4f17-a97a-435d23244451)
Testably.Abstractions.AccessControl.Tests.DirectoryInfoAclExtensionsTests ‑ SetAccessControl_ShouldNotUpdateTimes(467b1dfb-860b-430b-bc59-5187b18f998c)
Testably.Abstractions.AccessControl.Tests.DirectoryInfoAclExtensionsTests ‑ SetAccessControl_ShouldNotUpdateTimes(55c4e6da-22f1-4b37-8489-25715256385f)
Testably.Abstractions.AccessControl.Tests.DirectoryInfoAclExtensionsTests ‑ SetAccessControl_ShouldNotUpdateTimes(6966f4f2-b628-4942-9006-a8b86ab116f7)
Testably.Abstractions.AccessControl.Tests.DirectoryInfoAclExtensionsTests ‑ SetAccessControl_ShouldNotUpdateTimes(9a7cbb53-1f33-4be4-840b-cf3a1a60a9d1)
…
Testably.Abstractions.AccessControl.Tests.DirectoryInfoAclExtensionsTests ‑ SetAccessControl_ShouldNotUpdateTimes(14be9feb-0f94-493a-a8c6-39eb1fe137c5)
Testably.Abstractions.AccessControl.Tests.DirectoryInfoAclExtensionsTests ‑ SetAccessControl_ShouldNotUpdateTimes(23ecea87-e9cf-4e60-9ca2-6eda58d0554e)
Testably.Abstractions.AccessControl.Tests.DirectoryInfoAclExtensionsTests ‑ SetAccessControl_ShouldNotUpdateTimes(619f6c75-539a-42f9-93b5-192ea3a7faf8)
Testably.Abstractions.AccessControl.Tests.DirectoryInfoAclExtensionsTests ‑ SetAccessControl_ShouldNotUpdateTimes(6b2de201-5794-4de3-857c-c4b3a7a15669)
Testably.Abstractions.AccessControl.Tests.DirectoryInfoAclExtensionsTests ‑ SetAccessControl_ShouldNotUpdateTimes(6cdaa188-53b0-4a48-bc23-e301e1d7aafd)
Testably.Abstractions.AccessControl.Tests.DirectoryInfoAclExtensionsTests ‑ SetAccessControl_ShouldNotUpdateTimes(6d4afa61-ccfb-450a-a943-49643288cc51)
Testably.Abstractions.AccessControl.Tests.DirectoryInfoAclExtensionsTests ‑ SetAccessControl_ShouldNotUpdateTimes(7cc641ff-01ba-471e-902c-35da07f94012)
Testably.Abstractions.AccessControl.Tests.DirectoryInfoAclExtensionsTests ‑ SetAccessControl_ShouldNotUpdateTimes(8364a13d-8242-4dfa-88e7-fb0fb88cdb7e)
Testably.Abstractions.AccessControl.Tests.DirectoryInfoAclExtensionsTests ‑ SetAccessControl_ShouldNotUpdateTimes(9696e4b0-a385-47d6-8340-470b602dbbd0)
Testably.Abstractions.AccessControl.Tests.DirectoryInfoAclExtensionsTests ‑ SetAccessControl_ShouldNotUpdateTimes(b40e0f2e-5b9e-4258-9d6c-7f8be2ff4279)
…

@vbreuss
vbreuss merged commit befaab0 into main Oct 18, 2026
16 checks passed
@vbreuss
vbreuss deleted the ci/harden-pr-analysis branch October 18, 2026 11:17
@github-actions

Copy link
Copy Markdown

This is addressed in release v7.1.2.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants