Skip to content

Prepare unified npm and Python release pipeline - #114

Merged
leileizhang (lei9444) merged 5 commits into
mainfrom
lei9444-release-readiness
Sep 1, 2026
Merged

leileizhang (lei9444) merged 5 commits into
mainfrom
lei9444-release-readiness

Conversation

@lei9444

@lei9444 leileizhang (lei9444) commented Sep 1, 2026 •

Copy link
Copy Markdown
Contributor

Summary

  • route the restricted ADO CI Win32 metadata restore through packagefeedproxy.microsoft.io
  • build and consume Python ARM64 wheels on GitHub-hosted windows-11-vs2026-arm runners
  • keep GitHub Actions responsible only for building, native testing, and attaching the complete 10-wheel set
  • make the official 1ES ADO release wait for successful Python assembly before creating the shared GitHub Release
  • have ADO download and fully revalidate all wheel names, versions, ABI/platform tags, metadata, stubs, and native payloads
  • gate npm publication on successful Python artifact collection
  • publish dynwinrt first and dynwinrt-codegen second through Microsoft ESRP
  • remove GitHub OIDC/PyPI publishing permissions and obsolete trusted-publisher instructions

Validation

  • confirmed the NuGet proxy contains Microsoft.Windows.SDK.Win32Metadata 71.0.14-preview
  • completed final non-publishing Python rehearsal 33489933145: CPython 3.11–3.14 x64/ARM64 builds and isolated runtime consumers passed, both codegen consumers passed, and assemble-release produced all 10 wheels
  • exercised the new release-set verifier against a real 10-wheel artifact; every archive passed content and metadata checks
  • confirmed an incomplete wheel set is rejected
  • ran a temporary ADO CI handoff probe: ADO successfully read the Actions assemble-release status and downloaded both existing GitHub Release assets through github-service-connection; the probe was removed after CI passed
  • confirmed the final GitHub workflow contains no PyPI publish action, id-token: write, or protected pypi environment
  • ran git diff --check, Python source verification, Python bytecode compilation, and a final release-migration code review

Manual prerequisite

  • onboard both dynwinrt and dynwinrt-codegen for PyPI publication through the configured ESRP service connection and confirm the signing identity, owners, and approvers before creating the release tag

Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
@lei9444 leileizhang (lei9444) changed the title Use NuGet proxy in ADO CI Fix release CI network and ARM64 runners Sep 1, 2026
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>
@lei9444 leileizhang (lei9444) changed the title Fix release CI network and ARM64 runners Prepare unified npm and Python release pipeline Sep 1, 2026
@github-actions

github-actions Bot commented Sep 1, 2026

Copy link
Copy Markdown

Mixed-language test coverage

Workflow status: ✅ Passed

Layer Lines Functions Branches/regions
Rust, including native .pyd/.node 82.83% 79.17% 82.75% regions
Generated Python projections 70.48% n/a 21.71% branches
JavaScript aggregate 21.24% 20.56% 53.98% branches
JavaScript runtime 19.91% 14.28% 7.14% branches
Generated WinRT projections 25.74% 19.25% 54.66% branches
Generated Classic COM projections 14.65% 24.46% 53.75% branches

View workflow run and download full HTML/LCOV/XML reports

@lei9444
leileizhang (lei9444) merged commit 353aa77 into main Sep 1, 2026
47 checks passed
@lei9444
leileizhang (lei9444) deleted the lei9444-release-readiness branch September 1, 2026 10:06
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.

2 participants