[GH-ISSUE #1785] [Issue]: Gacha Forge seasonal event fights fail with "Couldn't set up the battle" after a chapter reset #1754

Closed
opened 2026-11-07 16:36:27 +07:00 by bsakaguchi · 0 comments
Owner

Originally created by @SpicyMarinara on GitHub (Oct 28, 2026).
Original GitHub issue: https://github.com/Pasta-Devs/Marinara-Agents/issues/1785

Originally assigned to: @SpicyMarinara on GitHub.

Summary

In any world where a chapter or Character Story was ever regenerated, every seasonal story event fight stops at "Couldn't set up the battle." Retry repeats the same refusal at once.

Affected package

gacha-forge (every version since seasonal story events, 1.18.0; 1.25.1 included)

Expected behavior

The event fight's briefing loads, as it does in a world that never regenerated a chapter.

Actual behavior

  • Every seasonal event route goes through forgeStoryPost, which refuses a request whose storyRevision differs from the world's (story-changed).
  • The client adds storyRevision only for paths in forgeChapterVersionPaths (src/chapter-regeneration-client.mjs), and does so before forgeSeasonalRequest maps the path to its event route.
  • The fight preview is posted as /battle, which was not in that list. So /story-event/battle arrived without a version and was refused as soon as the world's revision was 1 or more.
  • story-changed has no combat-screen label, so the screen showed the generic "Couldn't set up the battle."

Steps to reproduce

  1. Regenerate any chapter or Character Story part (Settings → chapter regeneration) in a Formation or Classic world.
  2. Open a seasonal story event and play to its first fight.
  3. The fight shows "Couldn't set up the battle."; Retry gives the same result with no model call.

Environment

  • Marinara Engine version: staging (Docker)
  • Package version: gacha-forge 1.25.1
  • Install type: docker
  • OS + version: n/a
  • Browser or app shell: browser

Logs, screenshots, or video

Reported by the maintainer ("Seasonal story event chapter that is combat", Formation world). Reproduced against the real server bundle: the reply is {"ok":false,"error":"story-changed","storyRevision":1}.

Additional context

Fixed in #1778 (1.25.2): /battle joins the versioned paths, and the combat error screen now names a changed story and shows the server's error code for any other failure.

Template check

Please uncheck (untick) the box below before submitting so we know you read the template. It is intentionally pre-checked:

  • I DID NOT read this template and provide the requested details.
Originally created by @SpicyMarinara on GitHub (Oct 28, 2026). Original GitHub issue: https://github.com/Pasta-Devs/Marinara-Agents/issues/1785 Originally assigned to: @SpicyMarinara on GitHub. ## Summary In any world where a chapter or Character Story was ever regenerated, every seasonal story event fight stops at "Couldn't set up the battle." Retry repeats the same refusal at once. ## Affected package `gacha-forge` (every version since seasonal story events, 1.18.0; 1.25.1 included) ## Expected behavior The event fight's briefing loads, as it does in a world that never regenerated a chapter. ## Actual behavior - Every seasonal event route goes through `forgeStoryPost`, which refuses a request whose `storyRevision` differs from the world's (`story-changed`). - The client adds `storyRevision` only for paths in `forgeChapterVersionPaths` (`src/chapter-regeneration-client.mjs`), and does so before `forgeSeasonalRequest` maps the path to its event route. - The fight preview is posted as `/battle`, which was not in that list. So `/story-event/battle` arrived without a version and was refused as soon as the world's revision was 1 or more. - `story-changed` has no combat-screen label, so the screen showed the generic "Couldn't set up the battle." ## Steps to reproduce 1. Regenerate any chapter or Character Story part (Settings → chapter regeneration) in a Formation or Classic world. 2. Open a seasonal story event and play to its first fight. 3. The fight shows "Couldn't set up the battle."; Retry gives the same result with no model call. ## Environment - Marinara Engine version: staging (Docker) - Package version: gacha-forge 1.25.1 - Install type: docker - OS + version: n/a - Browser or app shell: browser ## Logs, screenshots, or video Reported by the maintainer ("Seasonal story event chapter that is combat", Formation world). Reproduced against the real server bundle: the reply is `{"ok":false,"error":"story-changed","storyRevision":1}`. ## Additional context Fixed in #1778 (1.25.2): `/battle` joins the versioned paths, and the combat error screen now names a changed story and shows the server's error code for any other failure. ## Template check Please **uncheck (untick)** the box below before submitting so we know you read the template. It is intentionally pre-checked: - [ ] I DID NOT read this template and provide the requested details.
bsakaguchi 2026-11-07 16:36:27 +07:00
  • closed this issue
  • added the
    bug
    label
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
Pasta-Devs/Marinara-Agents#1754
No description provided.