Copilot CLI: confirm the agentStop hook sends the agent back on a broken test
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
- 72/100
- Loại issue
- Tài liệu
- Độ rõ ràng
- Đặc tả rõ ràng
- Mức độ hoạt động
- Sôi nổi
- Công nghệ
- github, node.js, typescript
- Lĩnh vực
- developer-experience, testing-qa
Hướng nghiên cứu
Đọc docs/agent-installation.md#github-copilot trước, sau đó chạy npx "@diffci.com/diffci@latest" init trong một repo tạm có bộ test và kiểm tra .github/hooks/diffci.json được tạo để xem handler agentStop gọi diffci agent-stop --agent copilot như thế nào. Chạy từng kịch bản trong Copilot CLI và, nếu có thể, bọc lệnh hook để bắt payload stdin của nó. Hoàn thành nghĩa là một báo cáo đã đăng bao gồm phiên bản Copilot CLI, OS, kết quả bước 3 và 4, payload stdin đã được che thông tin, và mọi sai lệch so với tài liệu.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Mô tả
Part of #132. Nobody has run DiffCI's GitHub Copilot setup in a real session yet. This is the first check, and the one that matters most: does Copilot CLI's agentStop hook send the agent back when its change breaks a test?
You need: Copilot CLI signed in to an account with Copilot, Node.js, and any small repository with a test suite (JS/TS, Python or Go).
Steps
- In the repository, run
npx "@diffci.com/diffci@latest" initand commit nothing yet. Check that.github/hooks/diffci.jsonexists with anagentStophandler. - Start Copilot CLI in the repository and ask it to make a change that breaks an existing test (for example, change a function's return value without updating its test).
- When the agent ends its turn, the hook runs
diffci agent-stop --agent copilot. Expected: the agent gets another turn, with DiffCI's failing tests as the reason, and fixes them. After 3 failed attempts in a session, it should hand back to you. - Repeat with a change that keeps the tests passing. Expected: the agent stops normally, with no extra turn.
Please post
- Copilot CLI version, OS, and the language of the repository.
- What happened in steps 3 and 4: did the agent continue, what reason did it see, and did it stop when it should?
- The stdin payload the hook received, if you can capture it (for example by wrapping the command in the hook file to write stdin to a file). Remove anything private first.
- Anything that didn't match
docs/agent-installation.md#github-copilot.
A report is a contribution: it is credited like a PR, and sustained work on the Copilot integration is how the Area maintainer tier is offered (CONTRIBUTING.md).
- Ngôn ngữ chính
- TypeScript
- Star
- 0
- Fork
- 4
- Merge trung bình
- 18 giờ 41 phút
- Pull request đã merge (30 ngày)
- 48
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.
- Không có Dockerfile hay 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 DiffCI/core
-
Độ 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
-
Planner: splitParts regex is quadratic on a quote followed by many backticks, so the fuzz test fails at randomCó thể đã có người làm @FredApps đã nhận hôm nay. Đang mở
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 86/100
Maintainer thường phản hồi trong vòng 1 ngày
-
Agent tools: changed_files lists only the new path of a renamed fileCó thể đã có người làm @FredApps đã nhận hôm nay. Đang mở
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 88/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 84/100
DiffCI/core#243 · 1 bình luận ·
Maintainer thường phản hồi trong vòng 1 ngày
-
adapter good first issue
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 88/100
Maintainer thường phản hồi trong vòng 1 ngày
Issue tương tự
-
agent-ready area: ui-server priority: p3 type: test
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 78/100
schlessera/brain-kit#4249 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
documentation tool triaged
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 73/100
can1357/oh-my-pi#19608 · 2 bình luận ·
Maintainer thường phản hồi trong vòng 1 ngày
-
dependencies tech-debt
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 65/100
bcgov/nr-waste-plus#1549 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
enhancement good first issue
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 78/100
blixvip/solana-token-meta#17 ·
-
enhancement good first issue
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 78/100
blixvip/solana-tx-parse#18 ·