Skip to content

Conversation

@noamzbr
Copy link
Contributor

@noamzbr noamzbr commented Dec 21, 2025

Fix for #5911

When snapshots are enabled, we may have untracked files when a snapshot is set at start-step, but finish-step is never reached - for example due to a user cancellation.

This PR adds an explicit patch and updatePart at the end of the process method, if snapshot is still not undefined.

Tested against the script in #5911

@noamzbr noamzbr changed the title (fiix) - Perform snapshot when finish-step is not reached (fiix) Perform snapshot when finish-step is not reached Dec 21, 2025
@rekram1-node
Copy link
Collaborator

/review

@rekram1-node rekram1-node changed the title (fiix) Perform snapshot when finish-step is not reached fix: Perform snapshot in cases finish-step is not reached Dec 22, 2025
@rekram1-node rekram1-node merged commit d4b7f75 into anomalyco:dev Dec 22, 2025
2 checks passed
shuv1337 pushed a commit to Latitudes-Dev/shuvcode that referenced this pull request Dec 22, 2025
…5912)

Co-authored-by: noamzbr <noamzbr@users.noreply.github.com>
oneopane pushed a commit to oneopane/opencode that referenced this pull request Dec 23, 2025
…5912)

Co-authored-by: noamzbr <noamzbr@users.noreply.github.com>
rekram1-node pushed a commit that referenced this pull request Dec 27, 2025
Co-authored-by: noamzbr <noamzbr@users.noreply.github.com>
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.

2 participants