tasks: a landing refusal names an untracked file the task never touched as a clash
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
- 82/100
Hướng nghiên cứu
Tìm your own uncommitted work in trong internal/session và lần theo cách lời từ chối khi landing xác định những đường dẫn cần nêu. Thêm một kiểm thử landing có tính xác định cho một commit mang theo các thay đổi, chứa một tệp chưa được theo dõi và một chỉnh sửa đối với tệp đã được theo dõi, trong khi task chỉ thay đổi tệp đã được theo dõi. Hoàn tất khi lời từ chối nêu strutil.go nhưng không nêu mine.txt.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Mô tả
What happened
2026-10-05, staging-20261005-7e30335645c8 (no code change from dev@f81638787). Found in the v0.7.1 staging happy-path pass.
The repository was on branch work. It had an uncommitted edit to strutil.go and an untracked mine.txt. A /task changed strutil.go and strutil_test.go, and its landing was refused, correctly, with:
did not merge cleanly and was kept: your own uncommitted work in strutil.go, mine.txt is in the same files, so your tree was left exactly as it was
The task never touched mine.txt. That file was only carried into the "world this task started from" commit at the base of the task's branch. The sentence names it as a clash anyway, so the person goes looking for a conflict in a file that has none. Nothing was lost; the tree was verified unchanged by shasum.
Replication
Deterministic (no model). A landing test whose task branch starts with the carried-changes commit (an untracked file plus an edit to a tracked file) and whose work changes only the tracked file. Assert that the refusal names only the tracked file.
Field. OPENROUTER_API_KEY:
- In a repository on
workwithstrutil.gocommitted, add an untrackedmine.txtand append a comment tostrutil.go. /task add a Reverse function with a table test to strutil.go.- Expand the landing card.
Cost is about $0.05.
Where
The landing refusal that builds your own uncommitted work in … (search that string in internal/session). It appears to list every path in the carried-changes commit rather than the intersection with the paths the task's own commits changed.
The fix
The sentence names only files that both the person's uncommitted work and the task's own changes touched: here strutil.go.
Acceptance
- Unit: the refusal for the case above names
strutil.goand notmine.txt.
- Ngôn ngữ chính
- Go
- Star
- 115
- Fork
- 14
- Merge trung bình
- 9 giờ 3 phút
- Pull request đã merge (30 ngày)
- 517
Chuẩn bị môi trường
Chúng tôi chưa kiểm tra các tệp thiết lập môi trường của dự án này. Hãy bắt đầu từ README và xem hướng dẫn đóng góp lần đầu của chúng tôi để biết các bước chung.
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 Agent-Field/CodeAF
-
tasks: a stopped task's commit is signed with the chat model, not the model that did the workĐang mởarea:session bug sev:papercut
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 78/100
Agent-Field/CodeAF#1768 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
area:chat bug sev:papercut
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 78/100
Agent-Field/CodeAF#1742 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
area:build bug sev:papercut
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 88/100
Agent-Field/CodeAF#1679 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
area:session bug sev:serious
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 85/100
Agent-Field/CodeAF#1678 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
area:chat bug sev:papercut
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 86/100
Agent-Field/CodeAF#1592 ·
Maintainer thường phản hồi trong vòng 1 ngày
Tất cả issue của Agent-Field/CodeAF
Issue tương tự
-
Độ khó 1/5 Dưới một giờ Mức phù hợp với người mới 88/100
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 67/100
vanderheijden86/b9s#20 ·
-
go-battery needs an ndsctl on PATH: TestPurchaseSessionGuardHoldsThroughTheOutcomeUnknownWindow fails on bare hosts (passes with stub)Có thể đã có người làm Có pull request liên kết đang mở hoặc đã được merge. Đang mở
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 78/100
OpenTollGate/tollgate-module-basic-go#726 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
ux waiting for feedback
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 63/100
evcc-io/evcc#34527 · 1 bình luận ·
Maintainer thường phản hồi trong vòng 1 ngày
-
phase:v3 type:harness
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 82/100
Maintainer thường phản hồi trong vòng 1 ngày