Repository navigation
Add DevDiv API and static analysis pipelines - #26288
Open
Stella Huang (StellaHuang95) wants to merge 5 commits into
Open
Stella Huang (StellaHuang95) wants to merge 5 commits into
Stella Huang (StellaHuang95) wants to merge 5 commits into
Conversation
Stella Huang (StellaHuang95)
marked this pull request as ready for review
November 12, 2026 23:38
Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
Stella Huang (StellaHuang95)
force-pushed
the
stellahuang95-devdiv-python-pipelines
branch
from
November 12, 2026 23:39
b3fa84c to
847764e
Compare
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.
Summary
build/azure-pipelines/devdiv/python-extension-api.ymlfor the@vscode/python-extensionpackagelatest/next; publication disabled by default; API Scan; TSA; secure ESRP npm publication; DevDiv feed publication; andrelease/pythonExtensionApi/GitHub releases/tagsbuild/azure-pipelines/devdiv/static-analysis.ymlas the source-controlled replacement for classic definition 13577pythonFilestopython_filesand making AntiMalware scan the source treeDesign notes
The API pipeline follows the proven DevDiv MicroBuild/1ES npm pattern. API Scan and TSA remain explicit jobs/tasks to avoid duplicate 1ES injection. The Monaco symbol feed was removed; API Scan uses SymWeb and the extracted package only. The existing API pipeline TSA notification alias
monacotools@microsoft.comis retained because there is no verified Python team alias in the repository; the owning team should confirm a replacement before cutover.The static pipeline is YAML because DevDiv reports that new classic pipelines are disabled for the project/organization. Its
sdlblock explicitly disables auto-injected Bandit, AntiMalware, component governance, CredScan, ESLint, PoliCheck, report/log, and TSA tasks so only the parity-preserving legacy tasks run. Static TSA retains 13577'skanadig@microsoft.comnotification alias pending an approved Python-team alias. It adds service tree ID6e6194bc-7baa-4486-86d0-9f5419626d46, which is already used by the vscode-python extension pipelines; 13577 left this value empty. Definition 13577 is not modified or disabled.Validation
git diff --checkpassesTests (ubuntu-latest, 3.x, venv)failed twice before tests because the existing workflow had a nullCONDAenvironment variable atJoin-Path -Path $Env:CONDA; this is unrelated to the two YAML-only changes. The external vscode-engineering run completed successfully even though GitHub's aggregate check remains stale/pending.Pylance_PublicPackagesfeed exist in DevDivAccess denied. Stella Huang needs Create build pipeline permissions for path \Python\VSCode Python Extensions\vscode-python in team project DevDiv to perform the action.The same denial occurs at\PythonUser not permitted to queue dry run for build pipeline 27973 with modified YAML. Permissions needed: EditBuild.vscode-apiscanand a secretAPIScanConnectionStringpipeline variable; neither is currently visible to the callerAn admin can unblock validation by granting Create build pipeline on
\Python\VSCode Python Extensions\vscode-python, or by granting EditBuild on a validation definition foryamlOverride. After that:refs/pull/26288/mergewith GitHub connectionfb1b4583-c76e-4376-b5a0-294d56ae7d09.quality=latest publishPythonApi=false runAPIScan=falseto validate build, tests, and package creation before API Scan credentials are provisioned.vscode-apiscanplus the secretAPIScanConnectionString, then rerun withquality=latest publishPythonApi=false runAPIScan=true.The pipeline guard prevents publication when API Scan is disabled. Existing definitions 635 and 13577 must remain untouched until both replacements succeed.
Tracking: https://github.com/microsoft/pyrx/issues/10073