Remove Python management-plane API review pipeline workarounds

Offen
#48,888 0 Kommentare 1 Reaktion 1 zugewiesene Person Auf GitHub ansehen

Maintainer antworten meist innerhalb von 1 Tag

@tjprescott arbeitet bereits daran.

Seit 03.9.2026.

Bewertung

Dieses Issue wurde noch nicht bewertet.

Beschreibung

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.
Vorherrschende Sprache
Python
Sterne
5.6k
Forks
3.4k
Ø Merge
1 T. 22 Std.
Gemergte PRs (30 T.)
189

Entwicklungsumgebung

In Codespaces öffnen

Startet den Dev-Container des Projekts im Browser, mit Ihrem eigenen GitHub-Konto.

Erste Schritte

  1. Lesen Sie das ganze Issue und danach den Beitragsleitfaden des Projekts.
  2. Schreiben Sie ins Issue, dass Sie es übernehmen — das erspart doppelte Arbeit.
  3. Forken Sie das Repository und arbeiten Sie in einem Branch.
  4. Öffnen Sie einen Pull Request, der die Issue-Nummer nennt.

Mehr aus Azure/azure-sdk-for-python

Alle Issues in Azure/azure-sdk-for-python

Ähnliche Issues

Weitere Issues zu Python

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.