[deep-report] Shared copilot-pr-data-fetch.md omits additions/deletions/changedFiles, breaking PR size metrics fleet-wide
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ó
- 1/5
- Thời gian dự kiến
- Dưới một giờ
- Mức phù hợp với người mới
- 90/100
Hướng nghiên cứu
Bắt đầu trong .github/shared/copilot-pr-data-fetch.md và kiểm tra danh sách trường của gh pr list --json cũng như chú thích schema của Output Files. Xác nhận rằng output dùng chung tại /tmp/gh-aw/agent/pr-data/copilot-prs.json bao gồm các trường kích thước PR được yêu cầu, sau đó chạy make recompile. Hoàn tất khi các workflow Copilot PR-analysis downstream có thể đọc additions, deletions và changedFiles.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Mô tả
Description
The Daily Copilot PR Merged Report (#64522) reports "Total Lines Added / Deleted: unavailable" and "Test Files / Workflow Runs / Billable Time: unavailable" every day, attributing it to "the mcpscripts-gh tool was not available and gh is unauthenticated in this sandbox." The real root cause is upstream: the shared pre-fetch script .github/shared/copilot-pr-data-fetch.md calls
gh pr list --repo "$GITHUB_REPOSITORY" --search "head:copilot/ created:>=${DATE_30_DAYS_AGO}" --state all \
--json number,title,author,headRefName,createdAt,state,url,body,labels,updatedAt,closedAt,mergedAt \
--limit 1000
which never requests the additions, deletions, or changedFiles fields — gh pr list --json supports all three. Since this fetch step runs with GITHUB_TOKEN (not the sandboxed downstream agent), the data is available to fetch; it's just never requested. Every workflow consuming /tmp/gh-aw/agent/pr-data/copilot-prs.json (at least copilot-pr-merged-report.md, and likely others importing shared/copilot-pr-analysis-base.md) inherits the same "unavailable" gap.
Add additions,deletions,changedFiles to the --json field list in shared/copilot-pr-data-fetch.md, and update the "Output Files" doc comment describing the JSON schema.
Expected Impact
Fixes a metrics gap in every downstream Copilot-PR-analysis workflow with a single one-line change to the shared fetch script, instead of each consumer separately working around missing data.
Suggested Agent
GitHub Copilot coding agent (shared workflow component edit, then make recompile).
Estimated Effort
Quick (< 1 hour)
Data Source
DeepReport Intelligence Briefing — 2026-09-30, root-caused by direct read of shared/copilot-pr-data-fetch.md after Daily Copilot PR Merged Report #64522 reported the symptom.
Generated by 🔬 Deep Report · claude · agent · 311.3 AIC · ⌖ 8.86 AIC · ⊞ 7.3K · ◷
- expires on Oct 2, 2026, 10:46 AM UTC-08:00
- Ngôn ngữ chính
- Go
- Star
- 5.4k
- Fork
- 584
- Merge trung bình
- 3 giờ 16 phút
- Pull request đã merge (30 ngày)
- 829
Chuẩn bị môi trường
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.
- Có Dockerfile hoặc tệp Docker Compose
- Không 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 github/gh-aw
-
automation models
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 70/100
Maintainer thường phản hồi trong vòng 1 ngày
-
agentic-workflows
Độ 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
-
cookie delight
Độ khó 1/5 1-3 giờ Mức phù hợp với người mới 88/100
github/gh-aw#70274 · 1 bình luận ·
Maintainer thường phản hồi trong vòng 1 ngày
-
automation cookie dependencies go-fan
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 74/100
Maintainer thường phản hồi trong vòng 1 ngày
-
agentic-workflows automation aw-essential cookie
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 72/100
Maintainer thường phản hồi trong vòng 1 ngày
Issue tương tự
-
[BUG]: Windows GUI package of v1.17.0-rc3 has no GTK DLLsCó thể đã có người làm @andrut-ds đã nhận hôm nay. Đang mởbug CI/CD Pactus-GUI Windows
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 82/100
pactus-project/pactus#2428 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 1/5 Dưới một giờ Mức phù hợp với người mới 91/100
Maintainer thường phản hồi trong vòng 1 ngày
-
feat
Độ khó 1/5 Dưới một giờ Mức phù hợp với người mới 65/100
ory/hydra-maester#312 · 1 reaction ·
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 74/100
rossoctl/context-guru#610 ·
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 67/100
Maintainer thường phản hồi trong vòng 1 ngày