mirror of
https://github.com/Pasta-Devs/Marinara-Engine.git
synced 2026-12-03 19:00:50 +07:00
[PR #6847] [MERGED] fix(mari): retire old reviews of Mari's own card on load #7352
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#7352
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/6847
Author: @kolacheee
Created: 9/29/2026
Status: ✅ Merged
Merged: 9/29/2026
Merged by: @kolacheee
Base:
staging← Head:fix/mari-legacy-card-reviews📝 Commits (1)
68e5169fix(mari): retire old reviews of Mari's own card on load📊 Changes
3 files changed (+66 additions, -3 deletions)
View changed files
📝
CHANGELOG.md(+2 -0)📝
packages/server/src/services/mari-db/mari-db.service.ts(+29 -2)📝
scripts/regressions/mari/review-cards.regression.ts(+35 -1)📄 Description
Linked issue
Closes #6842
Why this change
#6844 scoped new review cards to their chat and stopped Mari editing her own built-in card. The reporter's cards were saved before that, so they name no chat and still show in every Mari chat. Every one of them is an edit to Professor Mari's own card, which startup rewrites, so none can ever be restored. Keep was their only way out.
Their retest ran build
a10ee75c5, one commit before #6844 merged asf74c5f138, so it did not include that fix.What changed
MariDbService.ensurePendingHydratednow retires every pending review whose changes all target the__professor_mari__character row. This happens once, when saved reviews are loaded at startup.scripts/regressions/mari/review-cards.regression.ts: builds an old-style review of Mari's card on disk, then starts a fresh service. The review and its file are gone, while an ordinary review stays.CHANGELOG.md: one entry.Validation
pnpm checkpasses locallyCONTRIBUTING.mdThe boxes are left for a human to tick. What the agent ran:
pnpm check: exit 0.node scripts/run-regressions.mjs: 445/445 passed.coderabbit review --committed --base-commit <merge-base>): 3 files reviewed, no findings.Manual verification notes
Docs and release impact
docs-i18nbranch updated to match, or a[docs-i18n]follow-up issue opened (see CONTRIBUTING.md § Translated documentation)CHANGELOG.mdonly. The guide already says Mari cannot edit her own card.UI evidence (if applicable)
Not applicable: the change removes stale cards on load.
Summary by CodeRabbit
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.