mirror of
https://github.com/Pasta-Devs/Marinara-Engine.git
synced 2026-12-03 19:00:50 +07:00
[PR #6439] [CLOSED] Fix client update recovery and Windows launcher readiness #7180
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#7180
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/6439
Author: @SirAdoni
Created: 9/20/2026
Status: ❌ Closed
Base:
staging← Head:contrib/e25-update-recovery📝 Commits (1)
92af760fix(startup): recover client updates and Windows launchers📊 Changes
19 files changed (+419 additions, -25 deletions)
View changed files
📝
CHANGELOG.md(+2 -0)📝
packages/client/scripts/build.mjs(+1 -0)📝
packages/client/src/lib/app-update-prompt.ts(+50 -3)📝
packages/client/src/lib/runtime-build.ts(+3 -1)📝
packages/server/src/config/client-static-config.ts(+4 -1)📝
packages/server/src/db/file-backed-store.ts(+12 -1)➕
packages/server/src/db/writer-host-identity.ts(+35 -0)📝
scripts/dev.mjs(+1 -1)➕
scripts/open-when-ready.cmd(+32 -0)➕
scripts/pnpm.cmd(+12 -0)➕
scripts/regressions/app-update-prompt.regression.ts(+58 -0)➕
scripts/regressions/launcher/open-when-ready.regression.mjs(+23 -0)➕
scripts/regressions/runtime-build-metadata.regression.ts(+7 -0)➕
scripts/regressions/start-local-pnpm-shim.regression.mjs(+90 -0)📝
scripts/regressions/static-cache-headers.regression.ts(+7 -0)📝
scripts/regressions/storage-writer-lock.regression.ts(+61 -15)📝
scripts/run-mari.mjs(+1 -0)📝
start-local.bat(+10 -1)📝
start.bat(+10 -2)📄 Description
Linked issue
Closes #6434
Why this change
The update toast can remain visible when Refresh resolves without navigation, and a running server can return the SPA page instead of newly built hashed assets. Windows launchers also need to handle nested pnpm commands when only Corepack or npx is available and wait for server readiness before opening the browser.
What changed
Validation
Passed full
corepack pnpm checkusing repository-pinned pnpm 10.34.5, plus update-prompt, runtime metadata, static cache headers, launcher readiness, pnpm shim and writer-lock regressions. The shim proof covers actual nested Corepack execution and simulated npx dispatch/exit propagation; it does not claim a real downloaded npx installation. Privacy review and git diff --check passed.Launcher tests use isolated fixtures. No live campaign lock was deleted, no running user server was restarted and no provider requests were made. Temporary Windows skill materialization was restored and is excluded from the change.
pnpm checkpasses locallyCONTRIBUTING.mdManual verification notes
Docs and release impact
Reviewed README, Android README, CONTRIBUTING, CHANGELOG, CONFIGURATION, TROUBLESHOOTING and FAQ together. Existing install/update guidance remains applicable; the Unreleased changelog records the fixes. No version or translated documentation changes.
UI evidence (if applicable)
Generic regression fixtures only. Private screenshots, campaign data, credentials and personal paths are excluded.
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.