[GH-ISSUE #221] VSC extension human checkpoint should send dirty files before AI checkpoint to avoid races #82

Closed
opened 2026-03-02 04:11:42 +03:00 by kerem · 1 comment
Owner

Originally created by @svarlamov on GitHub (Nov 14, 2025).
Original GitHub issue: https://github.com/git-ai-project/git-ai/issues/221

Very occasionally, the human checkpoint could read files after Copilot has already started editing the file with AI changes.

This could happen because the human checkpoint is technically async since Copilot doesn't actually have real 'hooks' support. I could only replicate this once with a very fast model, but it is better design to make sure that we pass the content of the file that's about to be edited in the human checkpoint just to eliminate this potential edge case going forward.

Originally created by @svarlamov on GitHub (Nov 14, 2025). Original GitHub issue: https://github.com/git-ai-project/git-ai/issues/221 Very occasionally, the human checkpoint could read files after Copilot has already started editing the file with AI changes. This could happen because the human checkpoint is technically async since Copilot doesn't actually have real 'hooks' support. I could only replicate this once with a very fast model, but it is better design to make sure that we pass the content of the file that's about to be edited in the human checkpoint just to eliminate this potential edge case going forward.
kerem 2026-03-02 04:11:42 +03:00
Author
Owner

@svarlamov commented on GitHub (Feb 13, 2026):

Fixed in last vs code ext release

<!-- gh-comment-id:3899734001 --> @svarlamov commented on GitHub (Feb 13, 2026): Fixed in last vs code ext release
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/git-ai#82
No description provided.