mirror of
https://github.com/Pasta-Devs/Marinara-Engine.git
synced 2026-12-03 19:00:50 +07:00
[PR #1294] [MERGED] Fix invalid remote runtime URL fallback #5019
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#5019
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/1294
Author: @cha1latte
Created: 5/26/2026
Status: ✅ Merged
Merged: 5/26/2026
Merged by: @cha1latte
Base:
refactor← Head:fix/refactor-issue-1246-invalid-remote-url📝 Commits (2)
813c7ccFix invalid remote runtime URL fallback7b51309Assert malformed runtime URL skips fetch📊 Changes
2 files changed (+64 additions, -2 deletions)
View changed files
📝
src/shared/api/remote-runtime.ts(+5 -2)➕
src/shared/api/tauri-client.test.ts(+59 -0)📄 Description
Linked issue
Fixes #1246
Why this change
What changed
ApiErrorwithinvalid_remote_runtime_urlwhen parsing a configured Remote Runtime URL fails.Refactor impact
Primary owner:
Shared API / remote runtime routing.
Impact areas reviewed:
invokeTauricommand behavior.Boundary notes:
/api/invoke.Pressure points touched:
src/shared/api/remote-runtime.tssrc/shared/api/tauri-client.test.tsValidation
pnpm checkpasses locallypnpm typecheckpasses locallypnpm buildpasses locallypnpm check:architecturepasses locallypnpm check:docspasses locallycargo check --manifest-path src-tauri/Cargo.toml --workspacepasses locallyManual verification notes
pnpm exec vitest run src/shared/api/tauri-client.test.ts: before the fix, the malformed configured URL case resolved through the embedded Tauri mock instead of rejecting.pnpm exec vitest run src/shared/api/tauri-client.test.ts: 3 tests passed.storage_list.storage_listto remote fetch.invalid_remote_runtime_urland does not call embedded invoke.pnpm check; it passedcheck:architecture,check:frontend,check:rust, andcheck:docs.scratch/bugfix-verification.json; it passed.Docs and release impact
README.mdCONTRIBUTING.mddocs/developer/AGENTS.mdNo docs or release metadata changes are needed for this narrow shared API routing fix.
UI evidence
N/A: this is shared runtime routing behavior, not a visible UI change. Non-UI verification evidence is embedded above.
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.