mirror of
https://github.com/Pasta-Devs/Marinara-Engine.git
synced 2026-12-03 19:00:50 +07:00
[PR #5313] [MERGED] fix(dev): stop watchers after writer lease conflicts #6725
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#6725
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/5313
Author: @SpicyMarinara
Created: 8/20/2026
Status: ✅ Merged
Merged: 8/20/2026
Merged by: @SpicyMarinara
Base:
staging← Head:fix/storage-writer-lease-dev-watch-exit📝 Commits (3)
0a6a8a0docs: record dev watcher lease fix2716588fix(dev): stop watcher after writer lease conflict90b1b92test: pin watcher lease conflict cause📊 Changes
4 files changed (+86 additions, -3 deletions)
View changed files
📝
CHANGELOG.md(+1 -0)📝
packages/server/package.json(+1 -1)📝
packages/server/src/index.ts(+14 -0)📝
scripts/regressions/storage-writer-lock.regression.ts(+70 -2)📄 Description
Linked issue
Closes #5312
Why this change
StorageWriterLeaseErrorrepeatedly even though the healthy server was behaving correctly.What changed
tsx watchwith a private development-only argument.StorageWriterLeaseErrorduring bootstrap, it terminates its watcher supervisor so the rejected session cannot remain as a retry loop.Validation
pnpm checkpasses locallyCONTRIBUTING.mdAutomated results:
pnpm check— passed.pnpm regression:node -- --filter storage-writer-lock— passed.pnpm regression:node -- --filter dev-launcher-process— passed.git diff --check— passed.Manual verification notes
Docs and release impact
docs-i18nbranch updated to match, or a[docs-i18n]follow-up issue opened (see CONTRIBUTING.md § Translated documentation)The user-facing fix is recorded under
CHANGELOG.md[Unreleased]. No long-form documentation or release metadata changed.UI evidence (if applicable)
Summary by CodeRabbit
Bug Fixes
Tests
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.