mirror of
https://github.com/Pasta-Devs/Marinara-Engine.git
synced 2026-12-03 19:00:50 +07:00
[PR #4373] [MERGED] fix(capabilities): require refresh after client updates #6351
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#6351
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/4373
Author: @thetopham
Created: 7/31/2026
Status: ✅ Merged
Merged: 8/1/2026
Merged by: @thetopham
Base:
staging← Head:fix/capability-client-refresh-4372📝 Commits (4)
768db07fix(capabilities): require refresh after client updates5fbe43edocs(capabilities): clarify refresh stateaff14f8Merge remote-tracking branch 'origin/staging' into fix/capability-client-refresh-43723a13435fix(capabilities): serialize client version imports📊 Changes
6 files changed (+292 additions, -29 deletions)
View changed files
📝
package.json(+1 -1)📝
packages/client/src/components/capabilities/CapabilityElement.tsx(+110 -20)📝
packages/client/src/hooks/use-capability-packages.ts(+80 -8)➕
packages/client/src/lib/capability-client-version.ts(+31 -0)📝
packages/client/src/localization/locales/en.json(+4 -0)➕
scripts/regressions/capability-client-version-refresh.regression.ts(+66 -0)📄 Description
Closes #4372
Why this change
An already-open browser tab cannot replace a registered custom-element constructor when a downloaded capability package updates. Marinara imported the new module and reported it as ready, but continued rendering the old client implementation until the user happened to refresh the page. This made World Maps 1.2.3 appear to be missing its shared-world Game Setup action even though the installed and served artifact contained it.
What changed
Validation
pnpm checkpnpm localization:checkgit diff --checkManual verification
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.