mirror of
https://github.com/Pasta-Devs/Marinara-Engine.git
synced 2026-12-03 19:00:50 +07:00
[GH-ISSUE #537] [Feature]: Clarify updater apply availability in the frontend #247
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#247
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?
Originally created by @cha1latte on GitHub (May 7, 2026).
Original GitHub issue: https://github.com/Pasta-Devs/Marinara-Engine/issues/537
What problem does this solve?
Users can see available updates in the Marinara frontend, but the Apply Update action is confusing when the running build does not expose server-side update application.
In the Discord report, the user was unsure whether this was a bug or a missing setting because applying updates from the frontend did not work, while closing and relaunching the app usually applied updates. Another user noted that their UI showed many available updates, such as "26 updates," which also caused confusion.
Professor Mari's diagnosis found that this is currently gated by the backend rather than necessarily a broken updater. The update apply route returns
403withAuto-update apply is disabledwhenisUpdatesApplyEnabled()is false and tells users to setUPDATES_APPLY_ENABLED=true. Even with that enabled, server-side apply only works for supported install modes, such as git-based installs. Docker or standalone-style paths are rejected separately. The visible update count is also based on commit-behind tracking againstorigin/main, not necessarily tagged releases.The current UX makes the frontend look like it should be able to apply updates, then fails after the user clicks. Users need clearer in-app messaging about whether their install can apply updates directly, whether they should relaunch, or whether they need to update manually.
Proposed solution
Improve the updater UI so it reflects the backend update-apply capability before the user clicks Apply Update.
Possible changes:
origin/main, not necessarily the number of tagged releases.Alternatives considered
Leave the current behavior as-is and rely on the backend error toast. This is technically accurate but confusing because the action appears available until it fails.
Another alternative is to document the limitation only in troubleshooting docs, but the confusion happens directly in the updater UI, so inline messaging would likely help more.
Additional context
Discord report: https://discord.com/channels/1417099416812392641/1502078195372134550
Reported environment:
v1.5.87e37df8Relevant diagnosis from Professor Mari:
Apply Updateis gated byisUpdatesApplyEnabled().403withAuto-update apply is disabled.UPDATES_APPLY_ENABLED=trueto enable server-side update application.origin/main, not necessarily tagged releases.Template check
Please uncheck (untick) the box below before submitting so we know you read the template. It is intentionally pre-checked:
@cha1latte commented on GitHub (May 7, 2026):
Triage note: labeling this as
normal-scopebecause the request is a focused UX clarification around an existing updater capability gate, not a new update system.Expose or derive the backend apply capability in the updater UI, then adjust the action state and copy so users know whether to relaunch, apply in-app, or update manually.