mirror of
https://github.com/Pasta-Devs/Marinara-Engine.git
synced 2026-12-03 19:00:50 +07:00
[GH-ISSUE #8023] [Issue]: Browser opens before environment injection completes #7523
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#7523
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 (Oct 21, 2026).
Original GitHub issue: https://github.com/Pasta-Devs/Marinara-Engine/issues/8023
Originally assigned to: @SpicyMarinara on GitHub.
Summary
On startup, Marinara Engine opens the browser before it is ready to use. The page only works after the environment injection completes and the user manually refreshes it.
Expected behavior
The browser should open only after Marinara Engine is ready and the environment has been injected.
Actual behavior
The browser opens prematurely, requiring the user to wait for the environment injection to complete and then refresh the page.
Steps to reproduce
◇ injected env (0) from ..\.env.Environment
4d2932c05b)Logs, screenshots, or video
Startup log observed:
◇ injected env (0) from ..\.env. No screenshots or video provided.Additional context
Reported on the current staging version. The issue has reportedly occurred for several versions after previously seamless startups. After waiting for startup to finish and refreshing the page, everything works normally.
Discord thread: Browser window opening before .env is injected on startup
Discord thread link: https://discord.com/channels/1417099416812392641/1562512085370535987
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 (Oct 21, 2026):
Codex is handling this issue in the maintainer's assigned-issue sweep, on
fix/assigned-issue-sweep-20261022, targetingstaging. Existing contributor PRs are excluded from this sweep. Ownership: @SpicyMarinara, assisted by Codex.@SpicyMarinara commented on GitHub (Oct 21, 2026):
Implemented in #8027 and merged into
stagingat 4d67fe75b3. Reviewed-head and merge ancestry are verified.All four launchers now open the browser after the real server reports readiness, replacing the fixed timer. Coverage includes delayed readiness, failure/restart/opt-out behavior, IPv6, existing-server opening, shell arguments/exit codes and malformed browser commands. Windows launcher regressions and all native platform builds passed; physical Windows10/Firefox and Termux behavior remains manual verification as recorded in the PR.
Final PR-head validation passed all eight required checks, 973/973 Node regressions and all ten platform checks; review findings were fixed or resolved with documented reasons. Closing as completed.