mirror of
https://github.com/Pasta-Devs/Marinara-Engine.git
synced 2026-12-03 19:00:50 +07:00
[GH-ISSUE #1231] [Issue]: Refactor remote runtime tests image providers but cannot run real image generation #604
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#604
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 @cha1latte on GitHub (May 26, 2026).
Original GitHub issue: https://github.com/Pasta-Devs/Marinara-Engine/issues/1231
Originally assigned to: @cha1latte on GitHub.
Summary
On
upstream/refactor, the browser/remote-runtime path can save and test an image-generation connection, but the real image generation commands are not exposed bymarinara-server. This makesTest Imagea false positive: users can verify a provider successfully and then fail when normal chat/gallery/avatar/sprite generation tries to use the same runtime.Expected behavior
Remote runtime should expose the image-generation commands used by the refactor UI, or the UI should clearly mark those workflows as unsupported in remote/browser mode before users configure and test them.
Actual behavior
connection_test_imageis remote-enabled and successfully called the fake OpenAI-compatible image provider, but the commands used by real image workflows returnunsupported_command:image_generate is not exposed by the remote runtimechat_gallery_upload is not exposed by the remote runtimeavatar_generation_command is not exposed by the remote runtimesprite_generate_sheet is not exposed by the remote runtimeSteps to reproduce
upstream/refactorat commit507e64ac.marinara-server.http://127.0.0.1:8787.Test Imagein the connection editor.image_generate,chat_gallery_upload,avatar_generation_command, orsprite_generate_sheet.Marinara Engine version
upstream/refactorcommit507e64acInstall type
Source
OS + version
Windows, exact version not specified
Browser or app shell
Vite web shell in Chromium/Playwright, with
marinara-serverremote runtimeScreenshots or video
Provider configuration can appear usable while real image workflows fail:
Logs
Remote runtime responses:
Fake provider request log showed only the connection test hit the image provider:
Additional context
Likely owner/component:
src/shared/api/remote-runtime.ts,src/shared/api/image-generation-api.ts, andsrc-tauri/src/http_dispatch.rs.The frontend wrapper uses
image_generate,chat_gallery_upload,avatar_generation_command, and sprite commands, but the remote command allowlist/dispatcher does not include those commands.Template check
@Xelvanis commented on GitHub (May 26, 2026):
Additional audit note: when fixing this, can we include the follow-on managed asset path in the acceptance criteria? The current remote command exposure gap is one failure mode, but remote-capable image/background workflows also need end-to-end asset resolution after upload or generation. A remote upload/generation that returns a managed asset tag is not sufficient if the UI later resolves that tag through embedded Tauri/local filesystem instead of the remote runtime.
Relevant areas from the audit:
src/shared/api/remote-runtime.ts,src/shared/api/image-generation-api.ts,src/shared/api/local-file-api.ts, andsrc-tauri/src/http_dispatch.rs.