az deployment: show a readable summary of deployment errors by default, with raw JSON on request
I maintainer di solito rispondono entro 1 giorno
Nessuno ha ancora preso questa issue.
Valutazione
- Difficoltà
- 4/5
- Tempo stimato
- 3-5 giorni
- Idoneità per principianti
- 48/100
Direzione di ricerca
Start by tracing the az deployment create commands named in the issue and finding where failed deployment errors are formatted. Check how --output json is handled so the existing machine readable output remains available. Done means the default output shows the top-level error and one line per inner error, with raw JSON still available on request.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Descrizione
Related command
az deployment sub create (and az deployment group create, az deployment mg create, az deployment tenant create)
Is your feature request related to a problem? Please describe.
When a deployment fails, the CLI prints the full error JSON, including the nested details arrays, as one long block. That's useful for tooling, but hard to scan when a person reads it in a terminal or a pipeline log. We heard this from a customer: machine-readable JSON is useful, but a readable default with a switch for raw JSON would be better.
Describe the solution you'd like
By default, print a short summary of a failed deployment: the top-level error code and message, then one line per inner error with its code, message and the resource it applies to. Keep the full JSON available behind a flag, or when --output json is set, so scripts that parse it keep working.
Describe alternatives you've considered
Parsing the error JSON with jq or PowerShell in each pipeline, which every team ends up writing for itself.
Additional context
Filed by the Azure Deployments PM team from customer feedback.
- Lingua principale
- Python
- Stelle
- 4.7k
- Fork
- 3.5k
- Merge medio
- 4g 14h
- PR unite (30g)
- 92
Preparare l'ambiente
Avvia il container di sviluppo del progetto nel browser, con il tuo account GitHub.
- Nessun Dockerfile né file Docker Compose
- Ha un modello di pull request
- Leggi la guida per i contributori
Come iniziare
- Leggi tutta la issue e poi la guida ai contributi del progetto.
- Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
- Fai un fork del repository e lavora su un branch.
- Apri una pull request che faccia riferimento al numero della issue.
Altre issue di Azure/azure-cli
-
customer-reported MySQL needs-triage Service Attention
Difficoltà 1/5 Meno di un'ora Idoneità per principianti 70/100
Azure/azure-cli#34393 · 5 commenti ·
I maintainer di solito rispondono entro 1 giorno
-
customer-reported Service Attention
Difficoltà 1/5 Meno di un'ora Idoneità per principianti 72/100
Azure/azure-cli#34267 · 1 commento ·
I maintainer di solito rispondono entro 1 giorno
-
Add support for cli completion in git bash for windowsForse già presa @a0x1ab l’ha presa 23 giorni fa. Apertacustomer-reported Service Attention
Difficoltà 2/5 1-3 ore Idoneità per principianti 68/100
Azure/azure-cli#34150 · 4 commenti ·
I maintainer di solito rispondono entro 1 giorno
-
act-observability-squad Auto-Assign ContainerApp Output Service Attention
Difficoltà 2/5 1-3 ore Idoneità per principianti 72/100
Azure/azure-cli#33149 · 5 commenti ·
I maintainer di solito rispondono entro 1 giorno
-
act-codegen-extensibility-squad Auto-Assign Documentation MySQL Possible-Solution Service Attention Similar-Issue
Difficoltà 1/5 Meno di un'ora Idoneità per principianti 85/100
Azure/azure-cli#33009 · 5 commenti ·
I maintainer di solito rispondono entro 1 giorno
Tutte le issue di Azure/azure-cli
Issue simili
-
Unknown stop ID in slow zone data crashes post formatting and skips the rest of that day's postsApertabackend bug tm-new-volunteer
Difficoltà 2/5 1-3 ore Idoneità per principianti 84/100
transitmatters/mbta-slow-zone-bot#81 · 1 commento ·
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 72/100
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 64/100
spacetelescope/rdmt-spire#49 ·
I maintainer di solito rispondono entro 1 giorno
-
AI bug
Difficoltà 2/5 1-3 ore Idoneità per principianti 68/100
AUTO-MAS-Project/AUTO-MAS#1960 · 1 commento ·
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 82/100
btclib-org/btclib-wallet#872 ·
I maintainer di solito rispondono entro 1 giorno