mirror of
https://github.com/Pasta-Devs/Marinara-Engine.git
synced 2026-12-03 19:00:50 +07:00
[PR #891] [MERGED] Fix Illustrator retry image connection errors #4824
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#4824
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/891
Author: @cha1latte
Created: 5/15/2026
Status: ✅ Merged
Merged: 5/15/2026
Merged by: @cha1latte
Base:
staging← Head:fix/issue-877-illustrator-default-image📝 Commits (1)
4173e24Fix Illustrator retry image connection errors📊 Changes
2 files changed (+21 additions, -1 deletions)
View changed files
📝
packages/client/src/hooks/use-generate.ts(+6 -0)📝
packages/server/src/routes/generate/retry-agents-route.ts(+15 -1)📄 Description
Linked issue
Closes #877
Why this change
agent_errorthe retry client ignored.What changed
agent_errorfrom retry when Illustrator wants to generate but no image connection resolves, and fail stale explicit image connection IDs instead of silently skipping image generation.agent_errorevents in the client so they show as failures and do not end with a misleading "Agent retry completed" success toast.Validation
pnpm checkpasses locallyCONTRIBUTING.mdManual verification notes
node scratch/issue-877-repro.mjs; before the fix, retry ignoredagent_error, did not report a missing image connection, and did not fail a stale resolved image connection ID.node scratch/issue-877-repro.mjs --after; it confirmed retry handlesagent_error, missing image connections emitagent_error, stale explicit image connection IDs fail asagent_error, blank overrides fall back to the default image-generation connection, and the default image connection lookup still accepts boolean or stringdefaultForAgents.pnpm check, which passed: impeccable context check, lint, shared/server/client build.upstream/staging,git diff --checkis clean, no serverconsole.*, and no schema/version/dependency/auth/storage/prompt-pipeline files changed.Docs and release impact
No docs or release metadata changes are needed for this scoped bug fix.
UI evidence (if applicable)
N/A - no layout or visual surface changed. The user-facing behavior is retry error handling/toast state, covered by the retry stream repro above.
Summary by CodeRabbit
Bug Fixes
New Features
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.