🤖 ci: wait_pr_codex.sh usage-limit check trusts any author's request comment
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
- 76/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ệ
- bash, github
- Lĩnh vực
- ci-cd
Hướng nghiên cứu
Bắt đầu với scripts/wait_pr_codex.sh gần phần kiểm tra giới hạn sử dụng và scripts/lib/codex_comments.jq, nơi lọc những tác giả yêu cầu đáng tin cậy. Tìm các bài kiểm thử hiện có cho tập lệnh chờ và thêm trường hợp được mô tả: bình luận yêu cầu của người ngoài được theo sau bởi thông báo giới hạn sử dụng; tập lệnh vẫn phải đăng được yêu cầu của chính nó. Hoàn tất khi trường hợp đó chạy thành công và việc đối chiếu giới hạn sử dụng áp dụng cùng bộ lọc OWNER, MEMBER hoặc COLLABORATOR.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Mô tả
Problem
scripts/wait_pr_codex.sh can fail early (exit 1) on a public PR when an outsider posts a comment that names the head and the words of a Codex security review request, and Codex later posts a usage-limit notice. The wait then reports "Codex usage limits reached: no security receipt for " before it posts its own request. It never passes a head without a receipt: the effect is an early failure in the local wait script only.
Cause
The usage-limit check added in #7732 (wait_pr_codex.sh, near line 468) finds the latest comment that names the head and the request words, from any author. The check that suppresses the script's own request (codex_security_review_requested_for in scripts/lib/codex_comments.jq) counts only authors with OWNER, MEMBER or COLLABORATOR association. The two checks disagree.
Fix direction
Apply the same OWNER/MEMBER/COLLABORATOR filter to the usage-limit correlation, for example by reusing one jq def for "a trusted request that names the head". Add a test case: an outsider's comment plus a later usage-limit notice still lets the script post its request.
Found by Codex round 5 on #7732 (thread PRRT_kwDOPxxmWM6xxG98). Refs #7731.
Generated with xum • Model: anthropic:claude-opus-5-5 • Thinking: high • Cost: $273.17
- Ngôn ngữ chính
- TypeScript
- Star
- 2.1k
- Fork
- 139
- Merge trung bình
- 3 giờ 45 phút
- Pull request đã merge (30 ngày)
- 953
Chuẩn bị môi trường
- Có Dockerfile hoặc tệp Docker Compose
- Không có mẫu pull request
- Không 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 coder/xum
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 73/100
Maintainer thường phản hồi trong vòng 1 ngày
-
🤖 tests: lock in git status outgoing-count rename equivalence and clarify index-lock commentĐang mở
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 76/100
Maintainer thường phản hồi trong vòng 1 ngày
-
🤖 fix: Daytona startAndWait can start a sandbox after its deadline and then report a timeoutĐang mở
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 83/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 76/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 78/100
Maintainer thường phản hồi trong vòng 1 ngày
Issue tương tự
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 65/100
lichess-org/lila#22324 · 1 bình luận ·
Maintainer thường phản hồi trong vòng 1 ngày
-
[Feature Request] [Web] Expose kvCacheQuantizationBits in the onnxruntime-web WebGPU EP optionsĐang mởep:WebGPU platform:web quantization
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 66/100
microsoft/onnxruntime#33752 ·
Maintainer thường phản hồi trong vòng 2 ngày
-
[Skill Bug]: entra-agent-id: inaccurate blueprint permission inheritance and parent token sub claimĐang mởbug entra-agent-id
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 78/100
microsoft/GitHub-Copilot-for-Azure#3467 · 1 bình luận ·
Maintainer thường phản hồi trong vòng 1 ngày
-
fix(worker): keep normal prepare waiting states failure-freeCó thể đã có người làm @LichKing-2234 đã nhận hôm nay. Đang mởagent:codex priority:P1
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 72/100
AgoraIO-Extensions/agent-infra#3745 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
The five-line work window can drop its oldest line: the per-line byte share ignores the JSON framingCó thể đã có người làm @Eapp1e đã nhận hôm nay. Đang mở
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 84/100
makecindy/cindy#7973 · 1 bình luận ·
Maintainer thường phản hồi trong vòng 1 ngày