[quality] the configured blunderbuss section (ignore_authors, exclude_approvers, max_request_count) is never driven through dist/index.js
Maintainer thường phản hồi trong vòng 1 ngày
Một pull request liên quan đã được merge.
- #291 của @hivecommons-hive — đã merge
Đá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
- 25/100
- Loại issue
- Lỗi
- Độ rõ ràng
- Đặc tả rõ ràng
- Mức độ hoạt động
- Đình trệ
- Công nghệ
- github-actions, typescript
Hướng nghiên cứu
Start with tests/bundle/blunderbussSettings.test.ts and the existing bundle cases in bundle.test.ts:1010–1086; run the bundle suite against dist/index.js with fakeGithub. Cover ignore_authors, exclude_approvers, and max_request_count through pull_request opened, with the expected reviewer-request behavior and the stated coverage targets serving as done.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Mô tả
Finding
docs/configuration.md documents five blunderbuss: options. The bundle suite (__tests__/bundle, the only place the shipped dist/index.js runs) exercises blunderbuss at its defaults on pull_request opened/synchronize/draft (bundle.test.ts:1010–1066) and request_count via /auto-cc (bundle.test.ts:1068–1086). The other three options never reach dist/:
ignore_authors—src/plugins/blunderbuss.ts:35(lowercasing) and159–161(the skip)exclude_approvers— thetruearm of the candidate set at:171max_request_count—:185–189(the cap and the "already has N requested reviewers" return)
Each changes the action's API traffic (whether and how many reviewers POST …/pulls/1/requested_reviewers carries), so they are behaviour of the shipped bundle, not lookup-table variations.
Evidence
- Unit:
npx vitest run --coverageonmain@ 3fc21f2 (Node v26.10.0, vitest 5.0.3, @vitest/coverage-v8 5.0.3):blunderbuss.ts100 % lines / 100 % branches (__tests__/plugins/blunderbuss.test.ts). - End-to-end:
npm run test:coverage:e2e(#274) on the same revision, local run with--coverage.reporter=lcovonly:blunderbuss.ts56/72 lines, 42/53 branches; uncovered lines35 94 101 102 118 119 160 161 169 180 181 186 187 188 189 198. - The two figures are stated separately: unit and e2e statement maps come from different transforms and do not line-merge (#235).
Recommendation
-
__tests__/bundle/blunderbussSettings.test.ts(new file): drivepull_request openedthroughdist/index.jsagainstfakeGithubwith an orgprow.yamlblunderbuss:section —ignore_authors: ['CODERTOCAT'](no request, case-insensitive),exclude_approvers: true(only thesdk/OWNERSreviewers are requested),max_request_count: 2with one and with two already-requested reviewers (one pick, then none). Expected after:blunderbuss.tse2e 63/72 lines, 47/53 branches; the remaining misses are the payload-guard throw (:94),ignore_drafts: falseonready_for_review(:100–102),/auto-ccon a plain issue (:118–119), the no-candidates return (:180) and the API-failure rethrow (:198).
Priority
- Impact: medium — unit-covered, not end-to-end-covered (priority 2 under the coverage evidence rules)
- Effort: low
Filed by quality agent (hold-gated mode)
🐝 Hive Agent: quality | Instance: hosted-available-lke648397-260827-5q9t | SHA: 3fc21f2
— hive: agent=quality backend=copilot model=claude-fable-5.1 copilot=1.0.88
- Ngôn ngữ chính
- TypeScript
- Star
- 132
- Fork
- 23
- Merge trung bình
- 1 ngày 9 giờ
- Pull request đã merge (30 ngày)
- 122
Chuẩn bị môi trường
- Không có Dockerfile hay tệp Docker Compose
- Có mẫu pull request
- Đọ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 cncf/prow-github-actions
-
[quality] test.yml never runs on main after a tide merge — github.token merges don't trigger push; add workflow_dispatch + scheduleCó thể đã có người làm Có pull request liên kết đang mở hoặc đã được merge. Đang mởagent/quality hive/hosted-available-lke648397-260827-5q9t kind/failing-test quality testing
Độ khó 1/5 Dưới một giờ Mức phù hợp với người mới 78/100
cncf/prow-github-actions#329 · 1 bình luận ·
Maintainer thường phản hồi trong vòng 1 ngày
-
[quality] bundle e2e never drives plain /close or the /milestone refusals through dist/index.jsCó thể đã có người làm @hivecommons-hive đã nhận 4 ngày trước. Đang mởagent/quality hive/covered-by-pr hive/hosted-available-lke648397-260827-5q9t kind/cleanup quality testing
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 88/100
cncf/prow-github-actions#295 · 1 bình luận ·
Maintainer thường phản hồi trong vòng 1 ngày
-
[quality] the cron dispatcher's jobs-input error arms and the push event route are never driven through dist/index.jsCó thể đã có người làm @hivecommons-hive đã nhận 1 ngày trước. Đang mởagent/quality hive/hosted-available-lke648397-260827-5q9t hive/verified-open needs-kind quality testing
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 84/100
cncf/prow-github-actions#241 · 2 bình luận ·
Maintainer thường phản hồi trong vòng 1 ngày
-
[quality] test.yml runs build-test twice per commit on every PR branch — narrow push to main and add a concurrency groupCó thể đã có người làm Có pull request liên kết đang mở hoặc đã được merge. Đang mởagent/quality hive/hosted-available-lke648397-260827-5q9t kind/cleanup quality testing
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 84/100
cncf/prow-github-actions#213 · 1 bình luận ·
Maintainer thường phản hồi trong vòng 1 ngày
-
agent/quality hive/covered-by-pr hive/hosted-available-lke648397-260827-5q9t kind/cleanup needs-decision quality testing
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 78/100
cncf/prow-github-actions#209 · 6 bình luận ·
Maintainer thường phản hồi trong vòng 1 ngày
Tất cả issue của cncf/prow-github-actions
Issue tương tự
-
bug priority:low ready-for-dev
Độ 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
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 70/100
Automattic/data-liberation-agent#685 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Business
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 66/100
Maintainer thường phản hồi trong vòng 1 ngày
-
bug
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 83/100
txn2/mcp-data-platform#2063 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
bug
Độ khó 1/5 Dưới một giờ Mức phù hợp với người mới 77/100
Crosstalk-Solutions/project-nomad#1427 ·
Maintainer thường phản hồi trong vòng 2 ngày