mirror of
https://github.com/Pasta-Devs/Marinara-Agents.git
synced 2026-12-03 18:55:07 +07:00
[PR #1590] [MERGED] fix(gacha-forge): keep the cast and outfit theme lists in place when ticking (1.8.15) #1939
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#1939
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/1590
Author: @SpicyMarinara
Created: 10/22/2026
Status: ✅ Merged
Merged: 10/22/2026
Merged by: @SpicyMarinara
Base:
staging← Head:claude/gacha-forge-cast-scroll📝 Commits (2)
52d72aafix(gacha-forge): keep the cast and outfit theme lists in place when ticking (1.8.15)ad50f47chore(gacha-forge): record the bundles' hand edits since the 1.8.12 drop📊 Changes
13 files changed (+326 additions, -24 deletions)
View changed files
➕
artifacts/gacha-forge-1.8.15.zip(+0 -0)📝
catalog/catalog.json(+6 -6)📝
catalog/notes.json(+6 -0)📝
catalog/v2/catalog.json(+6 -6)📝
catalog/v2/notes.json(+6 -0)📝
catalog/v3/catalog.json(+6 -6)📝
catalog/v3/notes.json(+6 -0)📝
packages/gacha-forge/CHANGELOG.md(+3 -0)📝
packages/gacha-forge/README.md(+4 -0)➕
packages/gacha-forge/bundle-patches.json(+154 -0)📝
packages/gacha-forge/client.js(+2 -2)📝
packages/gacha-forge/manifest.json(+3 -3)📝
tests/gacha-forge-location-ids.regression.mjs(+124 -1)📄 Description
Pull request
Linked issue
Closes #1589
Why this change
The maintainer reported that every time they tick a character to add to their cast in Gacha Forge's world creation, the list jumps back to the top.
The cause is WebKit, which every iPhone browser and Safari on the Mac use. Each tick rebuilds the list's rows (
innerHTMLinw()), and WebKit drops the scroll position of a box whose rows are rebuilt, along with the boxes around it. Chromium keeps it.w()is byte-identical in 1.8.13.obScrollis not involved: a build with it emptied resets the same way.vi()) has the same bug.What changed
Package
gacha-forge1.8.14 → 1.8.15:w()notes the scroll position of the list and every scrolling box around it, and puts them back afterwards.vi()) does the same.manifest.jsonand the in-bundle version constant.CHANGELOG.mdandREADME.mdentries.node scripts/build-gacha-forge-package.mjs: manifest hash and size,artifacts/gacha-forge-1.8.15.zip(older zips kept), catalog v1/v2/v3 entries and notes.tests/gacha-forge-location-ids.regression.mjs:vmagainst a fake frame → grid → list chain whoseinnerHTMLsetter resets them the way WebKit does, and checks the positions come back;Process note: like 1.8.13 and 1.8.14, this is a hand edit to the pre-built bundle, whose source lives outside this repository.
ponytail:comments mark both fixes for mirroring into the package's upstream source.Bundle patch record (
ad50f476f, for Dottore's "digest certifies bytes no build can regenerate").packages/gacha-forge/bundle-patches.jsonnames the last upstream drop, SonaGat3's 1.8.12 (aa0cece0f, by sha256 and size). It then lists every hand edit since, as find/replace steps:client.js: 1.8.13, 1.8.14 and 1.8.15 (21 edits);server.mjs: 1.8.13 (3 edits).Every other payload is byte-identical to that drop.
tests/gacha-forge-location-ids.regression.mjs, which CI runs, now:client.jspatch to be the manifest version, so the next hand edit must be recorded too.The file is not a payload: the builder ignores it, and nothing in the manifest, zip or catalogs changed. A new upstream drop should carry these edits and then reset the record to its own base.
Package and security impact
gacha-forgeengine.min/maxExclusiveunchanged)scrollToparound two list rebuilds.Validation
node scripts/validate-catalog.mjspasses locallygit diff --checkpasses locallyCONTRIBUTING.mdAgent-run checks on head
ad50f476f(the fix is52d72aaf9;ad50f476fadds the bundle patch record):npm run checkpassed.node scripts/test-catalog-lanes.mjspassed.node scripts/validate-package-locales.mjspassed.node scripts/validate-catalog.mjspassed (41 packages; v2=41, v3=41).node scripts/tests/catalog-release-notes.regression.mjspassed.node tests/gacha-forge-location-ids.regression.mjspassed.git diff --checkis clean.Playwright WebKit harness (each cell is a scroll position):
Manual verification notes
Still needs a human:
stagingcheckout.Documentation impact
packages/gacha-forge/README.mdandCHANGELOG.mdhave the 1.8.15 entry.UI evidence (if applicable)
Not attached. Harness measurements are above.
🤖 Generated with Claude Code
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.