[GH-ISSUE #8879] [Issue]: add-main-choice regression fails on staging after #8876 #8537

Closed
opened 2026-11-07 16:43:37 +07:00 by bsakaguchi · 1 comment
Owner

Originally created by @SpicyMarinara on GitHub (Nov 5, 2026).
Original GitHub issue: https://github.com/Pasta-Devs/Marinara-Engine/issues/8879

Originally assigned to: @SpicyMarinara on GitHub.

Summary

scripts/regressions/add-main-choice.regression.ts fails on staging since #8876: "ReferenceError: job is not defined". #8876 made the Add window's Done pick the Decision model, so applyChoices now reads job, picks, decisionOptions and selectDecision. The regression runs that handler with a hand-made context that lacks them.

Expected behavior

The regression passes. It checks that Done saves the Main model before closing and keeps the window open when saving fails.

Actual behavior

Node regressions shard 2/3 fails on staging and on the v2.5.2 promotion #8878.

Steps to reproduce

node ./scripts/run-regressions.mjs --filter add-main-choice

Environment

  • Marinara Engine version: staging
  • Install type: CI
  • OS + version: GitHub-hosted runners
  • Browser or app shell: n/a
Originally created by @SpicyMarinara on GitHub (Nov 5, 2026). Original GitHub issue: https://github.com/Pasta-Devs/Marinara-Engine/issues/8879 Originally assigned to: @SpicyMarinara on GitHub. ## Summary `scripts/regressions/add-main-choice.regression.ts` fails on staging since #8876: "ReferenceError: job is not defined". #8876 made the Add window's Done pick the Decision model, so `applyChoices` now reads `job`, `picks`, `decisionOptions` and `selectDecision`. The regression runs that handler with a hand-made context that lacks them. ## Expected behavior The regression passes. It checks that Done saves the Main model before closing and keeps the window open when saving fails. ## Actual behavior Node regressions shard 2/3 fails on staging and on the v2.5.2 promotion #8878. ## Steps to reproduce `node ./scripts/run-regressions.mjs --filter add-main-choice` ## Environment - Marinara Engine version: staging - Install type: CI - OS + version: GitHub-hosted runners - Browser or app shell: n/a
bsakaguchi 2026-11-07 16:43:37 +07:00
Author
Owner

@SpicyMarinara commented on GitHub (Nov 5, 2026):

Fixed in #8880 (merged to staging as cca56b5342). Closing by hand, because closing keywords only fire on the default branch.

<!-- gh-comment-id:6662777725 --> @SpicyMarinara commented on GitHub (Nov 5, 2026): Fixed in #8880 (merged to staging as cca56b5342). Closing by hand, because closing keywords only fire on the default branch.
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-Engine#8537
No description provided.