Skip to content

build: share product pipeline configuration - #320187

Merged
Dileep Yavanmandha (dileepyavan) merged 3 commits into
mainfrom
DileepY/disable_TSA
Jun 8, 2026
Merged

Dileep Yavanmandha (dileepyavan) merged 3 commits into
mainfrom
DileepY/disable_TSA

Conversation

@dileepyavan

Copy link
Copy Markdown
Member

Summary

  • move the shared product build parameters, variables, resources, SDL configuration, and stage graph into product-build-template.yml
  • keep the regular and TSA pipeline schedules/triggers in their entry-point YAML files
  • parameterize TSA and API Scan independently so the regular build keeps API Scan without TSA
  • disable publish and release for the TSA-only scheduled pipeline

Validation

  • parsed all three YAML files with PyYAML
  • verified all 21 shared-template parameter references resolve
  • verified VS Code reports no YAML diagnostics
  • ran git diff --check
  • rebased the branch onto the latest main

Notes

The repository pre-commit hook was attempted, but its git show invocation does not quote the existing product-build optional-TSA.yml filename and therefore fails at the space. The equivalent YAML, parameter-reference, diagnostics, and whitespace checks above pass. No product pipeline was queued from this branch.

Copilot AI review requested due to automatic review settings June 5, 2026 21:27
@vs-code-engineering

vs-code-engineering Bot commented Jun 5, 2026 •

Copy link
Copy Markdown
Contributor

📬 CODENOTIFY

The following users are being notified based on files changed in this PR:

Ladislau Szomoru (@lszomoru)

Matched files:

  • build/azure-pipelines/product-build-TSA.yml
  • build/azure-pipelines/product-build-template.yml
  • build/azure-pipelines/product-build.yml

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 refactors the VS Code product build Azure Pipelines by extracting the shared product pipeline configuration (parameters, variables, resources, SDL config, and stage graph) into a reusable product-build-template.yml, leaving the entry-point pipelines to focus on triggers/schedules and a small set of overrides.

Changes:

  • Introduces build/azure-pipelines/product-build-template.yml containing the shared product build pipeline definition.
  • Updates product-build.yml to extend the shared template and explicitly disable TSA while keeping API Scan enabled.
  • Updates product-build optional-TSA.yml to become a schedule-only entry point that extends the shared template with TSA enabled and publish/release disabled.
Show a summary per file
File Description
build/azure-pipelines/product-build.yml Converted to a thin entry-point that extends the shared template with TSA disabled and APIScan enabled.
build/azure-pipelines/product-build-template.yml New shared template containing the consolidated parameters/variables/resources/SDL config and stages for product builds.
build/azure-pipelines/product-build optional-TSA.yml Converted to a schedule-only TSA-focused entry point extending the shared template, disabling publish/release.

Copilot's findings

  • Files reviewed: 3/3 changed files
  • Comments generated: 4

Co-authored-by: Copilot Autofix powered by AI <[email protected]>
@dileepyavan
Dileep Yavanmandha (dileepyavan) merged commit 79cbede into main Jun 8, 2026
39 of 40 checks passed
@dileepyavan
Dileep Yavanmandha (dileepyavan) deleted the DileepY/disable_TSA branch June 8, 2026 22:22
@vs-code-engineering vs-code-engineering Bot added this to the 1.125.0 milestone Jun 8, 2026
Sascha Zepter (saschazepter) pushed a commit to saschazepter/vscode that referenced this pull request Jun 12, 2026
Sascha Zepter (saschazepter) pushed a commit to saschazepter/vscode that referenced this pull request Jun 12, 2026
Dileep Yavanmandha (dileepyavan) added a commit that referenced this pull request Jun 12, 2026
* build: share product pipeline configuration

* Potential fix for pull request finding

Co-authored-by: Copilot Autofix powered by AI <[email protected]>

* build: rename TSA product pipeline

* Revert "build: share product pipeline configuration (#320187)"

This reverts commit 79cbede.

* Reapply "build: share product pipeline configuration (#320187)"

This reverts commit c2e2ff0.

* Updating template for TSAA

* Updating template for TSAA

* build: keep product pipeline unchanged

---------

Co-authored-by: Copilot Autofix powered by AI <[email protected]>
Dileep Yavanmandha (dileepyavan) added a commit that referenced this pull request Jun 12, 2026
* build: share product pipeline configuration

* Potential fix for pull request finding

Co-authored-by: Copilot Autofix powered by AI <[email protected]>

* build: rename TSA product pipeline

* Revert "build: share product pipeline configuration (#320187)"

This reverts commit 79cbede.

* Reapply "build: share product pipeline configuration (#320187)"

This reverts commit c2e2ff0.

* Updating template for TSAA

* Updating template for TSAA

* build: keep product pipeline unchanged

* Updating template path for TSA

---------

Co-authored-by: Copilot Autofix powered by AI <[email protected]>
@vs-code-engineering vs-code-engineering Bot locked and limited conversation to collaborators Jul 23, 2026
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants