mirror of
https://github.com/Pasta-Devs/Marinara-Engine.git
synced 2026-12-03 19:00:50 +07:00
[PR #6082] [MERGED] fix: image timeouts and large-backup imports #7054
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#7054
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/6082
Author: @SpicyMarinara
Created: 9/12/2026
Status: ✅ Merged
Merged: 9/12/2026
Merged by: @SpicyMarinara
Base:
staging← Head:fix/image-generation-settings-6074📝 Commits (8)
74f9e39chore: track image generation settings fix for #607414b55c8fix: honor image generation transport timeout (#6074)2c0d457test: require prompt image cancellation settlementc810656Merge remote-tracking branch 'origin/staging' into fix/image-generation-settings-6074adf82e5docs: distinguish parameter editor defaults from effective values (#6073)bb16161fix: restore imports of full backups larger than 2 GiB (#6091)8042908fix: honor selected local image backend transport timeout8d8c4fatest: retain import access checks without the obsolete size cap📊 Changes
10 files changed (+115 additions, -11 deletions)
View changed files
📝
CHANGELOG.md(+4 -0)📝
docs/prompts/generation-parameters.md(+2 -2)📝
packages/server/src/routes/backup.routes.ts(+3 -3)📝
packages/server/src/services/image/image-generation.ts(+8 -2)📝
scripts/regressions/avatar-lead-prompt.regression.ts(+22 -0)📝
scripts/regressions/image-dimension-limit.regression.ts(+1 -0)➕
scripts/regressions/image-generation-timeout.regression.ts(+62 -0)📝
scripts/regressions/open-issues.regression.ts(+2 -2)📝
scripts/regressions/profile-import-data-security.regression.ts(+7 -0)📝
scripts/regressions/swarmui-timeout.regression.ts(+4 -2)📄 Description
Linked issues
Closes #6074
Closes #6091
Also completes the English clarification found while reviewing #6073 / #6086.
Why this change
Slow image providers failed after five minutes even when IMAGE_GEN_TIMEOUT_MS allowed 30 minutes. Full-backup imports also regressed to a 2 GiB upload ceiling despite the existing streaming ZIP64 restore support.
What changed
Current staging already retains 512x512 for custom OpenAI-compatible models and preserves character appearance alongside LoRA tags. Coverage was added for those reported cases without changing that behavior. No new dependencies or request paths.
Validation
Executed successfully:
The extended SwarmUI fixture delays session-response headers beyond the general image timeout but within the selected local-backend timeout: it failed with HeadersTimeoutError before the shared-helper correction and passes afterward.
The image transport regression reproduces HeadersTimeoutError before the patch, then verifies delayed headers/body, cancellation, and the configured deadline. It shortens fixture timeouts to avoid a five-minute test. Existing fixtures cover custom-model dimensions, known-provider size restrictions, fallback limits, and outbound image URL security. Avatar prompt coverage includes LoRA tags in positive and negative settings across four prompt grammars.
Manual verification notes
Manually verify avatar/persona generation against the reporter's slow LocalAI model with 512x512 portrait settings and LoRA tags. Manually verify a real large full backup through the browser's Import Profile flow. No paid provider call, actual 30-minute wait, or manual container check was performed locally; the large-upload proof used the real local HTTP API.
The upload remains a privileged owner action. Physical disk capacity still applies; this change removes the artificial archive-size ceiling and adds no new deployment quota. Existing archive validation and cleanup remain in place.
Docs and release impact
Changelog updated under Unreleased. No version bump. The parameter guide clarification is mirrored by #6086 on docs-i18n. Existing backup documentation already describes restoring full backup ZIPs without a 2 GiB cap.
UI evidence (if applicable)
No UI changes.
Summary by CodeRabbit
Bug Fixes
Documentation
Tests
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.