Skip to content

Skip all non-template tests in internal Windows test job#65211

Merged
MackinnonBuck merged 7 commits intomainfrom
wtgodbe/SkipSomeTests
Jan 26, 2026
Merged

Skip all non-template tests in internal Windows test job#65211
MackinnonBuck merged 7 commits intomainfrom
wtgodbe/SkipSomeTests

Conversation

@wtgodbe
Copy link
Member

@wtgodbe wtgodbe commented Jan 23, 2026

Allows us to avoid restoring vulnerable Kestrel 2.2 package, and restoring Chrome, which is now disallowed by SFI. We only build this leg internally to get the template dependencies registered for CG, so that's all we care about anyways.

@github-actions github-actions bot added the area-infrastructure Includes: MSBuild projects/targets, build scripts, CI, Installers and shared framework label Jan 23, 2026
Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

This PR skips non-template tests in the internal Windows test job to avoid restoring vulnerable Kestrel 2.2 packages and Chrome, which are now disallowed by SFI (presumably Security/Compliance infrastructure). The internal build leg only needs template dependencies registered for Component Governance.

Changes:

  • Excluded IIS NewShim test projects from internal builds to avoid vulnerable package restoration
  • Removed Chrome installation step from internal Windows test jobs
  • Updated Helix Ubuntu test queue from 22.04 to 24.04

Reviewed changes

Copilot reviewed 4 out of 4 changed files in this pull request and generated no comments.

Show a summary per file
File Description
src/Servers/IIS/IIS/test/testassets/InProcessNewShimWebSite/InProcessNewShimWebSite.csproj Added ExcludeFromBuild condition for internal builds to skip project with Kestrel 2.2 dependency
src/Servers/IIS/IIS/test/IIS.NewShim.FunctionalTests/IIS.NewShim.FunctionalTests.csproj Added SkipTests and ExcludeFromBuild conditions for internal builds
eng/targets/Helix.targets Updated Ubuntu test queue version from 22.04 to 24.04
eng/targets/Helix.Common.props Updated Ubuntu test queue version from 22.04 to 24.04
.azure/pipelines/jobs/default-build.yml Removed Chrome installation step for internal Windows test jobs
.azure/pipelines/ci.yml Added OnlyTestProjectTemplates parameter to build args for internal Windows test job

Copy link
Member

@MackinnonBuck MackinnonBuck left a comment

Choose a reason for hiding this comment

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

Thanks for addressing this!

@MackinnonBuck MackinnonBuck merged commit da09bb7 into main Jan 26, 2026
25 checks passed
@MackinnonBuck MackinnonBuck deleted the wtgodbe/SkipSomeTests branch January 26, 2026 00:43
@dotnet-policy-service dotnet-policy-service bot added this to the 11.0-preview1 milestone Jan 26, 2026
@wtgodbe
Copy link
Member Author

wtgodbe commented Jan 30, 2026

/backport to release/10.0

@github-actions
Copy link
Contributor

Started backporting to release/10.0 (link to workflow run)

@github-actions
Copy link
Contributor

@wtgodbe backporting to release/10.0 failed, the patch most likely resulted in conflicts. Please backport manually!

git am output
$ git am --3way --empty=keep --ignore-whitespace --keep-non-patch changes.patch

Patch format detection failed.
Error: The process '/usr/bin/git' failed with exit code 128

Link to workflow output

Copilot AI added a commit that referenced this pull request Feb 2, 2026
…est job

Co-authored-by: wtgodbe <14283640+wtgodbe@users.noreply.github.com>
wtgodbe added a commit that referenced this pull request Feb 3, 2026
…65301)

* Initial plan

* Backport PR #65211: Skip all non-template tests in internal Windows test job

Co-authored-by: wtgodbe <14283640+wtgodbe@users.noreply.github.com>

* Restore first Chrome installation block per review feedback

Co-authored-by: wtgodbe <14283640+wtgodbe@users.noreply.github.com>

---------

Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com>
Co-authored-by: wtgodbe <14283640+wtgodbe@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area-infrastructure Includes: MSBuild projects/targets, build scripts, CI, Installers and shared framework

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants