mirror of
https://github.com/Pasta-Devs/Marinara-Engine.git
synced 2026-12-03 19:00:50 +07:00
[PR #8182] [MERGED] fix(game): validate saved combat style pairs and show registered choices #8143
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#8143
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/8182
Author: @SpicyMarinara
Created: 10/23/2026
Status: ✅ Merged
Merged: 10/23/2026
Merged by: @SpicyMarinara
Base:
staging← Head:fix/combat-style-metadata-8176📝 Commits (2)
b6fc962chore: start combat style follow-up #81760400ab5fix(game): validate queued combat ruleset and expose registered styles📊 Changes
5 files changed (+353 additions, -51 deletions)
View changed files
📝
e2e/game-experience-setup.e2e.ts(+86 -2)📝
packages/client/src/components/game/GameSetupWizard.tsx(+24 -4)📝
packages/server/src/routes/chats.routes.ts(+48 -42)➕
scripts/regressions/chat-combat-style-metadata.regression.ts(+179 -0)📝
scripts/regressions/ruleset-combat-styles.regression.ts(+16 -3)📄 Description
Linked issue
Closes #8176
Why this change
A ruleset-only metadata update could save a combat preference the new ruleset forbids, while changing both together checked the old ruleset and rejected a valid selection. Setup also resolved registered custom styles without displaying their buttons.
What changed
Validation
Final source:
0400ab5c067c94017e6de4f074ed6cc2c50553df(basea45d57b036d7b63669afdeca290550988390479a). Published logs and seven-capture gallery.Pinned offline
pnpm installand finalpnpm check: PASS; one inherited HomeProfessorMariChat hook warning. An initial ENOSPC baseline attempt is retained separately; the unchanged replay passed after disposable-data cleanup.Canonical combat regression selection:3/3 files PASS, including12 actual route/storage cases. Original product failed10 controls, including both queued fresh-state paths. Existing memory exclusivity, profile summary hiding and view-only window layout controls:3/3 PASS.
Registered setup:6/6 dark/light cases across desktop Chromium, mobile Chromium and mobile WebKit PASS. Actual registry selection/filtering/default fallback/prior-pick restore/long-label geometry/final submitted custom ID verified. Before case reproduces the missing button.
pnpm smoke:ui:7/7 PASS. Fresh compiledpnpm smoke:production:3/3 PASS.Final committed five-file local CodeRabbit review:0 findings on0400. Two earlier quota rejections occurred before examination; the9-minute and27-second cooldowns were honored. No paid capacity enabled or accepted review cancelled.
Exact-head hosted evidence before ready:7/7 currently reported required checks PASS, complete Node regressions PASS (all3shards, run39972510743), platform10/10 PASS (run39972510745). Fresh ready-event checks and an actual viable Dottore verdict remain merge gates.
pnpm checkpasses locallyContainer built and ran without issue
Manually verify registered style selection, ruleset changes and long labels in browser
Manually verify dark/light and mobile layouts
Read and followed
CONTRIBUTING.mdManual verification notes
Both implementing and independent UI agents visually inspected all seven captures. The original shows Tactical alone; final custom controls wrap and fit with visible navigation. WebKit's existing translucent modal backdrop is outside this fix. This is controlled browser emulation, not physical-device proof. Local Docker build/run is unavailable because the OrbStack daemon socket is absent; hosted container checks remain merge gates. Pending/skipped hosted checks are not reported as passed.
Docs and release impact
This restores the existing documented combat-style/registry contract. No docs, release metadata, capability API, storage format or changelog changes.
UI evidence (if applicable)
Before/after desktop and dark/light mobile gallery, raw PNG hashes and logs. Download
gallery.htmlto inspect the seven embedded original PNG captures. Failure traces and videos are preserved locally.🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.