Skip to content

Remove TSA bug filing from pipelines - #7465

Merged
mmitche merged 2 commits into
dotnet:mainfrom
mmitche:mmitche/remove-tsa-bug-filing
Jun 30, 2026
Merged

mmitche merged 2 commits into
dotnet:mainfrom
mmitche:mmitche/remove-tsa-bug-filing

Conversation

@mmitche

@mmitche mmitche commented Jun 29, 2026

Copy link
Copy Markdown
Member

Removes TSA bug filing configuration from the repo's pipeline YAML files. This eliminates the tsa nodes and the codeql.tsaEnabled / tsaEnabled settings; since the default for TSA is disabled, no TSA bugs will be filed.

Affected files:

  • eng/pipelines/official.yml
  • eng/pipelines/source-build-outer-loop.yml
  • eng/pipelines/source-build-sdk-diff-tests.yml
  • eng/pipelines/vmr-compare.yml
  • eng/pipelines/vmr-license-scan.yml

Copilot AI review requested due to automatic review settings June 29, 2026 22:57
@mmitche
mmitche requested review from a team as code owners June 29, 2026 22:57

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

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 removes TSA (Team Security Assistance) bug filing configuration from the dotnet/dotnet VMR’s Azure DevOps pipeline YAMLs, relying on the templates’ default behavior (TSA disabled) so that pipelines no longer file TSA bugs.

Changes:

  • Removed tsa: blocks from multiple pipeline extends.parameters.sdl sections.
  • Removed tsaEnabled toggles under codeql/SDL configuration where present.

Reviewed changes

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

Show a summary per file
File Description
eng/pipelines/official.yml Removes TSA enablement (tsaEnabled and tsa block) from the official build pipeline SDL settings.
eng/pipelines/source-build-outer-loop.yml Removes TSA-related settings from the source-build outer loop pipeline SDL configuration.
eng/pipelines/source-build-sdk-diff-tests.yml Removes the TSA block from the SDL settings for SDK diff test pipeline.
eng/pipelines/vmr-compare.yml Removes the TSA block from the SDL settings for the VMR compare pipeline.
eng/pipelines/vmr-license-scan.yml Removes the TSA block from the SDL settings for the VMR license scan pipeline.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@akoeplinger

Copy link
Copy Markdown
Member

I assume we can also remove https://github.com/dotnet/dotnet/blob/main/.config/tsaoptions.json ?

should we do the same for the individual repos?

@mmitche

mmitche commented Jun 30, 2026

Copy link
Copy Markdown
Member Author

I assume we can also remove https://github.com/dotnet/dotnet/blob/main/.config/tsaoptions.json ?

should we do the same for the individual repos?

Individual repos still need to be onboarded to WIM before they can have their TSA filing removed. I'll remove TSA options.

@mmitche
mmitche enabled auto-merge (squash) June 30, 2026 14:34
@mmitche
mmitche disabled auto-merge June 30, 2026 14:49
@mmitche
mmitche merged commit 939df43 into dotnet:main Jun 30, 2026
1 of 10 checks passed
@akoeplinger

Copy link
Copy Markdown
Member

Individual repos still need to be onboarded to WIM before they can have their TSA filing removed

I meant individual repos which don't have an official build anymore, like runtime. Those shouldn't need to onboard to WIM separately since we just go through the VMR right?

@mmitche

mmitche commented Jul 6, 2026

Copy link
Copy Markdown
Member Author

Individual repos still need to be onboarded to WIM before they can have their TSA filing removed

I meant individual repos which don't have an official build anymore, like runtime. Those shouldn't need to onboard to WIM separately since we just go through the VMR right?

They may need to onboard for servicing 8/9 branches, if we want to have bug filing for those releases. Otherwise, no

@akoeplinger

Copy link
Copy Markdown
Member

Ok. What about this PR, backport to 10.0?

@akoeplinger

Copy link
Copy Markdown
Member

we're seeing warnings about this in 10.0 as well, backporting

@akoeplinger

Copy link
Copy Markdown
Member

/backport to release/10.0.1xx

@github-actions

Copy link
Copy Markdown
Contributor

Started backporting to release/10.0.1xx (link to workflow run)

@github-actions

Copy link
Copy Markdown
Contributor

@akoeplinger backporting to release/10.0.1xx failed, the patch most likely resulted in conflicts. Please backport manually!

git am output
$ git cherry-pick 939df436696cab9b25c4007548020e8cd5079069

CONFLICT (modify/delete): .config/tsaoptions.json deleted in 939df436696 (Remove TSA bug filing from pipelines (#7465)) and modified in HEAD.  Version HEAD of .config/tsaoptions.json left in tree.
Auto-merging eng/pipelines/official.yml
CONFLICT (content): Merge conflict in eng/pipelines/official.yml
Auto-merging eng/pipelines/source-build-outer-loop.yml
Auto-merging eng/pipelines/source-build-sdk-diff-tests.yml
Auto-merging eng/pipelines/vmr-compare.yml
Auto-merging eng/pipelines/vmr-license-scan.yml
error: could not apply 939df436696... Remove TSA bug filing from pipelines (#7465)
hint: After resolving the conflicts, mark them with
hint: "git add/rm <pathspec>", then run
hint: "git cherry-pick --continue".
hint: You can instead skip this commit with "git cherry-pick --skip".
hint: To abort and get back to the state before "git cherry-pick",
hint: run "git cherry-pick --abort".
hint: Disable this message with "git config set advice.mergeConflict false"


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

Applying: Remove TSA bug filing from pipelines
Using index info to reconstruct a base tree...
M	eng/pipelines/official.yml
M	eng/pipelines/source-build-outer-loop.yml
M	eng/pipelines/source-build-sdk-diff-tests.yml
M	eng/pipelines/vmr-compare.yml
M	eng/pipelines/vmr-license-scan.yml
Falling back to patching base and 3-way merge...
Auto-merging eng/pipelines/official.yml
CONFLICT (content): Merge conflict in eng/pipelines/official.yml
Auto-merging eng/pipelines/source-build-outer-loop.yml
Auto-merging eng/pipelines/source-build-sdk-diff-tests.yml
Auto-merging eng/pipelines/vmr-compare.yml
Auto-merging eng/pipelines/vmr-license-scan.yml
error: Failed to merge in the changes.
hint: Use 'git am --show-current-patch=diff' to see the failed patch
hint: When you have resolved this problem, run "git am --continue".
hint: If you prefer to skip this patch, run "git am --skip" instead.
hint: To restore the original branch and stop patching, run "git am --abort".
hint: Disable this message with "git config set advice.mergeConflict false"
Patch failed at 0001 Remove TSA bug filing from pipelines
Error: The process '/usr/bin/git' failed with exit code 128

Link to workflow output

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants