mirror of
https://github.com/Pasta-Devs/Marinara-Agents.git
synced 2026-12-03 18:55:07 +07:00
[PR #1186] [MERGED] fix(gacha-forge): 1.8.11 — art is painted once on a slow connection, and a Tower boss heals like one of its escorts #1335
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#1335
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/1186
Author: @SonaGat3
Created: 10/1/2026
Status: ✅ Merged
Merged: 10/1/2026
Merged by: @SonaGat3
Base:
staging← Head:feature/gacha-forge-1.8.11📝 Commits (1)
ddeeafdfix(gacha-forge): 1.8.11 — art is painted once on a slow connection, and a Tower boss heals like one of its escorts📊 Changes
12 files changed (+311 additions, -286 deletions)
View changed files
➕
artifacts/gacha-forge-1.8.11.zip(+0 -0)📝
catalog/catalog.json(+8 -8)📝
catalog/notes.json(+6 -0)📝
catalog/v2/catalog.json(+8 -8)📝
catalog/v2/notes.json(+6 -0)📝
catalog/v3/catalog.json(+8 -8)📝
catalog/v3/notes.json(+6 -0)📝
packages/gacha-forge/CHANGELOG.md(+5 -0)📝
packages/gacha-forge/README.md(+2 -0)📝
packages/gacha-forge/client.js(+157 -157)📝
packages/gacha-forge/manifest.json(+5 -5)📝
packages/gacha-forge/server.mjs(+100 -100)📄 Description
Linked issue
Closes #1184
Closes #1185
Why this change
stagingcarries Gacha Forge 1.8.9. Two player reports, two families of bug (1.8.10 was installed for testing only and ships here, inside 1.8.11):dedupeceiling: the next request found the lock expired and nothing filed yet, and painted again.What changed
Painters (
server.mjs)paintOnce(connection, { force, have, paint }). With the image connection's queue slot held,have()re-reads what is filed and answers it; only if nothing is there doespaint()paint, upload and file. A copy queued behind finds the first one's picture. Covered: a chapter's backgrounds and enemies, a mode's backdrop, banner art, portraits, key images, Bond backgrounds, the outfit rotation and the Bond outfit. A redo (force: banner and portrait redo,/bond/repaint) still always paints.dedupe'd promise (its owner runs without the slot and would wait for it forever).writePortraitchecks and retries; on a retry an automatic writer (the card-avatar adoption) yields to a portrait the player set in between. The portrait route refuses to paint from an edit that was not saved.Tower bosses (
combat-sim,power, the enemy sheet,server.mjs)healPool(kit, hpMax): a kit carryinghealAs: { hp, share }heals fromHP_BASE + hp × power × share × HP_PER(capped at its bar); without it, from its own bar — every unit that is not a boss fights byte for byte as before.healAsis relative to the kit's power, so a fit or a bench that rescalespowerrescales the heal with it. All eight heals that read the healer's bar use it (Ultimate heal and cleanse, passive heal and cleanse, the revive's team heal in both, the regen aura, the Water bonus).share0.6/1.6); book bosses (71-100) as their book's escorts (0.35/1.6).healAsjoinsSIM_KIT_FIELDS: the fight/tower/startfreezes keeps it, so/tower/claimreplays the heal the screen played (mechonce had exactly this bug).Generated outputs
packages/gacha-forge/client.js,server.mjs,manifest.json, the artifact zip, the catalog family and the release-notes sidecars were re-derived bynode scripts/build-gacha-forge-package.mjsfrom the committed payload bytes. Nothing was hand-edited; re-running the builder after the commit leaves the tree clean.Package and security impact
capabilityApi, theenginerange, permissions, contribution slots, assets,builtAgainstandrestartRequiredare unchanged. The only manifest field that moved isversion, verified by diffing against thestagingmanifest with the hash lines filtered out.healAs, lives on a Tower fight's enemy kits, built per fight and frozen with it.client.js1,435,025 → 1,436,506 bytes,server.mjs495,733 → 498,958, artifact 7,830,915 → 7,835,622. All art is byte-identical: 244 of 247 payload files are unchanged (onlyclient.js,server.mjsandmanifest.jsonmove).Validation
node scripts/validate-catalog.mjspasses locallygit diff --checkpasses locallyCONTRIBUTING.mdManual verification notes
origin/staging;git ls-files --eol | grep -c w/crlf→ 0;git diff --check "origin/staging...HEAD"clean; the build is reproducible.manifest.jsondiffers, which every installer rewrites.pull-request-checks.ymlatorigin/staging, so its 25 steps cannot go stale: 24 of 25 green. ⚠️npm run test:securityfails on Windows for a reason unrelated to this change (catalog-path-safety.regression.mjsexpects a POSIX path and getsD:\tmp\package\assets\icon.png); its log never names gacha-forge, and it failed identically on a cleanstagingcheckout for every earlier Gacha Forge PR.healAs(Ultimate heal, the Water bonus, Ultimate cleanse, passive heal and cleanse), and is unchanged (22.5% of the bar) without it;healAssurvives the freeze.healAs, two heals missed at first, the CP counting the old heal, the rotation's final write erasing pieces.Documentation impact
packages/gacha-forge/README.mdgains the 1.8.11 paragraph;packages/gacha-forge/CHANGELOG.mdgains 1.8.11. The repository README is unchanged.UI evidence (if applicable)
Summary by CodeRabbit
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.