mirror of
https://github.com/Pasta-Devs/Marinara-Engine.git
synced 2026-12-03 19:00:50 +07:00
[GH-ISSUE #5870] [Issue]: iPhone black screen after chat and agent generation; warning accent mismatch #3242
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#3242
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 5, 2026).
Original GitHub issue: https://github.com/Pasta-Devs/Marinara-Engine/issues/5870
Originally assigned to: @SpicyMarinara on GitHub.
Summary
On iPhone, Marinara intermittently returns to an empty dark screen after a substantial chat generation, especially when agents run. The maintainer now reports this after nearly every major generation, preventing receipt of Illustrator images. A separate mobile presentation regression leaves the chat-start agent/model warning border pink/orchid instead of using the selected accent.
Expected behavior
The app remains visible and usable through streamed replies, agent updates, and Illustrator completion. The connection-warning border follows the current accent.
Actual behavior
Only the dark app backing remains visible and the Home Screen app must be restarted. The maintainer reports that this previously recovered with a refresh but now stays dark, and that Illustrator results started after the reply are lost from view. The warning border does not match the selected blue/cyan accent.
Steps to reproduce
Environment
aa2e46806b).Logs, screenshots, or video
Two screenshots and support diagnostics were supplied in the maintainer conversation. Private chat screenshots are not republished here. One screenshot shows an otherwise empty dark app surface; the other shows the agent/model warning with a mismatched border. No browser crash report or JavaScript stack is available yet.
Additional context
Maintainer requested a simple, focused fix through a PR to staging. Investigate the reported commit and current staging against the earlier iPhone fixes, without assuming an unproven server crash or particular client cause. Preserve chat data and image results; avoid reload-based workarounds that could interrupt generation.
Owner: @SpicyMarinara; implementation by Codex. Existing unrelated draft PRs are excluded.
Template check
@SpicyMarinara commented on GitHub (Sep 5, 2026):
Owner: @SpicyMarinara, implementation by Codex on fix/iphone-generation-black-screen. A draft PR is open for the focused investigation and fix; unrelated drafts are untouched. Core proof target: keep the client shell and persisted Illustrator result available through generation/agent completion, and make the warning border follow the selected accent. Physical iPhone failure reproduction remains an explicit verification gap until tested.
@SpicyMarinara commented on GitHub (Sep 5, 2026):
PR #5871 is merged into staging at
f6efd5ee60. It removes a persistent message-animation compositor hint, makes the warning border use the chosen accent, preserves Illustrator-only retries after passive disconnect, and refreshes saved chat/gallery results when reopened server-side work finishes. Explicit Stop remains effective; automatic /generate already survived passive disconnects.Validation: pnpm check, all 205 Node regressions, the complete desktop Chromium/mobile Chromium/mobile WebKit CI matrix, focused reconnect/image persistence tests, Linux/amd64 production Docker smoke, and completed CodeRabbit review passed.
Keeping this issue open: the physical iPhone Home Screen PWA blank-screen failure has not been reproduced, so the rendering mitigation is not proof that every blank screen is eliminated. Please verify the reported long Roleplay reply + agents/Illustrator case after updating staging, with Messages per page = 20; if it still happens, note whether reopening restores the finished image. Main was not changed.
@SpicyMarinara commented on GitHub (Sep 5, 2026):
Reopening after the maintainer reproduced the black screen on current staging build 2.4.5+4cd3140d6282. Owner: @SpicyMarinara; Codex is investigating on fix/5870-illustration-arrival. Installed iPhone Home Screen app, Docker-hosted server, Messages per page 20. Reopening the phone app restores it without restarting Docker. Both automatic and manually triggered Illustrator runs reproduce the failure, reportedly when the image should arrive. Image provider: GPT Image; prompt model: GPT-5.6-Sol. Fresh server diagnostics report no detected freeze or unclean exit. The original mitigation in #5871 did not resolve this case. GPU failure remains a hypothesis, not a diagnosis. Work will isolate image persistence from client image arrival/rendering, with an explicit physical-iPhone proof gap until verified.
@SpicyMarinara commented on GitHub (Sep 5, 2026):
PR #5880 is merged into staging at
36f5379b2e7d0084d1b8116d178947f1baa65270. Main was not changed.This follow-up reuses the existing thumbnailer for mobile chat images (1024px) and gallery tiles (320px), retaining original files for opening/downloading. It also fixes the reproduced case where an already-saved automatic Roleplay illustration remained hidden until other agents closed the generation stream. Animation/unsupported-format fallbacks retain the original.
The maintainer's latest correction is important: the manual illustration did appear in both Gallery and under its message after refresh. The automatic illustration was still missing. The fix does not claim that every missing automatic image was caused by the client refresh guard, nor that an iPhone GPU/process crash has been reproduced.
Verification:
pnpm check, 207/207 Linux Node regressions, the complete desktop Chromium/mobile Chromium/mobile WebKit CI matrix, production Docker API smoke and 15 selected production-browser checks passed. CodeRabbit completed review with both findings addressed. The unrelated random Professor Mari popup obstructed one Home-widget test on the first CI attempt; that shard passed on an unchanged rerun. Screenshots and detailed claim boundaries are linked in the PR.The staging Docker publication is running: https://github.com/Pasta-Devs/Marinara-Engine/actions/runs/33996937667. Once it succeeds, the updated staging build should identify commit
36f5379b2e7din Support Diagnostics.Keeping this issue open for physical-device verification. Please retest manual and automatic Illustrator in the iPhone Home Screen app after updating the staging Docker image, using the existing 20-message setting. Real GPT Image calls and physical iPhone crash behavior were not exercised in this environment.
@SpicyMarinara commented on GitHub (Sep 6, 2026):
Owner: @SpicyMarinara; Codex is implementing the follow-up on fix/5870-bounded-mobile-images. The maintainer confirmed build
36f5379b2estill reloads or stays black around Illustrator image arrival, and requires an automatic fix with existing appearance settings unchanged. Two reproducible gaps in the previous preview path are being addressed: width-only resizing leaves portrait/tall images too large, and PNG metadata before image data can bypass previews. No other open issue-linked PR or project item covers this follow-up. Physical iPhone GPU/process failure remains unverified; this PR will include regression proof for these image-delivery defects, not claim a reproduced hardware crash.@SpicyMarinara commented on GitHub (Sep 6, 2026):
PR #5881 is merged into staging at
06f63411625282596fd75c00f7a8b362b731f33d. Main was not changed. The staging Docker publication succeeded for both Linux/amd64 and Linux/arm64: https://github.com/Pasta-Devs/Marinara-Engine/actions/runs/34024329854. The updated server build is2.4.5+06f634116252.This follow-up fixes two verified gaps in #5880's automatic image previews: tall/portrait images were only width-limited, and large PNG metadata could cause static images to bypass previews entirely. Both dimensions are now bounded; PNG metadata payloads are skipped without flattening animations. Old width-only disk previews are automatically replaced on demand. Existing appearance settings, scene effects and original image files are unchanged; there is no Reduced paint effects requirement or settings reset.
Proof: the previous production Docker build failed the new mobile WebKit preview-size test; the patched build passed all 21 selected production-browser checks.
pnpm check, 207/207 Node regressions, the complete desktop/mobile browser CI matrix, Docker build, and CodeQL passed. CodeRabbit completed review with no actionable findings. Production API smoke with normal rate limits confirmed portrait/tall/large-metadata previews and byte-identical original downloads. Synthetic before/after proof and limitations.Keeping #5870 open for physical-device confirmation. The reported iPhone Home Screen black screen was not reproduced or GPU-profiled in this environment, and the user's original GPT Image output was unavailable. These tests prove the preview-delivery corrections, not that every WebKit process failure is eliminated. Retest manual/automatic Illustrator on the published staging build with the existing settings and 20 messages per page.
@SpicyMarinara commented on GitHub (Sep 6, 2026):
Owner: @SpicyMarinara; implementation by Codex on fix/5870-client-recovery-diagnostics. The maintainer confirmed build
4666e71ce4still reloads around image arrival, and now reports a black screen after finishing an edit and scrolling into older messages without a new image arriving. The preview corrections did not eliminate the broader failure. The approved follow-up adds small, local-only client recovery diagnostics and investigates the edit/scroll path. No chat text, prompts, image URLs, or raw exception messages will be recorded. App-requested reloads will be distinguished from unknown interruptions; a missing event is not evidence of an iOS/GPU crash. Physical iPhone reproduction remains unverified, so this issue stays open.@SpicyMarinara commented on GitHub (Sep 6, 2026):
PR #5896 is merged into staging at
9bbee87d1a44c33f704977bd8c25aafbec9b85aa. The Docker publication workflow completed for both amd64 and arm64.This is the approved diagnostic follow-up, not a confirmed black-screen fix. Keep #5870 open. The edit/save/older-message-scroll recurrence means we cannot attribute the issue solely to illustration arrival. No explicit full-page reload is called by either successful edit completion or illustration receipt; the existing reload/recovery entrypoints now record their reason.
Copy Support Diagnostics now includes the actual frontend build and a bounded local event record: known reload reasons, observed client error class/React code/asset position, basic viewport/root geometry, and generic edit/image-arrival milestones. Recovery events exclude chat content and image URLs, are not sent automatically, and are included only in the manually copied report. No new automatic reload, polling, appearance/quality reduction or settings reset.
Verification:
pnpm check, the focused persistence/privacy/storage-failure regression, all required CI checks and completed CodeRabbit review passed. All 24 focused browser checks passed against a production Docker build across desktop Chromium, mobile Chromium and mobile WebKit. Synthetic production proof.Physical iPhone Home Screen lifecycle/GPU behavior remains unverified. An unmarked restart, or absence of a final error event, remains an unknown cause—not proof of an OS/GPU kill. If another incident happens naturally on this or a later build, copy Support Diagnostics once after reopening; there is no need to deliberately provoke another failure or change settings.