[GH-ISSUE #6674] [Issue]: Intermittent writer lease error persists across Marinara Engine restarts #3736

Closed
opened 2026-10-21 06:06:38 +07:00 by bsakaguchi · 1 comment
Owner

Originally created by @SpicyMarinara on GitHub (Sep 25, 2026).
Original GitHub issue: https://github.com/Pasta-Devs/Marinara-Engine/issues/6674

Originally assigned to: @SpicyMarinara on GitHub.

Summary

Marinara Engine intermittently reports a writer lease error after a fresh computer and application boot. For the original report, restarting Marinara Engine, including as administrator, does not resolve it; a full computer reboot is required.

Expected behavior

Marinara Engine should acquire the writer lease and operate normally without requiring manual lock cleanup or a device reboot.

Actual behavior

A writer lease error occurs randomly and sparsely. Restarting Marinara Engine does not reliably clear it, even when run as administrator, and the original reporter must fully reboot the computer to recover.

Steps to reproduce

  1. Start Marinara Engine after a fresh computer boot.
  2. Use Marinara Engine until the intermittent writer lease error occurs.
  3. Restart Marinara Engine, including attempting to run it as administrator, and observe that the error may persist.
  4. Fully reboot the computer and observe that the issue is cleared.

Environment

  • Marinara Engine version: 2.4.6 (build 2.4.6+12a0acd5b782; another report occurred on 2.4.6+43f99a59e024)
  • Install type: Not provided
  • OS + version: Windows 11; diagnostics report Windows 10.0.26200 (x64)
  • Browser or app shell: Firefox 156.0

Logs, screenshots, or video

Support diagnostics were provided for build 2.4.6+12a0acd5b782, including 10 recorded sessions ended without shutdown and a previous session that ended without shutting down. An image was attached: https://cdn.discordapp.com/attachments/1553047204250394674/1553047204456046642/image.png?ex=6ab7d36b&is=6ab681eb&hm=8a2bf5f8ab81d0a2e209eb998b2df5206cfc7e8439e0bb9bc83d9a92e0f151e0&

Additional context

The issue has reportedly recurred despite being fixed multiple times. Another user experiences it occasionally on Windows 11 and Termux; restarting Marinara Engine clears it for them, while another user manually deletes the writer lease folder. The issue was confirmed on the latest staging build. No exact error log text was provided.

Discord thread: writer lease error
Discord thread link: https://discord.com/channels/1417099416812392641/1553047204250394674
Requested by: Marinara (marinara_spaghetti, Discord ID 169561011928432653)

Discord thread transcript (12 messages)
[2026-09-25T14:15:07.715Z] ₍ᐢ..ᐢ₎ n a t t o  – ♡: - v2.4.6, windows 11, build 12a0acd

on a fresh boot of ME (on an also fresh boot of my computer), this error randomly happens. 

restarting ME doesn't fix it (even with run as admin) and it requires a complete reboot of my computer to fix it. 

🫡

Marinara Engine diagnostics
Version: 2.4.6
Build: 2.4.6+12a0acd5b782
Commit: 12a0acd5b782
Server OS: Windows 10.0.26200 (x64)
Server memory: heap 404.4 / 4288 MiB; RSS 500.4 MiB
Background wake lock: not reported
Last detected freeze: none detected
Previous session: ended without shutting down - last alive 2026-09-25T02:38:29.159Z (up 14h 1m, RSS 124.1 MiB); device rebooted before next launch: unknown
Sessions ended without shutdown: 10 recorded
Client OS: Windows 10.0
Browser / app shell: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:156.0) Gecko/20100101 Firefox/156.0
Client runtime: {"build":"2.4.6+12a0acd5b782","page":"muh1onhx-xdmoou8a","persistence":"local","navigation":"reload","standalone":false,"view":[756,0,0,0],"events":[{"at":1790294424157,"page":"mufxqq5g-39clp7jb","build":"2.4.6+12a0acd5b782","kind":"hidden","view":[728,0,0,0]},{"at":1790295598275,"page":"mufxqq5g-39clp7jb","build":"2.4.6+12a0acd5b782","kind":"visible","view":[728,0,0,0]},{"at":1790295599761,"page":"mufxqq5g-39clp7jb","build":"2.4.6+12a0acd5b782","kind":"hidden","view":[756,0,0,0]},{"at":1790296829933,"page":"mufxqq5g-39clp7jb","build":"2.4.6+12a0acd5b782","kind":"visible","view":[756,0,0,0]},{"at":1790296831209,"page":"mufxqq5g-39clp7jb","build":"2.4.6+12a0acd5b782","kind":"hidden","view":[728,0,0,0]},{"at":1790298260610,"page":"mufxqq5g-39clp7jb","build":"2.4.6+12a0acd5b782","kind":"visible","view":[728,0,0,0]},{"at":1790298262635,"page":"mufxqq5g-39clp7jb","build":"2.4.6+12a0acd5b782","kind":"hidden","view":[728,0,0,0]},{"at":1790298824573,"page":"mufxqq5g-39clp7jb","build":"2.4.6+12a0acd5b782","kind":"visible","view":[728,0,0,0]},{"at":1790298826633,"page":"mufxqq5g-39clp7jb","build":"2.4.6+12a0acd5b782","kind":"hidden","view":[756,0,0,0]},{"at":1790299315696,"page":"mufxqq5g-39clp7jb","build":"2.4.6+12a0acd5b782","kind":"visible","view":[756,0,0,0]},{"at":1790299317331,"page":"mufxqq5g-39clp7jb","build":"2.4.6+12a0acd5b782","kind":"hidden","view":[756,0,0,0]},{"at":1790299443966,"page":"mufxqq5g-39clp7jb","build":"2.4.6+12a0acd5b782","kind":"visible","view":[756,0,0,0]},{"at":1790299445362,"page":"mufxqq5g-39clp7jb","build":"2.4.6+12a0acd5b782","kind":"hidden","view":[756,0,0,0]},{"at":1790300138151,"page":"mufxqq5g-39clp7jb","build":"2.4.6+12a0acd5b782","kind":"page-hide","view":[756,0,0,0]},{"at":1790345834997,"page":"muh1onhx-xdmoou8a","build":"2.4.6+12a0acd5b782","kind":"page-start","view":[756,0,0,0]},{"at":1790345835029,"page":"muh1onhx-xdmoou8a","build":"2.4.6+12a0acd5b782","kind":"page-show","view":[756,0,0,0]}]}
GPU: ANGLE (Intel, Intel(R) HD Graphics Direct3D11 vs_5_0 ps_5_0), or similar
Active connection: Mimo
Connection provider: nanogpt
LLM model: xiaomi/mimo-v2.6-pro
Mari last acted on: none recorded this session

