[B000-1][CLI] Bundled Storage extension reports empty version metadata after full installation

Đang mở
#1,300 2 bình luận 0 reaction 0 người được giao Xem trên GitHub

Maintainer thường phản hồi trong vòng 1 ngày

Chưa có ai nhận issue này.

  • #1432 của @naga-nandyala — đã đóng, không merge

Đánh giá

Độ khó
3/5
Thời gian dự kiến
1-2 ngày
Mức phù hợp với người mới
48/100
Loại issue
Lỗi
Độ rõ ràng
Đặc tả rõ ràng
Mức độ hoạt động
Sôi nổi
Công nghệ
csharp, powershell
Lĩnh vực
cli, tooling

Hướng nghiên cứu

Start by running az extension list from a full 0.1.7 install as the reporter does and confirm that only the bundled Storage entry comes back with an empty version, selectedVersion and candidate version. Then find where the extension-listing command populates those fields for bundled extensions and compare the Storage package's metadata with a bundled extension that reports a version correctly. Note there is already a closed, unmerged pull request (#1432) against this issue, so read it before starting to see what was tried. Done means the Storage extension reports its real version in all three fields, matching the other bundled extensions.

Do mô hình lập chỉ mục viết ra từ nội dung của issue.

Mô tả

act-codegen-extensibility-squad bug
Affected surface

CLI (az)

Describe the bug

Command/Script

$az = "$env:LOCALAPPDATA\Programs\azcli\az.exe"
& $az extension list

After a default full installation of AzCLIPS 0.1.7, az extension list succeeds but reports empty version fields for the bundled Storage extension, while other extensions report valid versions.

Steps to reproduce

Reproduced on Windows X64, PowerShell 7.6.9, AzCLIPS 0.1.7 full release (v0.1.7.20261104T200741Z).

Errors & debug output
{
  "packageId": "Microsoft.Azure.Azclips.Extensions.Storage",
  "version": "",
  "selectedVersion": "",
  "candidates": [
    {
      "version": "",
      "tier": "Bundled"
    }
  ]

Expected behavior

The bundled Storage extension reports its actual version in version, selectedVersion, and candidate version, consistently with other bundled extensions.

Environment
Windows X64, PowerShell 7.6.9, AzCLIPS 0.1.7 full release (v0.1.7.20261104T200741Z)
Additional context

No response

Ngôn ngữ chính
C#
Star
18
Fork
10
Merge trung bình
1 ngày 20 giờ
Pull request đã merge (30 ngày)
157

Chuẩn bị môi trường

Mở trong Codespaces

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.

Bắt đầu từ đâu

  1. Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
  2. 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.
  3. Fork repository và làm thay đổi trên một nhánh.
  4. Mở pull request có tham chiếu số hiệu của issue.

Issue khác của Azure/azclips

Tất cả issue của Azure/azclips

Issue tương tự

Thêm issue về C#

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.