mirror of
https://github.com/Pasta-Devs/Marinara-Engine.git
synced 2026-12-03 19:00:50 +07:00
[GH-ISSUE #1246] [Issue]: Refactor invalid Remote Runtime URL falls back to local Tauri #608
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#608
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 @Xelvanis on GitHub (May 26, 2026).
Original GitHub issue: https://github.com/Pasta-Devs/Marinara-Engine/issues/1246
Originally assigned to: @cha1latte on GitHub.
Summary
When Remote Runtime URL is configured but invalid, the shared runtime routing can swallow the URL parse failure and fall back to embedded Tauri. In a browser shell this can become a raw Tauri invoke failure; in desktop it can read or write local data when the user intended to use remote data.
Expected behavior
If Remote Runtime URL is configured but invalid, the app should surface an explicit remote-runtime configuration error and fail closed. It should not fall back to embedded/local Tauri behavior.
Actual behavior
remoteRuntimeTarget()catches URL parsing errors and returns null.invokeTauri()treats that the same as "no remote target" and proceeds to the embedded Tauri invoke path.Steps to reproduce
refactorbranch, configure Remote Runtime URL to an invalid value such ashttp://[bador another malformed URL.Impact area
Environment
refactor, identified during 2026-05-26 failpath auditLogs, screenshots, or video
Relevant code paths:
Audit finding:
Regression notes
Found by source inspection during the 2026-05-26 failpath audit. A targeted runtime repro should be added before or during the fix.
Additional context
Related to #1233, but distinct: #1233 covers no remote runtime configured in the Vite shell. This issue covers an invalid remote runtime value that was explicitly configured.
Template check
Please uncheck the box below before submitting so we know you read the template. It is intentionally pre-checked: