Remove Python management-plane API review pipeline workarounds

Aperta
#48,888 0 commenti 1 reazione 1 assegnatario Vedi su GitHub

I maintainer di solito rispondono entro 1 giorno

@tjprescott ci sta già lavorando.

Dal 3/9/2026.

Valutazione

Questa issue non è ancora stata valutata.

Descrizione

EngSys Mgmt-EngSys

Problem

Python management-plane SDKs currently do not generate API token files or an ApiHash. This requires pipeline workarounds around package approval and release completion.

** Prerequiste **
ARH must update the get-approval-status endpoint to support a packageType value of mgmt or client.
https://msft.ghe.com/devdiv/azure-sdk-tools/issues/23

Required work

  • Remove --filter-type=Omit_management from eng/pipelines/templates/steps/run_apistub.yml to ensure API token files are generated for management-plane SDKs.
  • Update eng/scripts/save_package_api_hash.py and its tests/comments to expect management-plane token files.
  • Generate and store ApiHash for management-plane packages so the ARH portion of mark-released can succeed.
  • Remove the management-plane filter before the get-package-approval-status stage.
  • Pass PackageInfo packageType through the approval-status workflow.-
  • Remove eng/scripts/Filter-PackageInfoForPackageApproval.ps1 and its pipeline wiring.
  • Remove the management-plane workaround around Mark Package Released in eng/pipelines/templates/stages/archetype-python-release.yml.

Acceptance criteria

  • Management-plane packages generate token files and ApiHash.
  • Approval status succeeds with packageType=mgmt without requiring an API review, per policy in ARH.
  • Data-plane packages use packageType=client.
  • Management-plane releases are marked complete in ARH.
  • Python package approval and release completion pipelines contain no SdkType == mgmt workarounds.

Other management-plane special cases to audit separately

These are other management-plane related workarounds that won't be touched as part of this work:

  • eng/pipelines/templates/steps/run_black.yml excludes management packages.
  • eng/pipelines/templates/steps/run_pylint.yml excludes management packages.
  • eng/pipelines/templates/stages/python-analyze-weekly.yml excludes management packages from next-Pylint.
  • eng/common/scripts/Verify-RestApiSpecLocation.ps1 skips Python management packages during release validation.
Lingua principale
Python
Stelle
5.6k
Fork
3.4k
Merge medio
1g 22h
PR unite (30g)
189

Preparare l'ambiente

Apri in Codespaces

Avvia il container di sviluppo del progetto nel browser, con il tuo account GitHub.

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Altre issue di Azure/azure-sdk-for-python

Tutte le issue di Azure/azure-sdk-for-python

Issue simili

Altre issue su Python

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.