[bug]: aws-systems-manager tiers AWSSupport-EmptyS3Bucket as mutating-reversible

Đang mở Phù hợp với người mới
#307 0 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 2 ngày

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

Đánh giá

Độ khó
2/5
Thời gian dự kiến
1-3 giờ
Mức phù hợp với người mới
82/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ệ
aws
Lĩnh vực
documentation

Hướng nghiên cứu

Mở skills/aws-systems-manager/references/automation/catalog/runbooks-resource-cleanup-cost.md và xem hàng AWSSupport-EmptyS3Bucket; mô tả của chính hàng đó (tạm dừng versioning cộng với hết hạn vòng đời) là bằng chứng cho thấy tầng nên là destructive. Trước tiên hãy đọc các định nghĩa tầng và giá trị mặc định khi thực thi trong references/automation/execution.md để giá trị mới khớp với schema, sau đó thay đổi hàng và tạo lại số lượng trong danh mục mà runbook-catalog.md báo cáo. Hoàn tất nghĩa là hàng hiển thị destructive, số lượng khớp với đầu ra được tạo lại và không có hàng nào khác bị thay đổi.

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

Mô tả

Which tool is affected?

aws-systems-manager skill (1.0.1)

Describe the bug

In references/automation/catalog/runbooks-resource-cleanup-cost.md, AWSSupport-EmptyS3Bucket is tiered mutating-reversible. The same row's description says it suspends bucket versioning and expires every object through a lifecycle rule, which is irreversible data loss.

The tier matters: references/automation/execution.md (Required defaults) allows --max-concurrency up to 10% for mutating-reversible runbooks, but 1 for destructive ones.

Expected behaviour

AWSSupport-EmptyS3Bucket is tiered destructive, so the stricter execution defaults apply. The catalog counts (for example in runbook-catalog.md) are regenerated.

Steps to reproduce
  1. Ask the agent to empty an S3 bucket with an Automation runbook.
  2. The skill finds AWSSupport-EmptyS3Bucket with tier mutating-reversible and applies the 10% concurrency default.
Environment details

Found by reading the skill at commit 3c50c04c9f46c96cc7b351bebff0aaed0a8d4fb3.

Ngôn ngữ chính
Python
Star
143
Fork
140
Merge trung bình
2 ngày 12 giờ
Pull request đã merge (30 ngày)
70

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

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 aws/tools-for-devops-agent

Tất cả issue của aws/tools-for-devops-agent

Issue tương tự

Thêm issue về Python

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.