Skip to content

Update Python API pipeline routing and approvals - #26307

Merged
Stella Huang (StellaHuang95) merged 3 commits into
microsoft:mainfrom
StellaHuang95:stellahuang95-api-pipeline-migration
Nov 20, 2026
Merged

Stella Huang (StellaHuang95) merged 3 commits into
microsoft:mainfrom
StellaHuang95:stellahuang95-api-pipeline-migration

Conversation

@StellaHuang95

@StellaHuang95 Stella Huang (StellaHuang95) commented Nov 19, 2026 •

Copy link
Copy Markdown

Summary

  • route both the automatic 1ES TSA uploads and the explicit API Scan TSA upload to DevDiv\Python and AI Tools\Python\VS Code with service tree 6e6194bc-7baa-4486-86d0-9f5419626d46, codebase devdiv_microsoft_vscode_python, and the existing Python notification aliases
  • keep CredScan and PoliCheck enabled, keep Bandit disabled, and add a server-side ManualValidation@1 approval after build/package/API Scan/SDLSources and before public npm publication
  • restrict the manual approval to plseng@microsoft.com, and set ESRP owner/approver to brcan@microsoft.com / plseng@microsoft.com
  • leave CFS-feed restore and GitHub Secret Scanning settings unchanged because they require separate owner/repository configuration decisions

Validation

  • DevDiv pipeline definition 28954 previewRun with the local YAML override and publishing parameters enabled: Publish depends on APIScan and SDLSources; ApprovePublish is an agentless server job before PublishPackage; automatic and explicit TSA routes expand to the requested area/service/codebase; CredScan and PoliCheck remain enabled; Bandit remains disabled; production readiness, release SBoM, source-build validation, ESRP public npm publication, and GitHub release tagging remain present
  • npx prettier --check build/azure-pipelines/devdiv/python-extension-api.yml
  • YAML parse with PyYAML
  • npm run lint -- --quiet
  • npm run checkDependencies
  • npm run lint-staged
  • git diff --check upstream/main...HEAD

No pipeline, release, or publishing run was queued.

Tracking: microsoft/pyrx#10073

Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
@StellaHuang95 Stella Huang (StellaHuang95) added the no-changelog No news entry required label Nov 19, 2026
Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
@rchiodo

Copy link
Copy Markdown

🔒 Automated review in progress — Rich Chiodo (@rchiodo) is auto-reviewing this PR.

@rchiodo

Rich Chiodo (rchiodo) commented Nov 19, 2026 •

Copy link
Copy Markdown

Reviewed commit: 66685649b1b819301edc1ec767188ac3c109398a

Result: 🔴 could-not-verify

Verification details

Verification: Automated verification is best effort. The PR author remains responsible for testing.

Summary: [unavailable] Container verification could not start and local execution was not authorized for this PR HEAD: C:\Users\rchiodo\AppData\Local\Programs\Podman\podman.EXE --connection pyrx-automation failed: stderr: Error: unable to start container "17f2d3e2f38b535309f5f4ec99e105f35132e660d64c66ce495ae3d484da9e48": crun: open `memory.max` for writing: No such file or directory: OCI runtime attempted to invoke a command that was not found

Test runs: none recorded.

Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
@rchiodo Rich Chiodo (rchiodo) added the review-auto:approved Automated review: no blocking findings (approval posted). label Nov 19, 2026

@rchiodo Rich Chiodo (rchiodo) 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.

Approved via Review Center.

@StellaHuang95
Stella Huang (StellaHuang95) merged commit 4ddb282 into microsoft:main Nov 20, 2026
58 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

no-changelog No news entry required review-auto:approved Automated review: no blocking findings (approval posted).

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants