mirror of
https://github.com/Pasta-Devs/Marinara-Engine.git
synced 2026-12-03 19:00:50 +07:00
[PR #6914] [MERGED] test(rulesets): two ruleset lanes that failed now and then #7380
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#7380
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/6914
Author: @kolacheee
Created: 9/30/2026
Status: ✅ Merged
Merged: 9/30/2026
Merged by: @kolacheee
Base:
staging← Head:fix/ruleset-items-director-lane-flake📝 Commits (3)
1dd7d6atest(rulesets): the classic-items lane's directed battle cannot end before its items are used (#6913)9096e0ctest(rulesets): the loot lane counts a dropped hand axe past the axes the party carried in (#6913)3a7c3a0Merge remote-tracking branch 'origin/staging' into fix/ruleset-items-director-lane-flake📊 Changes
3 files changed (+15 additions, -16 deletions)
View changed files
📝
CHANGELOG.md(+1 -0)📝
scripts/regressions/game-ruleset-classic-items.regression.ts(+4 -2)📝
scripts/regressions/game-ruleset-loot.regression.ts(+10 -14)📄 Description
Linked issue
Closes #6913
Why this change
game-ruleset-classic-items.regression.ts(added by #6908 and #6910) can fail now and then with "Battle already finished." Its directed battle put Ada (30 HP) against a Rat (30 HP, attack 8). Initiative is rolled again every round, so the rat can act twice between Ada's turns, and the dawn bell can hit hard, so the battle could end on the dice before the test used its second item. It failed once in a fullpnpm regressionrun on the merged #6910 code.game-ruleset-loot.regression.ts(added by #6900) failed in this PR's own CI with "Hand axe is in the bags" (3 !== 1). It asserted that the bags hold exactly what the moth's table dropped, but the party starts with two hand axes, so whenever the table's weapon line picked a hand axe the count came out 3.What changed
Validation
pnpm checkpasses locallyCONTRIBUTING.mdManual verification notes
pnpm checkand prettier: clean.pnpm regression479 of 480 (this lane the one failure),pnpm smoke:ui7, desktop e2e 53, mobile e2e 28.Docs and release impact
docs-i18nbranch updated to match, or a[docs-i18n]follow-up issue opened (see CONTRIBUTING.md § Translated documentation)CHANGELOG only; no user-facing docs.
UI evidence (if applicable)
Not applicable.
Summary by CodeRabbit
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.