mirror of
https://github.com/Pasta-Devs/Marinara-Agents.git
synced 2026-12-03 18:55:07 +07:00
[PR #1663] [MERGED] fix(gacha-forge): cancel stuck chapter and story generation #1942
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#1942
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/1663
Author: @SpicyMarinara
Created: 10/24/2026
Status: ✅ Merged
Merged: 10/24/2026
Merged by: @SpicyMarinara
Base:
staging← Head:fix/gacha-story-cancel📝 Commits (2)
fff6411fix(gacha-forge): cancel stuck chapter and story generation6345a24fix(gacha-forge): fence queued artwork after story cancellation📊 Changes
19 files changed (+1304 additions, -59 deletions)
View changed files
➕
artifacts/gacha-forge-1.15.1.zip(+0 -0)📝
catalog/catalog.json(+8 -8)📝
catalog/notes.json(+6 -6)📝
catalog/v2/catalog.json(+8 -8)📝
catalog/v2/notes.json(+6 -6)📝
catalog/v3/catalog.json(+8 -8)📝
catalog/v3/notes.json(+6 -6)📝
packages/gacha-forge/CHANGELOG.md(+4 -0)📝
packages/gacha-forge/bundle-patches.json(+121 -0)📝
packages/gacha-forge/client.js(+92 -3)📝
packages/gacha-forge/manifest.json(+5 -5)📝
packages/gacha-forge/server.mjs(+96 -9)➕
packages/gacha-forge/src/story-cancel-client.mjs(+81 -0)➕
packages/gacha-forge/src/story-cancel-en.mjs(+5 -0)➕
packages/gacha-forge/src/story-cancel-server.mjs(+85 -0)➕
tests/gacha-forge-story-cancel-package.regression.mjs(+168 -0)➕
tests/gacha-forge-story-cancel-server.regression.mjs(+172 -0)➕
tests/gacha-forge-story-cancel.regression.mjs(+266 -0)📝
tests/package-gacha-forge-audio.e2e.ts(+167 -0)📄 Description
Linked issue
Closes #1662
Why this change
Chapter and story loading can remain stuck after generation stops, with no way back to Gacha Home. Users need an escape that preserves their world and progress.
What changed
Package and security impact
gacha-forge1.15.1; existing Engine 2.5.1 / Capability API 1.384 requirement retained./story/cancel; no permission changes or storage migration.Validation
Local checks passed:
npm run check(0 errors; existing warnings), catalog lanes, package locales and locale keys, catalog release notes, generated catalog validation, location-ID and story-memory regressions, andgit diff --check.The client cancellation, server cancellation and actual shipped-route regressions cover immediate Home, provider abort, saved progress, stale responses, fresh retries and late persistence. Browser tests passed 6/6 across desktop Chromium, mobile Chromium and mobile WebKit emulation for delayed/stale chapter and story loading. No paid provider call or physical-device test was performed.
Both local CodeRabbit reviews completed with no findings, including the final queued-artwork guard. An independent follow-up found the queued-artwork dispatch gap, which was fixed and covered by the passing shipped-client regression. The final committed build also passed all six browser cases again.
Documentation impact
Package changelog and generated update notes include the new Cancel action. No Engine documentation changes are needed.
UI evidence
Browser tests capture
chapter-loading-cancel.pngandbeat-loading-cancel.pngfor each tested project. The button uses the existing loading-screen control style.🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.