Skip to content

Conversation

@CalvinAllen
Copy link
Contributor

Summary

  • Fixes Windows dogfood tasks failing with "file in use" error
  • Renames running binary to .old before copying new binary
  • Windows allows renaming running executables, just not overwriting them

Test plan

  • Run ./rnr.cmd dogfood-windows-amd64 while rnr is executing the task
  • Verify binary is successfully updated

Windows locks running executables preventing overwrite. The fix renames
the running binary to .old first (which Windows allows), then copies
the new binary to the original path.
@CalvinAllen CalvinAllen merged commit eef705c into main Jan 12, 2026
14 checks passed
@CalvinAllen CalvinAllen deleted the fix/cli/dogfood-windows-rename branch January 12, 2026 16:50
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

2 participants