mirror of
https://github.com/Pasta-Devs/Marinara-Engine.git
synced 2026-12-03 19:00:50 +07:00
[GH-ISSUE #1375] [Issue]: Classify hostable runtime local-only and mixed commands after parity merge #693
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#693
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 @ghost on GitHub (May 27, 2026).
Original GitHub issue: https://github.com/Pasta-Devs/Marinara-Engine/issues/1375
Summary
After the hostable runtime command parity merge, the remote allowlist treats command-count parity as equivalent to remote-capability parity. Some commands are now routed to the hostable server even though they depend on the client app shell, local file paths, Tauri IPC channels, or user-machine devices. Others can fall back to local Tauri while the rest of the workflow uses the remote runtime, creating split-brain state.
Classification: Remote-runtime parity follow-up / command classification bug
Expected behavior
Remote runtime routing should classify commands by capability, not only by desktop command presence:
src/shared/api/remote-runtime.tsandsrc-tauri/src/http_dispatch.rs.remoteRuntimeUrlis configured, local-path or channel-only workflows must not silently mutate local app state while storage/provider commands mutate the remote runtime.Actual behavior
The merged parity fix exposes almost every JSON-shaped desktop command remotely. This leaves several unsafe or broken cases:
spotify_authorizeand remotespotify_exchange/spotify_status.Proposed fix
Impact area
Additional context
Follow-up to #1346 / #1372. The issue is not that remote parity is unwanted; the bug is treating all JSON request/response desktop commands as safe to run on the hostable runtime without classifying local shell/device/path dependencies.