Skip to content

Restore Python API pipeline parity - #26305

Merged
Stella Huang (StellaHuang95) merged 1 commit into
microsoft:mainfrom
StellaHuang95:stellahuang95-api-pipeline-parity
Nov 19, 2026
Merged

Stella Huang (StellaHuang95) merged 1 commit into
microsoft:mainfrom
StellaHuang95:stellahuang95-api-pipeline-parity

Conversation

@StellaHuang95

Copy link
Copy Markdown

Summary

  • make PublishPackage a production 1ES release job that consumes the pythonExtensionApi pipeline artifact and publishes to public npm through ESRP only
  • restore API pipeline parity for artifact-derived API Scan versions, CredScan/PoliCheck source coverage, release identities, manual-main publication guards, and 30-minute job timeouts
  • remove the unintended Pylance_PublicPackages registry and direct-feed publication path

Validation

  • DevDiv definition 28954 YAML preview (previewRun with the local YAML override): no release-task warning; Publish depends on APIScan and SDLSources; productionReadinessPolicy, release SBoM validation, and source-build validation are injected; CredScan and PoliCheck are enabled; only the explicit API Scan TSA upload remains; no Pylance feed tasks remain; API Scan uses $(PackageVersion) from the extracted artifact
  • npx prettier --check build/azure-pipelines/devdiv/python-extension-api.yml
  • YAML parse with PyYAML
  • npm run lint
  • npm run format-check (with the repository script run under Bash on Windows)
  • npm run checkDependencies
  • npm run lint-staged
  • git diff --check upstream/main...HEAD

No publishing or cutover was performed, and no Azure build or product-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
@rchiodo

Copy link
Copy Markdown

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

@rchiodo

Copy link
Copy Markdown

Reviewed commit: 7e1344ffdd9621cb4414b963fff06ce6674b9f3e

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 "6d9776fa29bd630314bfda2191f25b6e97af5774b93e64d6d92ec1f63581c018": 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.

@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 9c08cef into microsoft:main Nov 19, 2026
58 checks passed
@rchiodo Rich Chiodo (rchiodo) added the review-auto:approved Automated review: no blocking findings (approval posted). label Nov 19, 2026
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