Skip to content

fix: publish dev lock only after durable close - #455

Merged
HaoZeke merged 1 commit into
developfrom
fix/dev-lock-publish
Nov 27, 2026
Merged

HaoZeke merged 1 commit into
developfrom
fix/dev-lock-publish

Conversation

@HaoZeke

@HaoZeke HaoZeke commented Nov 27, 2026

Copy link
Copy Markdown
Collaborator

fix: publish dev lock only after durable close

dev --lock wrote eb-local.lock in place. It ignored a failed
sync, and a failed close left the new file behind. Replacing an
existing lock also ignored a failed close. The bytes now go to a
temporary file, and the rename happens only after the sync and close
succeed.

`dev --lock` wrote `eb-local.lock` in place. It ignored a failed
sync, and a failed close left the new file behind. Replacing an
existing lock also ignored a failed close. The bytes now go to a
temporary file, and the rename happens only after the sync and close
succeed.
@HaoZeke
HaoZeke merged commit 4df9edf into develop Nov 27, 2026
12 checks passed
@HaoZeke
HaoZeke deleted the fix/dev-lock-publish branch November 27, 2026 05:22
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