mirror of
https://github.com/Pasta-Devs/Marinara-Engine.git
synced 2026-12-03 19:00:50 +07:00
[GH-ISSUE #2061] [Issue]: web-shell new chat hides remote runtime health failures #1008
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#1008
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 @Promansis on GitHub (Jun 3, 2026).
Original GitHub issue: https://github.com/Pasta-Devs/Marinara-Engine/issues/2061
Originally assigned to: @cha1latte on GitHub.
Summary
Web-shell new-chat creation only checks whether a Remote Runtime URL is configured before trying to read connections. If the configured runtime is invalid, unreachable, not writable, or cannot dispatch
storage_list, the user can see a silent rejection or the generic "No connections found" setup state instead of the proven remote health failure.Expected behavior
In web-shell mode, starting a new conversation, roleplay, or game should use the same Remote Runtime readiness contract as startup and Settings before entering connection setup. A bad runtime should surface the actual health/readiness failure and route the user to Advanced Settings.
Actual behavior
useStartNewChatonly blocks when Remote Runtime URL is blank. Once any URL exists, it fetches remote connections throughstorageApi.list("connections"); failures are not handled in the sidebar path, and the setup modal can fall through to "No connections found" because it keys the remote-required state only on a blank URL.Steps to reproduce
Impact area
Environment
refactorduring Target 3 parityscan on 2026-06-04Logs, screenshots, or video
No live browser repro was run. Static parity evidence:
src/app/shell/useStartNewChat.tsgates only on missingremoteRuntimeUrl.src/features/modes/shared/chat-ui/components/NewChatConnectionGate.tsxtreats blank URL as remote-required but otherwise shows connection setup/empty state.src/features/catalog/connections/hooks/use-connections.tsreads connections throughstorageApi.list.src/shared/api/storage-api.tsroutes the connection list tostorage_list.Backend contract proof passed:
Regression notes
Legacy
mainwas same-origin web client/server and did not need a Remote Runtime URL gate. The refactor web shell adds this gate, so the regression is in the new remote bootstrap behavior rather than a missing legacy route.Related tracker: #2050.
Additional context
Settings/startup already use
checkRemoteRuntimeHealth, which proves Marinara runtime identity, writable storage, and/api/invoke storage_listreadiness. The new-chat gate should reuse that readiness result or catch connection-list failures and display the same class of error before opening connection setup.Template check
Please uncheck the box below before submitting so we know you read the template. It is intentionally pre-checked: