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#6325
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/4298
Author: @Gunterlie
Created: 7/30/2026
Status: ✅ Merged
Merged: 7/30/2026
Merged by: @Gunterlie
Base:
staging← Head:fix/character-delete-noodle-cascade-4295📝 Commits (3)
e5dc7a2fix: cascade Noodle account cleanup when a character is deletedb31ced2fix: also delete a removed character's interactions on other posts4ea00eefix: delete descendant replies of a removed character's interactions📊 Changes
2 files changed (+68 additions, -0 deletions)
View changed files
📝
packages/server/src/routes/characters.routes.ts(+8 -0)📝
packages/server/src/services/storage/noodle.storage.ts(+60 -0)📄 Description
Closes #4295
Why
Deleting a character removed its row from
characters.jsonbut left itsnoodle_accountsrow (and posts/interactions/subscriptions) behind, so deleted characters kept posting as ghosts in the Noodle timeline. Cleanup previously required a blunt full Noodle reset.What
noodle.storage.ts: newdeleteAccountByEntity(kind, entityId)— deletes the account row (dependent posts/interactions/subscriptions/unlocks go via the existing file-storeCASCADES) and clears activity digests, which have no cascade. MirrorsdeleteNoodlerAccount.characters.routes.ts:DELETE /api/characters/:idcalls it for("character", id). Failure is logged, not fatal — the character delete still succeeds.Only cleans up new deletions; pre-existing orphans on an instance are not swept.
Test plan
Summary by CodeRabbit
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.