chore: publish VS Code extension with managed identity #2001
All Vouch review confidence checks passed
Residual risk 0.15 = Change Risk (0.39) × (1 − Review Confidence (0.60)).
Review depth and reviewer attention state are adequate.
Model 1 · Change Risk (XGBoost)
Score: 0.39 · 243 lines diff across 3 files
Model 2 · Review Depth (DistilBERT)
Depth Score: 0.17 · 1 substantive comment(s)
Model 3 · Review Timing & Attention
Session adequacy: 100% · Reviewer familiarity: 35%
Bedrock Claude 3 · Risk Narration
(disconnected)
Groq Risk Narration
AWS Bedrock is currently disconnected. Generate high-confidence PR triage narration on-demand using Groq.
Model 1 · Change Risk Attribution
SHAP Weights
Diff Size
diff_size
0.329
Shallow Review Depth
shallow_review_depth
0.289
Real PR Conversation Timeline
1 comments
"Review active on #2001"
general
weight: 0.35
StevenMcClankerton
Replaces the Azure DevOps PAT used for VS Code Marketplace publishing with short-lived Azure Managed Identity credentials obtained through GitHub Actions OIDC.
Changes
publish-marketplacejob-scopedid-token: write, signs in through pinnedazure/loginusing repository secrets, and publishes withvsce --azure-credential.main, matching the managed identity's branch-bound federated credential while preserving the existing sourcerefinput for trusted patch releases.Why
Long-lived Azure DevOps PATs create rotation and exposure risk in the release path. Workload identity federation gives each release a short-lived credential without moving publishing away from GitHub Actions or introducing a PAT fallback.
The Marketplace identity has no Azure RBAC assignment;
azure/loginusesallow-no-subscriptions: truebecause publishing only needs an Entra token for Marketplace. Open VSX publishing remains unchanged and continues to useOPEN_VSX_ACCESS_TOKEN.Verification
actionlint .github/workflows/release.ymlprettier --check .github/workflows/release.yml docs/ci-cd.mdgit diff --checkAZURE_DEVOPS_PERSONAL_ACCESS_TOKENandVSCE_PATare absent from the release workflow and environment sampleExternal Azure federation, Marketplace membership, and the
AZURE_CLIENT_IDandAZURE_TENANT_IDrepository secrets must be configured before running the first release.