mirror of
https://github.com/Pasta-Devs/Marinara-Engine.git
synced 2026-12-03 19:00:50 +07:00
[PR #7435] [MERGED] fix(lorebooks): clean up library folder references on deletion #7732
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#7732
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/7435
Author: @minikkeuen
Created: 10/11/2026
Status: ✅ Merged
Merged: 10/12/2026
Merged by: @SpicyMarinara
Base:
staging← Head:fix/lorebook-folder-references📝 Commits (3)
588aa0ffix(lorebooks): clean up library folder references on deletiona6990a8Merge remote-tracking branch 'origin/staging' into fix/lorebook-folder-references614c88efix(lorebooks): keep delete-hook order and make folder cleanup non-fatal📊 Changes
6 files changed (+170 additions, -5 deletions)
View changed files
📝
packages/client/src/components/panels/LorebooksPanel.tsx(+7 -4)📝
packages/client/src/hooks/use-lorebooks.ts(+3 -0)📝
packages/server/src/app.ts(+9 -0)📝
packages/server/src/services/storage/library-folders.storage.ts(+51 -1)📝
packages/server/src/services/storage/lorebooks.storage.ts(+2 -0)➕
scripts/regressions/lorebook-library-folder-references.regression.ts(+98 -0)📄 Description
Linked issue
Closes #7431
Why this change
What changed
Update the changelog.The changelog entry was dropped whenstagingwas merged in: PRs no longer addCHANGELOG.mdentries.useDeleteLorebook(theopen-issuesregression checks that block's order), and the startup cleanup logs a warning instead of stopping the server if it fails.Validation
pnpm checkpasses locallyCONTRIBUTING.mdManual verification notes
node scripts/run-regressions.mjs --filter lorebook-library-folder-references— passed (1/1).Docs and release impact
docs-i18nbranch updated to match, or a[docs-i18n]follow-up issue opened (see CONTRIBUTING.md § Translated documentation)UI evidence (if applicable)
No screenshots attached.
Summary by CodeRabbit
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.