mirror of
https://github.com/Pasta-Devs/Marinara-Agents.git
synced 2026-12-03 18:55:07 +07:00
[PR #302] [MERGED] feat(noodle): delete uninvited profiles, optionally with linked NoodleR profiles #902
Labels
No labels
agent: chess
agent: conversation-calls
agent: eightball
agent: haptic
agent: hierarchical-maps
agent: hierarchical-maps
agent: illustrator
agent: poker
agent: rock-paper-scissors
agent: tic-tac-toe
agent: uno
artifacts
bug
bugfix
build
catalog
ci
client
dependencies
docs
documentation
enhancement
feature
fixed-in-staging
in-pr
normal-scope
packages
pull-request
qol
regression
roadmap
scope-risk
server
soup
upstream
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
Pasta-Devs/Marinara-Agents#902
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-Agents/pull/302
Author: @Gunterlie
Created: 8/10/2026
Status: ✅ Merged
Merged: 8/10/2026
Merged by: @Gunterlie
Base:
staging← Head:fix/4848-noodler-account-cleanup📝 Commits (4)
229f920feat(noodle): delete uninvited profilesca921b9feat(noodle): optionally delete linked NoodleR profiles88a0b92Merge branch 'staging' into fix/4848-noodler-account-cleanup69dd30bfix(noodle): keep folder-selected characters out of the uninvited sweep📊 Changes
12 files changed (+345 additions, -212 deletions)
View changed files
➕
artifacts/noodle-1.0.3.zip(+0 -0)📝
catalog/catalog.json(+9 -9)📝
catalog/v2/catalog.json(+9 -9)📝
catalog/v3/catalog.json(+9 -9)📝
packages/noodle/client.js(+18 -18)📝
packages/noodle/manifest.json(+5 -5)📝
packages/noodle/server.mjs(+157 -157)📝
packages/noodle/src/engine/packages/client/src/components/noodle/NoodleHome.tsx(+68 -4)📝
packages/noodle/src/engine/packages/client/src/hooks/use-noodle.ts(+14 -0)📝
packages/noodle/src/engine/packages/client/src/localization/locales/en.json(+7 -0)📝
packages/noodle/src/engine/packages/server/src/routes/noodle.routes.ts(+48 -0)📝
scripts/build-feature-packages.mjs(+1 -1)📄 Description
Linked issue
Fixes #4848 (source issue: https://github.com/Pasta-Devs/Marinara-Engine/issues/4848)
Why this change
Uninvited public Noodle profiles stayed stored after they were uninvited, with no supported cleanup path for them or their activity. The first pass added that sweep but skipped every profile a NoodleR creator profile linked to, so cleaning those up still meant deleting each NoodleR profile by hand.
What changed
settings.invitedCharacterGroupIds), which are eligible participants even though their account readsinvited=false.DELETE /accounts/uninvitedaccepts an opt-in?includeNoodler=true. Linked NoodleR profiles are deleted through the same per-account operation lock and media cleanup the single-delete route uses, and only then does their Noodle account become a sweep target. Gated onsettings.enableNoodler.1.0.3.Not included: unlinking a NoodleR account without deleting it. An unlinked profile has no source character, has auto-posting force-disabled, and fails the owner checks in
noodle.routes.ts. Deleting the profile already covers the cleanup that was asked for.Package and security impact
noodle1.0.3; both actions permanently remove selected local Noodle data. The NoodleR sweep additionally removes that profile's posts and media, so it is opt-in and off by default.Validation
node scripts/validate-catalog.mjspasses locallynode scripts/test-catalog-lanes.mjsandnode scripts/validate-package-locales.mjspass locallygit diff --checkpasses locallyCONTRIBUTING.mdManual verification notes
Typecheck: the four changed files were overlaid onto an Engine 2.4.2 checkout and
tsc --noEmitrun for bothclientandserver. No errors on any changed line; the errors that do appear are pre-existing package-vs-Engine divergence (noodle-package.store,NoodleDateTime).npm run test:browser:noodledid not run locally (the Engine dev server never became ready here), but the Noodle package browser check passes in CI on this head. Mobile wrapping of the new dialog checkbox and real destructive-data verification still want a human pass.Build provenance
Rebuilt with
node scripts/build-feature-packages.mjs noodleagainst Enginestagingatc87be14da(2.4.2). The regeneratedserver.mjscarries both staging's image style interpretation (#301) and this branch's sweep;client.jscarries the new confirm-dialog checkbox.Merge conflicts with
stagingwere confined to the six generated payloads (catalog/*.json,packages/noodle/client.js,server.mjs,manifest.json). No source file conflicted. PerCONTRIBUTING.mdthese were not hand-edited: the catalog lanes took staging's entries for the other 31 packages and the builder regenerated the noodle entry, payloads, and artifact.One caveat for reviewers: because
noodleusesownedSourcePaths, Engine-side client modules resolve live from the neighboring Engine checkout and are never captured, soclient.jsis not reproducible across different Engine staging commits. Rebuilding staging's own noodle 1.0.2 here landed 326 bytes off its committed bundle from that drift alone.Documentation impact
UI evidence (if applicable)
No screenshot was captured in this environment.
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.