8000 [BUG] Preserve existing DBFS move destinations by eddiethedean · Pull Request #65 · dmux/minilake · GitHub
[go: up one dir, main page]

Skip to content

[BUG] Preserve existing DBFS move destinations - #65

Merged
dmux merged 4 commits into
dmux:mainfrom
eddiethedean:fix/dbfs-move-no-overwrite-34
Oct 28, 2026
Merged

dmux merged 4 commits into
dmux:mainfrom
eddiethedean:fix/dbfs-move-no-overwrite-34

Conversation

@eddiethedean
@eddiethedean eddiethedean commented Oct 25, 2026 •
Copy link
Copy Markdown
Collaborator

Closes #34

dbfs/move used Path.rename, which can replace an existing destination and silently discard its contents. Moves now use an exclusive rename where the platform supports it and return RESOURCE_ALREADY_EXISTS when the destination exists. When exclusive rename is unavailable, the move returns NOT_IMPLEMENTED without changing either path. Regression tests cover existing file and empty directory destinations, plus the unavailable-syscall path.

Validation: The focused unavailable-syscall regression test passed, and Ruff lint/format plus git diff --check passed. The original Docker DBFS run passed (8 tests); the Docker daemon currently reports a read-only filesystem, preventing a rebuild and rerun against this follow-up commit.

@eddiethedean
Copy link
Copy Markdown
Collaborator Author

This PR is ready to merge. The full review of commit ae6e298 is complete with no high or critical findings. All CI checks passed, including lint, UI, and the Docker test suite (409 tests passed).

@dmux dmux self-assigned this Oct 28, 2026
@dmux dmux added the bug Something isn't working label Oct 28, 2026
@dmux
dmux merged commit 86ca133 into dmux:main Oct 28, 2026
3 check 8262 s passed
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.

[BUG] DBFS move silently overwrites an existing destination file

2 participants

0