[avenger] Add missing debug playbook diagnostic code rows

Đang mở Phù hợp với người mới
#77,541 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 1 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
62/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ệ
javascript, markdown
Lĩnh vực
documentation, testing

Hướng nghiên cứu

Bắt đầu với kiểm tra test_debug_playbook_covers_diagnostic_codes do make test-guidance chạy, kiểm tra này báo cáo thiếu các mã base_branch_not_allowed và merge_outcome_indeterminate từ merge_pull_request.cjs. Thêm một dòng cho mỗi mã vào các dòng merge-guard hiện có trong .github/aw/debug-playbook.md, rút gọn nội dung nếu cần để giữ trong giới hạn 26.000 byte. Hoàn thành khi make test-guidance vượt qua cả 79 bài kiểm thử.

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

Mô tả

agentic-workflows automated ci-fix pull-request-fallback

[!TIP]
Your pull request is ready to create! 🎉 ✅

Everything is OK—the changes have been pushed to a branch. Please review the protected files, then create the pull request when you are ready.

Create the pull request

The original pull request description is below.


Fix CI: guidance tests

Failure

CI job Validate workflow container pins failed at make test-guidance (test_debug_playbook_covers_diagnostic_codes): base_branch_not_allowed and merge_outcome_indeterminate (from merge_pull_request.cjs) had no row in .github/aw/debug-playbook.md.

Fix
  • Added both codes to existing merge-guard rows.
  • Trimmed a few words elsewhere to stay under the 26,000-byte playbook budget.
Validation
  • make test-guidance: 79 tests OK.
  • make fmt/lint/test-unit not run (docs-only change; merge with origin/main was unavailable due to a TLS error in the sandbox).

[!NOTE]
Protected files

This patch modifies protected files, which may affect project dependencies, CI/CD pipelines, or agent behaviour.

Protected files

To route changes like this to a review issue instead of blocking, configure protected-files: fallback-to-issue in your workflow configuration.

Allow intentional protected-file changes

If this workflow is intended to modify these files, add specific filenames or folder prefixes to safe-outputs.create-pull-request.protected-files.exclude in the workflow Markdown frontmatter. For example, to allow .changeset/*, exclude the folder using .changeset/:

safe-outputs:
  create-pull-request:
    protected-files:
      policy: fallback-to-issue
      exclude:
        - .changeset/

Keep your existing policy and exclusions. Folder exclusions use path prefixes, not glob patterns, and allow all files beneath that folder, including subfolders. Other protected files still follow the configured policy. If allowed-files is configured, these paths must also match it. Run gh aw compile after updating the workflow.

Proposed in this workflow run.

  • expires on Nov 15, 2026, 11:36 AM UTC-08:00

Generated by 🦸 Avenger · copilot · routed: sonnet55 high · ~39 AIC · ⌖ ~2 AIC · ⊞ 4.8K · ◷

Ngôn ngữ chính
Go
Star
5.6k
Fork
625
Merge trung bình
5 giờ 42 phút
Pull request đã merge (30 ngày)
796

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 github/gh-aw

Tất cả issue của github/gh-aw

Issue tương tự

Thêm issue về Go

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.