mirror of
https://github.com/Pasta-Devs/Marinara-Agents.git
synced 2026-12-03 18:55:07 +07:00
[PR #2143] [MERGED] fix(otome-forge): draw Otome's glows with less GPU work, and stop unseen animations (0.9.4) #2139
Labels
No labels
agent: chess
agent: conversation-calls
agent: eightball
agent: haptic
agent: hierarchical-maps
agent: hierarchical-maps
agent: illustrator
agent: poker
agent: rock-paper-scissors
agent: tic-tac-toe
agent: uno
artifacts
bug
bugfix
build
catalog
ci
client
dependencies
docs
documentation
enhancement
feature
fixed-in-staging
in-pr
normal-scope
packages
pull-request
qol
regression
roadmap
scope-risk
server
soup
upstream
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
Pasta-Devs/Marinara-Agents#2139
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-Agents/pull/2143
Author: @SpicyMarinara
Created: 11/6/2026
Status: ✅ Merged
Merged: 11/7/2026
Merged by: @SpicyMarinara
Base:
staging← Head:fix/otome-battery📝 Commits (4)
cc24439fix(otome-forge): use less battery while idle (0.9.4)a78cb09Merge remote-tracking branch 'origin/staging' into fix/otome-batteryda5ced3fix(otome-forge): draw Otome's glows and glass with less GPU work (0.9.4)430d51efix(otome-forge): keep the sprite cleanup's 30 s re-check (0.9.4)📊 Changes
14 files changed (+150 additions, -52 deletions)
View changed files
➕
artifacts/otome-forge-0.9.4.zip(+0 -0)📝
catalog/catalog.json(+6 -6)📝
catalog/notes.json(+6 -6)📝
catalog/v2/catalog.json(+6 -6)📝
catalog/v2/notes.json(+6 -6)📝
catalog/v3/catalog.json(+6 -6)📝
catalog/v3/notes.json(+6 -6)📝
packages/otome-forge/CHANGELOG.md(+4 -0)📝
packages/otome-forge/client.js(+31 -6)📝
packages/otome-forge/manifest.json(+3 -3)📝
packages/otome-forge/src/engine/packages/client/src/features/otome-forge/theme/styles.ts(+31 -6)📝
scripts/build-feature-packages.mjs(+1 -1)📝
tests/package-otome-forge-home.e2e.ts(+37 -0)📝
tests/package-otome-forge-reader.e2e.ts(+7 -0)📄 Description
Pull request
Linked issue
Closes #2144
Refs #2141, which stays open: this is a first step and doesn't stop the heat.
Why this change
The maintainer's iPhone gets warm and the battery drains fast while playing Otome Hearth. Their decision on 2026-11-06: no visible changes. That means no idle-pausing of ambient animations, no gradients in place of the blurred glows, and no change to the Engine logo ("the issue is only in otome hearth"). This PR takes the work players can't see.
What changed
client.js, manifest, artifact and catalog entries).styles.ts): each glow'sblur(46px)moved onto a still::beforechild, so the blur is drawn once and the 22 s / 28 s drift only moves the result. Before, the compositor redid the blur on every frame because it sat on the element that moves. The glow keeps a do-nothingblur(0px); without it, the Engine's 1-px header borders shifted by up to 5/255 as the layers changed.visibilitymoved the header borders by 5/255.mix-blend-mode: screen. It is drawn first in its own group, over nothing, where screen and normal give the same result; a bright fake room confirmed it (≤2/255).tests/package-otome-forge-home.e2e.tsand-reader.e2e.tsfor each pause and hide.staleTime: Infinity). That broke the Wish suite's designed 30 s re-check ("stale refresh keeps the same cleaned outfit and its viewer, but a cleanup 404 hides it"), so it is back toCACHE_MS.Measurements (GPU compositor ms/s while idle)
Measured on mobile-chromium 390×844, the median of three 10 s windows. "Before" is 0.9.4's old rules restored on the same page.
backdrop-filter) over the moving glows. Nothing that keeps the pixels identical reduces it, and the maintainer declined visible changes.Tried and not kept (each failed the 2/255 bar or saved nothing):
Package and security impact
otome-forgeValidation
node scripts/validate-catalog.mjspasses locallygit diff --checkpasses locallyCONTRIBUTING.mdManual verification notes
Agent-run checks:
npm run test:otome-forge: 704 + 13 pass.npm run check, locale keys, release notes andgit diff --check: pass.package-otome-forge-home44 passed and-reader88 passed on desktop and mobile Chromium. After the sprite revert, the Wish suite's stale-refresh test and 16 reader and cleanup tests pass on desktop Chromium.Documentation impact
🤖 Generated with Claude Code
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.