refactor(infrastructure): migrate Maestro ARM steps to ARMStack #8260
All Vouch review confidence checks passed
Residual risk 0.29 = Change Risk (0.73) × (1 − Review Confidence (0.60)).
Review depth and reviewer attention state are adequate.
Model 1 · Change Risk (XGBoost)
Score: 0.73 · 613 lines diff across 7 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.384
Shallow Review Depth
shallow_review_depth
0.289
Sensitive Paths
sensitive_paths
0.073
Real PR Conversation Timeline
1 comments
"Review active on #8260"
general
weight: 0.35
raelga
Related: AROSLSRE-2696 - Migrate Maestro-backed ARM steps to ARMStack
Why
Reliable Maestro infrastructure pruning requires explicit resource ownership. Adopting the existing deployments as stacks establishes that ownership without splitting the shared templates or tearing down shared infrastructure.
What
Convert these seven resource-creating deployment-pipeline steps from
ARMtoARMStack, one-for-one:| Pipeline | Step | Template |
| --- | --- | --- |
|
region-pipeline.yaml|regional.infra|region.bicep||
svc-pipeline.yaml|service.cluster|svc-cluster.bicep||
mgmt-pipeline.yaml|management.cluster|mgmt-cluster.bicep||
region-pipeline.yaml|auditLogs.auditLogsEventHub|audit-logs-eventhub.bicep||
region-pipeline.yaml|regional.maestroMqttDiagnostics|maestro-mqtt-diagnostics.bicep||
region-pipeline.yaml|kusto.maestroMqttDataConnection|maestro-mqtt-data-connection.bicep||
geography-pipeline.yaml|kusto-infra.deploy|kusto.bicep|All seven use
actionOnUnmanage: detachfor adoption. The existing deny-none behavior and default-disabled out-of-sync bypass are retained; the redundant explicit bypass setting is omitted.Preserve the existing Bicep templates, parameters, resource-group root scopes, nested cross-scope modules, dependencies, conditions and outputs. Helm/Shell steps, output-only ARM lookups and existing monitoring stacks remain unchanged. No documentation changes are included.
Only declared/enabled resources enter stack ownership; existing-only references do not. The ticket's inventory predates subsequent AKS changes: both SVC and MGMT AKS roots and node pools now remain Shell-managed and are referenced as existing resources. Already-retired Maestro registrations and certificate-access resources are not recreated.
Testing
make validate-config-pipelinesagainst the main topology and configured validation region (westus3).yamlfmtlint for all four changed pipeline files.git diff --check.No new tests are added because the change modifies pipeline actions/policies, not service code or Bicep resource definitions; the existing configuration, schema and dependency validation covers those definitions. No Azure deployment was performed.
Special notes for your reviewer
These are deployment-pipeline configuration changes only; no scripts, executable commands, external downloads or resource definitions are added.
This PR implements the ticket's pipeline-adoption portion, not production Maestro teardown. Whole-template ownership includes shared regional, service, Event Hub and Kusto infrastructure. Keep
detachuntil stack-specific removal previews and disposable-scope canaries pass; never delete a whole shared stack just to remove Maestro.Live rollout gates remain: engine-correct stack-name/resource-group discovery and one owner per resource ID; cross-resource-group/subscription adoption; PostgreSQL configuration-child cleanup; aligned AKS Shell upgrade followed by stack reapply; Maestro connectivity and diagnostics ingestion; and Maestro-only pruning that preserves shared infrastructure.
Suggested infrastructure reviewers after required checks pass:
geoberleandstevekuznetsov(dev-infrastructure/OWNERS).PR Checklist
/assigncommandIf E2E tests are included: