mirror of
https://github.com/Pasta-Devs/Marinara-Engine.git
synced 2026-12-03 19:00:50 +07:00
[PR #5195] [MERGED] Fix stale macOS storage writer leases #6669
Labels
No labels
android
bug
bugfix
ci
client
code freeze pause
container
dependencies
docs
documentation
duplicate
enhancement
feature
feature
feature
feature-creep
fixed-in-refactor
fixed-in-staging
good first issue
help wanted
in-pr
in-pr
needs-codeowner-decision
normal-scope
old-codebase
old-codebase
pull-request
qol
question
refactor
regression
revisit later
roadmap
scope-risk
scope-risk
server
server
shared
soup
upstream
windows
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
Pasta-Devs/Marinara-Engine#6669
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/Pasta-Devs/Marinara-Engine/pull/5195
Author: @SpicyMarinara
Created: 8/17/2026
Status: ✅ Merged
Merged: 8/17/2026
Merged by: @SpicyMarinara
Base:
staging← Head:fix/5194-stable-macos-writer-lease📝 Commits (2)
15a1c51fix: stabilize storage writer lease identity1051762test: keep live legacy leases protected📊 Changes
3 files changed (+128 additions, -8 deletions)
View changed files
📝
CHANGELOG.md(+1 -0)📝
packages/server/src/db/file-backed-store.ts(+72 -7)📝
scripts/regressions/storage-writer-lock.regression.ts(+55 -1)📄 Description
Linked issue
Closes #5194
Why this change
What changed
Validation
pnpm checkpasses locallyCONTRIBUTING.mdManual verification notes
pnpm build:shared && node ./scripts/run-regressions.mjs --filter scripts/regressions/storage-writer-lock.regression.ts; the targeted regression passed.pnpm dev:serveragainst the reported stale v1 lease. The server reclaimed PID 75050's lease, rewrote it as v2, and returnedstatus: okfrom/api/health.ENOSPCbecause the host disk was nearly full; no user data was removed.Docs and release impact
docs-i18nbranch updated to match, or a[docs-i18n] <paths>follow-up issue opened (see CONTRIBUTING.md § Translated documentation)UI evidence (if applicable)
Not applicable; this is a server bootstrap/storage-lock fix.
Summary by CodeRabbit
Bug Fixes
Documentation
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.