mirror of
https://github.com/Pasta-Devs/Marinara-Engine.git
synced 2026-12-03 19:00:50 +07:00
Labels
No labels
android
bug
bugfix
ci
client
code freeze pause
container
dependencies
docs
documentation
duplicate
enhancement
feature
feature
feature
feature-creep
fixed-in-refactor
fixed-in-staging
good first issue
help wanted
in-pr
in-pr
needs-codeowner-decision
normal-scope
old-codebase
old-codebase
pull-request
qol
question
refactor
regression
revisit later
roadmap
scope-risk
scope-risk
server
server
shared
soup
upstream
windows
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
Pasta-Devs/Marinara-Engine#7349
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-Engine/pull/6836
Author: @kolacheee
Created: 9/29/2026
Status: ✅ Merged
Merged: 9/29/2026
Merged by: @kolacheee
Base:
staging← Head:fix/ruleset-checks-rolled-twice📝 Commits (1)
b955209fix(game): keep a ruleset check rolled with 2d6 or a pool as the ruleset rolled it (#6835)📊 Changes
6 files changed (+33 additions, -1 deletions)
View changed files
📝
CHANGELOG.md(+2 -0)📝
packages/server/src/routes/generate.routes.ts(+2 -0)📝
packages/server/src/services/game/dice.service.ts(+5 -0)📝
scripts/regressions/game-inventory-turn.regression.ts(+14 -0)📝
scripts/regressions/game-ruleset-dice-pool.regression.ts(+9 -0)📝
scripts/regressions/gm-skill-check-resolution.regression.ts(+1 -1)📄 Description
Linked issue
Closes #6835
Why this change
who=, wound penalties, sheet modifiers and pool rules were lost. Found while building #6832, whose check effects never survived a real turn in those games.What changed
resolveGameDiceRequeststakes arulesetChecksflag. In a game that pins a ruleset, it leaves every[skill_check]tag as the ruleset's resolver wrote it (a record, or an ask left on purpose) and still rolls plain[dice: ...]requests. The generate route passes it on the same terms as the ruleset pass (chatMeta.gameRuleset != null). Games with no ruleset are unchanged, which is who that path was written for.game-ruleset-dice-pool), a real turn in an Ember Roads game saves Bram's Scrap check with his Brawn of 3 and hiswho=(game-inventory-turn), and the route's pinned call carries the flag (gm-skill-check-resolution).Validation
pnpm checkpasses locallyCONTRIBUTING.mdManual verification notes
Run by the agent on this branch (one commit on staging
6d3022d56):[skill_check: skill="Scrap" dc="8" who="Bram"](Bram has Brawn 3) savedmodifier="0"and nowho. With the fix the same turn savesmodifier="3"andwho="Bram".pnpm checkexits 0;pnpm regressionpasses 442/442;pnpm smoke:uipasses 7/7.falsefailsgame-inventory-turn, and the resolver without the skip failsgame-ruleset-dice-pool.coderabbit review --agent --base staging): one pass, no findings. The only change after it was the source-shape regex ingm-skill-check-resolution.Docs and release impact
docs-i18nbranch updated to match, or a[docs-i18n]follow-up issue opened (see CONTRIBUTING.md § Translated documentation)CHANGELOG entry only; no user-facing docs describe this path.
UI evidence (if applicable)
None: server only.
Summary by CodeRabbit
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.