Hacktoberfest 2026: những issue maintainer đã đánh dấu cho tháng Mười, đang mở và phù hợp người mới. Xem issue Hacktoberfest

[BUG] Publisher not throwing error in GA workflows when connectivity is not available

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

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
35/100
Loại issue
Lỗi
Độ rõ ràng
Khá rõ ràng
Mức độ hoạt động
Đình trệ
Công nghệ
azure, csharp
Lĩnh vực
api, cloud, devops

Hướng nghiên cứu

Bắt đầu bằng cách tái hiện việc triển khai với một API có tên là value được hỗ trợ bởi một Azure Key Vault không thể truy cập, đồng thời so sánh các đường dẫn publisher của GA và ADO. Theo dõi việc tạo named value và xử lý lỗi trong workflow của publisher. Được xem là hoàn tất khi GA báo cáo lỗi truy cập Key Vault và dừng trước khi thử thiết lập policy phụ thuộc.

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

Mô tả

Release version

v6.0.1.1

Describe the bug

When publisher run for the artifacts having named values attached to Azure Keyvault, during publisher run if AKV is not accessible or have no proper rights ADO throws an error clearly stating the same but GA doesn't fail and go ahead without any error.

Expected behavior

GA also should fail when there is no Access to the respective resource like ADO does.

Actual behavior

GA does not fail when connectivity is not available and logs says it has put the named values in APIM but actually it is not created. At the same time ADO works fine and give proper error.

Reproduction Steps
  1. Create an api has reference to namedvalue which holds the value from the Keyvault.
  2. Deploy to another instance which does not have access to the Kwyvault.
  3. Run publisher.
  4. In GA you can see it will not fail for the named value but fail when it will try to setup the policy as named value object is not created and it is trying to refer the same. And when you run the same using ADO it will fail at the stage of named value creation itself.
Ngôn ngữ chính
C#
Star
448
Fork
247
Chỉ số merge pull request
Không có pull request nào được merge trong 30 ngày

Hướng dẫn đóng góp

Mở hướng dẫn đóng góp

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/apiops

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

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.