mirror of
https://github.com/Pasta-Devs/Marinara-Engine.git
synced 2026-12-03 19:00:50 +07:00
[GH-ISSUE #6455] [Issue]: Schedule generation hides connection details and silently fails on malformed JSON #3615
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#3615
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 @SpicyMarinara on GitHub (Sep 20, 2026).
Original GitHub issue: https://github.com/Pasta-Devs/Marinara-Engine/issues/6455
Originally assigned to: @SpicyMarinara on GitHub.
Summary
The Schedule generation control does not make clear which LLM connection it uses, and it may fail silently when the generated response contains malformed JSON.
Expected behavior
The UI should identify the connection used for Schedule generation and ideally allow the user to select it. If generation fails, the Engine should display a clear in-engine error explaining the failure instead of leaving the schedule blank.
Actual behavior
The connection used by the Schedule generation control is unclear. Schedule generation stops after a malformed JSON error, but the Engine provides no visible error and the schedule remains blank after the loading spinner stops.
Steps to reproduce
Environment
f66abf7edd)Logs, screenshots, or video
Terminal log: SyntaxError: Expected ',' or ']' after array element in JSON at position 3025 (line 41 column 75). The stack trace references parseRepairedJson, parseScheduleResponse, generateCharacterSchedule, and conversation.routes.js, ending with '[schedule] Draft generation failed'. Attachment: https://cdn.discordapp.com/attachments/1551268763775664278/1551268764220137594/image.png?ex=6ab15b1e&is=6ab0099e&hm=5f02cfa233efa8a7b4feecd8a05cd753b2eb6624594f957fbcd4e9a8713e9e10&
Additional context
Support diagnostics reported the active connection as 'LinkAPI - gemini-3.1-flash-lite-image', with provider 'image_generation' and model 'gemini-3.1-flash-lite-image'. The report does not establish whether this is the connection used by Schedule generation.
Discord thread: Schedule Generation - (1) What Connection is Used / (2) Silently Failing
Discord thread link: https://discord.com/channels/1417099416812392641/1551268763775664278
Requested by: Marinara (marinara_spaghetti, Discord ID 169561011928432653)
Discord thread transcript (3 messages)
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 (Sep 20, 2026):
I am taking this in draft PR #6457 (@SpicyMarinara), alongside #6449. I will expose the schedule connection/model and keep generation failures visible in the editor without replacing the current draft.
@SpicyMarinara commented on GitHub (Sep 20, 2026):
Fixed in #6457 and merged to staging after all required checks and CodeRabbit review completed. The schedule editor now exposes connection selection and persistent generation errors, rejects malformed or incomplete days, and protects drafts and settings during generation and cancellation.