Skip to content

fix: serialize patch file mutations#28

Open
alexei-ciobanu wants to merge 1 commit into
code-yeongyu:mainfrom
alexei-ciobanu:fix/mutation-queue-and-failure-wording
Open

fix: serialize patch file mutations#28
alexei-ciobanu wants to merge 1 commit into
code-yeongyu:mainfrom
alexei-ciobanu:fix/mutation-queue-and-failure-wording

Conversation

@alexei-ciobanu

@alexei-ciobanu alexei-ciobanu commented Jul 11, 2026

Copy link
Copy Markdown

Summary

  • wrap each patch hunk's full mutation window in Pi's withFileMutationQueue
  • lock move source and destination paths in deterministic order
  • canonicalize and deduplicate queue paths to avoid alias deadlocks
  • distinguish complete failures from partial failures in tool output
  • add coverage for complete-failure wording and concurrent update/move behavior

Validation

  • npm test (57 tests)
  • npm run check
  • concurrent tests repeated 20 times

Review in cubic

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant