az deployment: show a readable summary of deployment errors by default, with raw JSON on request
Maintainer thường phản hồi trong vòng 1 ngày
Chưa có ai nhận issue này.
Đánh giá
- Độ khó
- 4/5
- Thời gian dự kiến
- 3-5 ngày
- Mức phù hợp với người mới
- 48/100
Hướng nghiên cứu
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.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Mô tả
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.
- Ngôn ngữ chính
- Python
- Star
- 4.7k
- Fork
- 3.5k
- Merge trung bình
- 4 ngày 14 giờ
- Pull request đã merge (30 ngày)
- 92
Chuẩn bị môi trường
Khởi chạy dev container của dự án ngay trên trình duyệt, bằng tài khoản GitHub của bạn.
- Không có Dockerfile hay tệp Docker Compose
- Có mẫu pull request
- Đọc hướng dẫn đóng góp
Bắt đầu từ đâu
- Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
- Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
- Fork repository và làm thay đổi trên một nhánh.
- Mở pull request có tham chiếu số hiệu của issue.
Issue khác của Azure/azure-cli
-
customer-reported MySQL needs-triage Service Attention
Độ khó 1/5 Dưới một giờ Mức phù hợp với người mới 70/100
Azure/azure-cli#34393 · 5 bình luận ·
Maintainer thường phản hồi trong vòng 1 ngày
-
customer-reported Service Attention
Độ khó 1/5 Dưới một giờ Mức phù hợp với người mới 72/100
Azure/azure-cli#34267 · 1 bình luận ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Add support for cli completion in git bash for windowsCó thể đã có người làm @a0x1ab đã nhận 23 ngày trước. Đang mởcustomer-reported Service Attention
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 68/100
Azure/azure-cli#34150 · 4 bình luận ·
Maintainer thường phản hồi trong vòng 1 ngày
-
act-observability-squad Auto-Assign ContainerApp Output Service Attention
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 72/100
Azure/azure-cli#33149 · 5 bình luận ·
Maintainer thường phản hồi trong vòng 1 ngày
-
act-codegen-extensibility-squad Auto-Assign Documentation MySQL Possible-Solution Service Attention Similar-Issue
Độ khó 1/5 Dưới một giờ Mức phù hợp với người mới 85/100
Azure/azure-cli#33009 · 5 bình luận ·
Maintainer thường phản hồi trong vòng 1 ngày
Tất cả issue của Azure/azure-cli
Issue tương tự
-
Unknown stop ID in slow zone data crashes post formatting and skips the rest of that day's postsĐang mởbackend bug tm-new-volunteer
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 84/100
transitmatters/mbta-slow-zone-bot#81 · 1 bình luận ·
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 72/100
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 64/100
spacetelescope/rdmt-spire#49 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
AI bug
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 68/100
AUTO-MAS-Project/AUTO-MAS#1960 · 1 bình luận ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 82/100
btclib-org/btclib-wallet#872 ·
Maintainer thường phản hồi trong vòng 1 ngày