[attached image 1: https://cdn.discordapp.com/attachments/1553047204250394674/1553047204456046642/image.png?ex=6ab7d36b&is=6ab681eb&hm=8a2bf5f8ab81d0a2e209eb998b2df5206cfc7e8439e0bb9bc83d9a92e0f151e0&]
[Discord message: https://discord.com/channels/1417099416812392641/1553047204250394674/1553047204250394674]

[2026-09-25T14:15:08.597Z] Professor Mari [bot]: Howdy!

Thank you for submitting a new bug report/feature request, your support means a lot. A member of the team will look into it as soon as possible, and if they find it valid, they will open a GitHub Issue out of it. You can check whether it was addressed on the staging build of Marinara Engine. **Do not ping any of the developers, this will not speed up the process.**

**Please include a Support Diagnostic in the post if you haven't done it yet.** Otherwise, ignore this step. To grab it, go to the Marinara Engine tab:

`Settings -> Advanced -> Support Diagnostics -> Copy Support Diagnostics.`

If your report is about any of the **Agents**, please provide **the Agent's version** which you can grab from here:

`Agents -> Download Agents -> Installed Agents -> Selected Agent -> Installed Version`

Thank you, this will help tremendously.

This is an automated message, but if you reply to it, I will do my best to assist you using my LLM-powered brain. That said, it's best for a human to handle this case.

Cheers!
[Discord message: https://discord.com/channels/1417099416812392641/1553047204250394674/1553047207949893685]

[2026-09-25T14:21:31.798Z] ylliselmanii: https://klipy.com/gifs/the-door-barney-gumble
The Simpsons: Moe & Barney Gumble at The Door
[Discord message: https://discord.com/channels/1417099416812392641/1553047204250394674/1553048815211122718]

[2026-09-25T14:22:08.939Z] ylliselmanii: I think this writer lease error has been fixed like.. a few times now, and it keeps popping back up
[Discord message: https://discord.com/channels/1417099416812392641/1553047204250394674/1553048970992033913]

[2026-09-25T14:24:09.254Z] ₍ᐢ..ᐢ₎ n a t t o  – ♡: 😔 it's been happening very sparsely and randomly for me for a while but i tried to ignore it since a reboot of my computer fixed it. turns out i should've probably posted about it a while ago. oops.
[Discord message: https://discord.com/channels/1417099416812392641/1553047204250394674/1553049475629715529]

[2026-09-25T14:24:24.479Z] ₍ᐢ..ᐢ₎ n a t t o  – ♡: gomenasorry
[Discord message: https://discord.com/channels/1417099416812392641/1553047204250394674/1553049539487731754]

[2026-09-25T14:29:32.440Z] DSBwizzard: I saw this this morning, I didn't have to restart my entire device but I do continue to see the Writer Lease error occasionally on Termux and on Win11. Ideally the writer lease lock issue never happens at all, but at least it should never require a full device restart like OP reports.

Win11 log, saw it this AM (cleared on ME re-launch for me):

` ` `Marinara Engine diagnostics
Version: 2.4.6
Build: 2.4.6+43f99a59e024
Commit: 43f99a59e024
Server OS: Windows 10.0.26200 (x64)
Server memory: heap 101.6 / 2240 MiB; RSS 122.6 MiB
Background wake lock: not reported
Last detected freeze: none detected
Previous session: restarted itself for an update or a settings restart at 2026-09-25T13:00:07.270Z
Sessions ended without shutdown: 10 recorded
Client OS: Windows 10.0
Browser / app shell: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:156.0) Gecko/20100101 Firefox/156.0
Client runtime: {"build":"2.4.6+43f99a59e024","page":"mugycyvi-xskbgux7","persistence":"local","navigation":"reload","standalone":false,"view":[990,0,0,0],"events":[]}
GPU: ANGLE (AMD, Radeon R9 200 Series Direct3D11 vs_5_0 ps_5_0), or similar
Server GPU: no NVIDIA GPU detected
Main sidecar: not configured
Utility sidecar: not configured
Decision sidecar: not configured
Sidecar load: not measured
Active connection: linkAPI - ClaudeCheap
Connection provider: custom
LLM model: claude-opus-4-6
Mari last acted on: none recorded this session` ` `
[Discord message: https://discord.com/channels/1417099416812392641/1553047204250394674/1553050831169789983]

[2026-09-25T14:44:55.864Z] ylliselmanii: Could do me a completely unnecessary favor? Can you wrap the diagnostics in backticks:

` ` `
Diagnostics
` ` `

For no other reason than eyecandy?
[Discord message: https://discord.com/channels/1417099416812392641/1553047204250394674/1553054704290766891]

[2026-09-25T14:47:41.923Z] ylliselmanii: I also encounter the error now and then, though i simply delete the writer lease folder, rather than restarting the entire pc
[Discord message: https://discord.com/channels/1417099416812392641/1553047204250394674/1553055400792825857]

[2026-09-25T18:08:29.053Z] Marinara: Is this happening on staging?
[Discord message: https://discord.com/channels/1417099416812392641/1553047204250394674/1553105930118373579]

[2026-09-25T18:08:45.669Z] DSBwizzard: Yes, my latest staging.
[Discord message: https://discord.com/channels/1417099416812392641/1553047204250394674/1553105999811055617]

[2026-09-25T18:09:02.717Z] DSBwizzard: I dont use Stable :KekW:
[Discord message: https://discord.com/channels/1417099416812392641/1553047204250394674/1553106071315550242]

Template check

Please uncheck (untick) the box below before submitting so we know you read the template. It is intentionally pre-checked:

  • I DID NOT read this template and provide the requested details.
Originally created by @SpicyMarinara on GitHub (Sep 25, 2026). Original GitHub issue: https://github.com/Pasta-Devs/Marinara-Engine/issues/6674 Originally assigned to: @SpicyMarinara on GitHub. ## Summary Marinara Engine intermittently reports a writer lease error after a fresh computer and application boot. For the original report, restarting Marinara Engine, including as administrator, does not resolve it; a full computer reboot is required. ## Expected behavior Marinara Engine should acquire the writer lease and operate normally without requiring manual lock cleanup or a device reboot. ## Actual behavior A writer lease error occurs randomly and sparsely. Restarting Marinara Engine does not reliably clear it, even when run as administrator, and the original reporter must fully reboot the computer to recover. ## Steps to reproduce 1. Start Marinara Engine after a fresh computer boot. 2. Use Marinara Engine until the intermittent writer lease error occurs. 3. Restart Marinara Engine, including attempting to run it as administrator, and observe that the error may persist. 4. Fully reboot the computer and observe that the issue is cleared. ## Environment - Marinara Engine version: 2.4.6 (build 2.4.6+12a0acd5b782; another report occurred on 2.4.6+43f99a59e024) - Install type: Not provided - OS + version: Windows 11; diagnostics report Windows 10.0.26200 (x64) - Browser or app shell: Firefox 156.0 ## Logs, screenshots, or video Support diagnostics were provided for build 2.4.6+12a0acd5b782, including 10 recorded sessions ended without shutdown and a previous session that ended without shutting down. An image was attached: https://cdn.discordapp.com/attachments/1553047204250394674/1553047204456046642/image.png?ex=6ab7d36b&is=6ab681eb&hm=8a2bf5f8ab81d0a2e209eb998b2df5206cfc7e8439e0bb9bc83d9a92e0f151e0& ## Additional context The issue has reportedly recurred despite being fixed multiple times. Another user experiences it occasionally on Windows 11 and Termux; restarting Marinara Engine clears it for them, while another user manually deletes the writer lease folder. The issue was confirmed on the latest staging build. No exact error log text was provided. Discord thread: writer lease error Discord thread link: https://discord.com/channels/1417099416812392641/1553047204250394674 Requested by: Marinara (marinara_spaghetti, Discord ID 169561011928432653) <details> <summary>Discord thread transcript (12 messages)</summary> ```text [2026-09-25T14:15:07.715Z] ₍ᐢ..ᐢ₎ n a t t o – ♡: - v2.4.6, windows 11, build 12a0acd on a fresh boot of ME (on an also fresh boot of my computer), this error randomly happens. restarting ME doesn't fix it (even with run as admin) and it requires a complete reboot of my computer to fix it. 🫡 Marinara Engine diagnostics Version: 2.4.6 Build: 2.4.6+12a0acd5b782 Commit: 12a0acd5b782 Server OS: Windows 10.0.26200 (x64) Server memory: heap 404.4 / 4288 MiB; RSS 500.4 MiB Background wake lock: not reported Last detected freeze: none detected Previous session: ended without shutting down - last alive 2026-09-25T02:38:29.159Z (up 14h 1m, RSS 124.1 MiB); device rebooted before next launch: unknown Sessions ended without shutdown: 10 recorded Client OS: Windows 10.0 Browser / app shell: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:156.0) Gecko/20100101 Firefox/156.0 Client runtime: {"build":"2.4.6+12a0acd5b782","page":"muh1onhx-xdmoou8a","persistence":"local","navigation":"reload","standalone":false,"view":[756,0,0,0],"events":[{"at":1790294424157,"page":"mufxqq5g-39clp7jb","build":"2.4.6+12a0acd5b782","kind":"hidden","view":[728,0,0,0]},{"at":1790295598275,"page":"mufxqq5g-39clp7jb","build":"2.4.6+12a0acd5b782","kind":"visible","view":[728,0,0,0]},{"at":1790295599761,"page":"mufxqq5g-39clp7jb","build":"2.4.6+12a0acd5b782","kind":"hidden","view":[756,0,0,0]},{"at":1790296829933,"page":"mufxqq5g-39clp7jb","build":"2.4.6+12a0acd5b782","kind":"visible","view":[756,0,0,0]},{"at":1790296831209,"page":"mufxqq5g-39clp7jb","build":"2.4.6+12a0acd5b782","kind":"hidden","view":[728,0,0,0]},{"at":1790298260610,"page":"mufxqq5g-39clp7jb","build":"2.4.6+12a0acd5b782","kind":"visible","view":[728,0,0,0]},{"at":1790298262635,"page":"mufxqq5g-39clp7jb","build":"2.4.6+12a0acd5b782","kind":"hidden","view":[728,0,0,0]},{"at":1790298824573,"page":"mufxqq5g-39clp7jb","build":"2.4.6+12a0acd5b782","kind":"visible","view":[728,0,0,0]},{"at":1790298826633,"page":"mufxqq5g-39clp7jb","build":"2.4.6+12a0acd5b782","kind":"hidden","view":[756,0,0,0]},{"at":1790299315696,"page":"mufxqq5g-39clp7jb","build":"2.4.6+12a0acd5b782","kind":"visible","view":[756,0,0,0]},{"at":1790299317331,"page":"mufxqq5g-39clp7jb","build":"2.4.6+12a0acd5b782","kind":"hidden","view":[756,0,0,0]},{"at":1790299443966,"page":"mufxqq5g-39clp7jb","build":"2.4.6+12a0acd5b782","kind":"visible","view":[756,0,0,0]},{"at":1790299445362,"page":"mufxqq5g-39clp7jb","build":"2.4.6+12a0acd5b782","kind":"hidden","view":[756,0,0,0]},{"at":1790300138151,"page":"mufxqq5g-39clp7jb","build":"2.4.6+12a0acd5b782","kind":"page-hide","view":[756,0,0,0]},{"at":1790345834997,"page":"muh1onhx-xdmoou8a","build":"2.4.6+12a0acd5b782","kind":"page-start","view":[756,0,0,0]},{"at":1790345835029,"page":"muh1onhx-xdmoou8a","build":"2.4.6+12a0acd5b782","kind":"page-show","view":[756,0,0,0]}]} GPU: ANGLE (Intel, Intel(R) HD Graphics Direct3D11 vs_5_0 ps_5_0), or similar Active connection: Mimo Connection provider: nanogpt LLM model: xiaomi/mimo-v2.6-pro Mari last acted on: none recorded this session [attached image 1: https://cdn.discordapp.com/attachments/1553047204250394674/1553047204456046642/image.png?ex=6ab7d36b&is=6ab681eb&hm=8a2bf5f8ab81d0a2e209eb998b2df5206cfc7e8439e0bb9bc83d9a92e0f151e0&] [Discord message: https://discord.com/channels/1417099416812392641/1553047204250394674/1553047204250394674] [2026-09-25T14:15:08.597Z] Professor Mari [bot]: Howdy! Thank you for submitting a new bug report/feature request, your support means a lot. A member of the team will look into it as soon as possible, and if they find it valid, they will open a GitHub Issue out of it. You can check whether it was addressed on the staging build of Marinara Engine. **Do not ping any of the developers, this will not speed up the process.** **Please include a Support Diagnostic in the post if you haven't done it yet.** Otherwise, ignore this step. To grab it, go to the Marinara Engine tab: `Settings -> Advanced -> Support Diagnostics -> Copy Support Diagnostics.` If your report is about any of the **Agents**, please provide **the Agent's version** which you can grab from here: `Agents -> Download Agents -> Installed Agents -> Selected Agent -> Installed Version` Thank you, this will help tremendously. This is an automated message, but if you reply to it, I will do my best to assist you using my LLM-powered brain. That said, it's best for a human to handle this case. Cheers! [Discord message: https://discord.com/channels/1417099416812392641/1553047204250394674/1553047207949893685] [2026-09-25T14:21:31.798Z] ylliselmanii: https://klipy.com/gifs/the-door-barney-gumble The Simpsons: Moe & Barney Gumble at The Door [Discord message: https://discord.com/channels/1417099416812392641/1553047204250394674/1553048815211122718] [2026-09-25T14:22:08.939Z] ylliselmanii: I think this writer lease error has been fixed like.. a few times now, and it keeps popping back up [Discord message: https://discord.com/channels/1417099416812392641/1553047204250394674/1553048970992033913] [2026-09-25T14:24:09.254Z] ₍ᐢ..ᐢ₎ n a t t o – ♡: 😔 it's been happening very sparsely and randomly for me for a while but i tried to ignore it since a reboot of my computer fixed it. turns out i should've probably posted about it a while ago. oops. [Discord message: https://discord.com/channels/1417099416812392641/1553047204250394674/1553049475629715529] [2026-09-25T14:24:24.479Z] ₍ᐢ..ᐢ₎ n a t t o – ♡: gomenasorry [Discord message: https://discord.com/channels/1417099416812392641/1553047204250394674/1553049539487731754] [2026-09-25T14:29:32.440Z] DSBwizzard: I saw this this morning, I didn't have to restart my entire device but I do continue to see the Writer Lease error occasionally on Termux and on Win11. Ideally the writer lease lock issue never happens at all, but at least it should never require a full device restart like OP reports. Win11 log, saw it this AM (cleared on ME re-launch for me): ` ` `Marinara Engine diagnostics Version: 2.4.6 Build: 2.4.6+43f99a59e024 Commit: 43f99a59e024 Server OS: Windows 10.0.26200 (x64) Server memory: heap 101.6 / 2240 MiB; RSS 122.6 MiB Background wake lock: not reported Last detected freeze: none detected Previous session: restarted itself for an update or a settings restart at 2026-09-25T13:00:07.270Z Sessions ended without shutdown: 10 recorded Client OS: Windows 10.0 Browser / app shell: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:156.0) Gecko/20100101 Firefox/156.0 Client runtime: {"build":"2.4.6+43f99a59e024","page":"mugycyvi-xskbgux7","persistence":"local","navigation":"reload","standalone":false,"view":[990,0,0,0],"events":[]} GPU: ANGLE (AMD, Radeon R9 200 Series Direct3D11 vs_5_0 ps_5_0), or similar Server GPU: no NVIDIA GPU detected Main sidecar: not configured Utility sidecar: not configured Decision sidecar: not configured Sidecar load: not measured Active connection: linkAPI - ClaudeCheap Connection provider: custom LLM model: claude-opus-4-6 Mari last acted on: none recorded this session` ` ` [Discord message: https://discord.com/channels/1417099416812392641/1553047204250394674/1553050831169789983] [2026-09-25T14:44:55.864Z] ylliselmanii: Could do me a completely unnecessary favor? Can you wrap the diagnostics in backticks: ` ` ` Diagnostics ` ` ` For no other reason than eyecandy? [Discord message: https://discord.com/channels/1417099416812392641/1553047204250394674/1553054704290766891] [2026-09-25T14:47:41.923Z] ylliselmanii: I also encounter the error now and then, though i simply delete the writer lease folder, rather than restarting the entire pc [Discord message: https://discord.com/channels/1417099416812392641/1553047204250394674/1553055400792825857] [2026-09-25T18:08:29.053Z] Marinara: Is this happening on staging? [Discord message: https://discord.com/channels/1417099416812392641/1553047204250394674/1553105930118373579] [2026-09-25T18:08:45.669Z] DSBwizzard: Yes, my latest staging. [Discord message: https://discord.com/channels/1417099416812392641/1553047204250394674/1553105999811055617] [2026-09-25T18:09:02.717Z] DSBwizzard: I dont use Stable :KekW: [Discord message: https://discord.com/channels/1417099416812392641/1553047204250394674/1553106071315550242] ``` </details> ## Template check Please **uncheck (untick)** the box below before submitting so we know you read the template. It is intentionally pre-checked: - [ ] I DID NOT read this template and provide the requested details.
bsakaguchi 2026-10-21 06:06:38 +07:00
  • closed this issue
  • added the
    bug
    label
Author
Owner

@SpicyMarinara commented on GitHub (Sep 26, 2026):

Investigated current staging as part of SpicyMarinara's assigned-issue sweep. The existing storage-writer-lock.regression.ts passes locally (macOS), including the stale-owner recovery and live-writer exclusion cases. That does not reproduce the reported Windows/Termux failure.

The supplied diagnostics do not contain the actual StorageWriterLeaseError message. The code reports different errors for an active/unverified owner, incomplete lease metadata, lease replacement, and writes arriving while storage is closing. Those require different fixes. Windows identity/process-start probes can also fail conservatively, but there is no evidence yet that this caused this report.

Please capture the exact writer-lease error and surrounding server log on the next occurrence, plus whether another Marinara/Node process is still running. That will identify the failing path without weakening the single-writer protection. This issue remains open pending that evidence; no speculative recovery change is being claimed as a fix.

<!-- gh-comment-id:5845918324 --> @SpicyMarinara commented on GitHub (Sep 26, 2026): Investigated current staging as part of SpicyMarinara's assigned-issue sweep. The existing `storage-writer-lock.regression.ts` passes locally (macOS), including the stale-owner recovery and live-writer exclusion cases. That does not reproduce the reported Windows/Termux failure. The supplied diagnostics do not contain the actual `StorageWriterLeaseError` message. The code reports different errors for an active/unverified owner, incomplete lease metadata, lease replacement, and writes arriving while storage is closing. Those require different fixes. Windows identity/process-start probes can also fail conservatively, but there is no evidence yet that this caused this report. Please capture the exact writer-lease error and surrounding server log on the next occurrence, plus whether another Marinara/Node process is still running. That will identify the failing path without weakening the single-writer protection. This issue remains open pending that evidence; no speculative recovery change is being claimed as a fix.
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
Pasta-Devs/Marinara-Engine#3736
No description provided.