[GH-ISSUE #6760] [Issue]: Staging production bundle crashes before React mounts #3788

Closed
opened 2026-10-21 06:07:23 +07:00 by bsakaguchi · 0 comments
Owner

Originally created by @SpicyMarinara on GitHub (Sep 27, 2026).
Original GitHub issue: https://github.com/Pasta-Devs/Marinara-Engine/issues/6760

Originally assigned to: @SpicyMarinara on GitHub.

Summary

The latest staging production bundle crashes before React mounts, leaving a black screen. The Docker API still responds, so HTTP-only container health checks miss the failure.

Expected behavior

The production web app opens normally in browsers and the installed mobile web app after a staging update.

Actual behavior

The page stays blank. Reproduced in Chromium and WebKit: Cannot set properties of undefined (setting Activity) / undefined is not an object (evaluating k.Activity=S) during React initialization. The root element has no children.

Steps to reproduce

  1. Run the staging Docker image.
  2. Open the served frontend in a fresh browser context.
  3. Observe the blank page and React initialization exception.

Environment

  • Marinara Engine version: staging after #6756, currently 72cdaeb465.
  • Install type: Docker.
  • User image: ghcr.io/pasta-devs/marinara-engine@sha256:bc2208a4cc49761ff7ee2be57372b1a5cc8e432d2b7164db7b901122b69af6a6.
  • OS + version: latest iOS per user, exact version not supplied; iPhone 17 Pro.
  • Browser or app shell: installed web app and regular browser; local reproduction also fails in Chromium and WebKit.

Logs, screenshots, or video

The production stack enters React from use-sync-external-store in vendor-misc before the React chunk has initialized its export object.

Additional context

The dependency-path correction in #6756 moved the React peer shim into a separate vendor chunk, exposing a circular initialization dependency. Preserve checkout-path independence while keeping the React initialization dependencies together. Add a runnable browser check against the built production frontend.

Requested by @SpicyMarinara; owned by @SpicyMarinara with Codex implementing on codex/production-startup-fix.

Template check

  • I DID NOT read this template and provide the requested details.
Originally created by @SpicyMarinara on GitHub (Sep 27, 2026). Original GitHub issue: https://github.com/Pasta-Devs/Marinara-Engine/issues/6760 Originally assigned to: @SpicyMarinara on GitHub. ## Summary The latest staging production bundle crashes before React mounts, leaving a black screen. The Docker API still responds, so HTTP-only container health checks miss the failure. ## Expected behavior The production web app opens normally in browsers and the installed mobile web app after a staging update. ## Actual behavior The page stays blank. Reproduced in Chromium and WebKit: `Cannot set properties of undefined (setting Activity)` / `undefined is not an object (evaluating k.Activity=S)` during React initialization. The root element has no children. ## Steps to reproduce 1. Run the staging Docker image. 2. Open the served frontend in a fresh browser context. 3. Observe the blank page and React initialization exception. ## Environment - Marinara Engine version: staging after #6756, currently 72cdaeb4656ce7f3fbdcaa3edc0abf3ae41fe3d6. - Install type: Docker. - User image: `ghcr.io/pasta-devs/marinara-engine@sha256:bc2208a4cc49761ff7ee2be57372b1a5cc8e432d2b7164db7b901122b69af6a6`. - OS + version: latest iOS per user, exact version not supplied; iPhone 17 Pro. - Browser or app shell: installed web app and regular browser; local reproduction also fails in Chromium and WebKit. ## Logs, screenshots, or video The production stack enters React from `use-sync-external-store` in `vendor-misc` before the React chunk has initialized its export object. ## Additional context The dependency-path correction in #6756 moved the React peer shim into a separate vendor chunk, exposing a circular initialization dependency. Preserve checkout-path independence while keeping the React initialization dependencies together. Add a runnable browser check against the built production frontend. Requested by @SpicyMarinara; owned by @SpicyMarinara with Codex implementing on `codex/production-startup-fix`. ## Template check - [ ] I DID NOT read this template and provide the requested details.
bsakaguchi 2026-10-21 06:07:23 +07:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
Pasta-Devs/Marinara-Engine#3788
No description provided.