mirror of
https://github.com/Pasta-Devs/Marinara-Engine.git
synced 2026-12-03 19:00:50 +07:00
[PR #5704] [MERGED] test(e2e): stabilise the home lifecycle heap sample and the mobile CYOA boot wait #6895
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#6895
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/5704
Author: @Gunterlie
Created: 8/31/2026
Status: ✅ Merged
Merged: 8/31/2026
Merged by: @Gunterlie
Base:
staging← Head:fix/home-lifecycle-heap-sample-flake📝 Commits (4)
1a56dfatest(e2e): settle the heap sample before the home lifecycle budget2451318test(e2e): allow the mobile CYOA spec the game-surface boot budget02b3946Merge branch 'staging' into fix/home-lifecycle-heap-sample-flake7ac32ebMerge branch 'staging' into fix/home-lifecycle-heap-sample-flake📊 Changes
1 file changed (+25 additions, -6 deletions)
View changed files
📝
e2e/core-flows.e2e.ts(+25 -6)📄 Description
Why
Two specs fail intermittently on unrelated PRs. Both were hit on #5700, whose diff swaps one
textareaforMacroTextareain the character editor — a component neither spec mounts.1.
Home lifecycle stays bounded across repeated tab and chat navigationfails on:collect()issues a singleHeapProfiler.collectGarbageand readsRuntime.getHeapUsage150ms later. One collection leaves incrementally-freed memory uncollected, so a clean run can read megabytes above its own baseline purely on GC timing — inside a 3MB budget.2.
mobile Game keeps CYOA usable above four HUD widgetsfails on its first assertion afterpage.goto("/")with "element(s) not found". That assertion absorbs app boot plus the lazily-importedGameSurfacechunk (~500kB) and runs on the default 10s expect timeout, while the neighbouring game specs already allow 30s for the same wait (e2e/core-flows.e2e.ts:3503,:10897).What
usedSize. Retained memory survives every pass, so no leak detection is lost. The 3MB budget and every other counter are unchanged.Test plan
pnpm checkdesktop-chromiumshard 3 and confirm the lifecycle spec passesmobile-webkitshard 4 and confirm the CYOA spec passes🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.