Skip to content

fix: force deletion to After timing when --delay-updates is enabled (#350) - #2468

Merged
oferchen merged 1 commit into
masterfrom
feature/task-350-delay-updates-delete-timing
Feb 22, 2026
Merged

oferchen merged 1 commit into
masterfrom
feature/task-350-delay-updates-delete-timing

Conversation

@oferchen

Copy link
Copy Markdown
Owner

Summary

  • When --delay-updates is active, DeleteTiming::During is promoted to DeleteTiming::After so staged .~tmp~ files are not treated as extraneous during the transfer phase
  • Updates delete_after_enabled() and delete_during_enabled() to reflect the promotion
  • Adds 5 unit tests verifying the promotion and edge cases

Test plan

  • cargo nextest run -p engine passes
  • CI fmt+clippy passes

upstream: generator.c — delete_in_dir() only invoked after receiver rename sweep when delay_updates is active

@oferchen
oferchen merged commit e49dd1b into master Feb 22, 2026
@oferchen
oferchen deleted the feature/task-350-delay-updates-delete-timing branch February 22, 2026 16:41
@github-actions github-actions Bot added the bug Something isn't working label Feb 22, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Something isn't working

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant