mirror of
https://github.com/Pasta-Devs/Marinara-Engine.git
synced 2026-12-03 19:00:50 +07:00
[GH-ISSUE #1438] [Feature]: refactor remote runtime connection health check #716
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#716
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 @Gunterlie on GitHub (May 27, 2026).
Original GitHub issue: https://github.com/Pasta-Devs/Marinara-Engine/issues/1438
Originally assigned to: @SpicyMarinara on GitHub.
What problem does this solve?
When configuring a remote Marinara server URL in Settings, there's no way to verify the server is reachable or that it has read/write access to its storage. You only find out something is misconfigured when a full operation fails.
Proposed solution
On app launch (only when a Remote Runtime URL is configured):
In Settings (Remote Runtime URL section):
IntersectionObserverBackend (
/healthendpoint):GET /healthresponse to include a writable probe: try writing and deleting a temp file in the data directory and return{ ok: true, runtime: "marinara-server", writable: true/false }Alternatives considered
connection_testflow — requires a saved LLM connection, unrelated to server reachabilityAdditional context
The
/healthendpoint already exists and is excluded from the security middleware. The writable check only needs a small addition to the Rust handler. The frontend already has theremoteRuntimeUrlvalue available in the UI store atstartup.
Template check
Please uncheck (untick) the box below before submitting so we know you read the template. It is intentionally pre-checked:
@SpicyMarinara commented on GitHub (May 27, 2026):
Implemented on refactor in
fd303972. Added /health writable storage probing, app-startup warning for unhealthy configured remote runtimes, and an in-view Settings health indicator for the Remote Runtime URL. Verified with targeted remote-runtime tests, typecheck, lint, architecture check, Rust check, build, and Graphify refresh.