[PR #575] [MERGED] fix: clean unused Noodle accounts and refresh Slurp subscriptions #1033

Closed
opened 2026-10-20 17:33:24 +07:00 by bsakaguchi · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/Pasta-Devs/Marinara-Agents/pull/575
Author: @SpicyMarinara
Created: 8/25/2026
Status: ✅ Merged
Merged: 8/25/2026
Merged by: @SpicyMarinara

Base: staging ← Head: fix/release-social-cleanup-5486-550


📝 Commits (3)

  • 43271a1 fix social cleanup and subscription refresh
  • 8725618 fix(noodle): recheck cleanup eligibility transactionally
  • e47772d test(noodle): prove cleanup aborts after reinvite

📊 Changes

23 files changed (+811 additions, -628 deletions)

View changed files

➕ artifacts/noodle-1.2.14.zip (+0 -0)
➕ artifacts/slurp-1.0.16.zip (+0 -0)
📝 catalog/catalog.json (+20 -20)
📝 catalog/v2/catalog.json (+20 -20)
📝 catalog/v3/catalog.json (+20 -20)
📝 packages/noodle/agents.json (+1 -1)
📝 packages/noodle/client.js (+7 -7)
📝 packages/noodle/locales/en.json (+1 -1)
📝 packages/noodle/manifest.json (+7 -7)
📝 packages/noodle/server.mjs (+282 -243)
📝 packages/noodle/src/engine/packages/client/src/components/noodle/NoodleHome.tsx (+34 -32)
📝 packages/noodle/src/engine/packages/client/src/localization/locales/en.json (+1 -1)
📝 packages/noodle/src/engine/packages/server/src/services/noodle/noodle-data-cleanup.ts (+38 -1)
📝 packages/noodle/src/engine/packages/server/src/services/storage/noodle.storage.ts (+42 -34)
📝 packages/slurp/agents.json (+1 -1)
📝 packages/slurp/client.js (+5 -5)
📝 packages/slurp/locales/en.json (+1 -1)
📝 packages/slurp/manifest.json (+7 -7)
📝 packages/slurp/server.mjs (+255 -216)
📝 packages/slurp/src/engine/packages/client/src/hooks/use-slurp.ts (+1 -1)

...and 3 more files

📄 Description

Linked issues

Fixes #550
Addresses Pasta-Devs/Marinara-Engine#5486

Why this change

Noodle cleanup only treated deleted character/persona links as unused, so explicitly uninvited hidden accounts and their dependent posts survived cleanup. Slurp updated the subscription shell but only invalidated the viewer query, allowing locked post projections to remain visible until navigation. The Noodle reset controls also had no spacing and rendered the destructive action as permanently filled.

What changed

  • Treat explicitly uninvited character and ambient Noodle accounts as unused while preserving active accounts and personas.
  • Keep the existing transactional dependent-data cleanup for posts, interactions, subscriptions, unlocks, digests, and refresh runs.
  • Space the Noodle cleanup controls and use the existing outlined destructive state.
  • Explicitly refetch the active Slurp viewer feed after subscribe/unsubscribe.
  • Add focused regressions and bump/rebuild Noodle 1.2.14 and Slurp 1.0.16 with generated artifacts and catalog hashes.

Validation

  • Run npm run check
  • Run npm run test:noodle:regressions
  • Run catalog lane, locale, and catalog validators
  • Run git diff --check
  • Manually verify cleanup and immediate post unlocking in Marinara Engine staging

Package impact

No new permissions, entrypoints, storage tables, or host APIs. Existing local data remains untouched unless the owner explicitly confirms cleanup.

Summary by CodeRabbit

  • New Features

    • Cleanup now includes uninvited accounts associated with characters or random users.
    • Subscription changes refresh account information immediately.
  • Improvements

    • Reset controls have a clearer, more organized layout.
    • Noodle and Slurp descriptions are more concise.
    • Account cleanup now verifies current account status before deleting data.
  • Bug Fixes

    • Improved cleanup accuracy and safety for uninvited accounts.
  • Updates

    • Noodle updated to version 1.2.14.
    • Slurp updated to version 1.0.16.

🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/Pasta-Devs/Marinara-Agents/pull/575 **Author:** [@SpicyMarinara](https://github.com/SpicyMarinara) **Created:** 8/25/2026 **Status:** ✅ Merged **Merged:** 8/25/2026 **Merged by:** [@SpicyMarinara](https://github.com/SpicyMarinara) **Base:** `staging` ← **Head:** `fix/release-social-cleanup-5486-550` --- ### 📝 Commits (3) - [`43271a1`](https://github.com/Pasta-Devs/Marinara-Agents/commit/43271a145dd2c7235d24f6b203bde43f37c5811f) fix social cleanup and subscription refresh - [`8725618`](https://github.com/Pasta-Devs/Marinara-Agents/commit/8725618f995b4ebb460ebe261f3b05a69110ef0f) fix(noodle): recheck cleanup eligibility transactionally - [`e47772d`](https://github.com/Pasta-Devs/Marinara-Agents/commit/e47772df0da5daaacb7bcf38cbaa55e3bf01bdf0) test(noodle): prove cleanup aborts after reinvite ### 📊 Changes **23 files changed** (+811 additions, -628 deletions) <details> <summary>View changed files</summary> ➕ `artifacts/noodle-1.2.14.zip` (+0 -0) ➕ `artifacts/slurp-1.0.16.zip` (+0 -0) 📝 `catalog/catalog.json` (+20 -20) 📝 `catalog/v2/catalog.json` (+20 -20) 📝 `catalog/v3/catalog.json` (+20 -20) 📝 `packages/noodle/agents.json` (+1 -1) 📝 `packages/noodle/client.js` (+7 -7) 📝 `packages/noodle/locales/en.json` (+1 -1) 📝 `packages/noodle/manifest.json` (+7 -7) 📝 `packages/noodle/server.mjs` (+282 -243) 📝 `packages/noodle/src/engine/packages/client/src/components/noodle/NoodleHome.tsx` (+34 -32) 📝 `packages/noodle/src/engine/packages/client/src/localization/locales/en.json` (+1 -1) 📝 `packages/noodle/src/engine/packages/server/src/services/noodle/noodle-data-cleanup.ts` (+38 -1) 📝 `packages/noodle/src/engine/packages/server/src/services/storage/noodle.storage.ts` (+42 -34) 📝 `packages/slurp/agents.json` (+1 -1) 📝 `packages/slurp/client.js` (+5 -5) 📝 `packages/slurp/locales/en.json` (+1 -1) 📝 `packages/slurp/manifest.json` (+7 -7) 📝 `packages/slurp/server.mjs` (+255 -216) 📝 `packages/slurp/src/engine/packages/client/src/hooks/use-slurp.ts` (+1 -1) _...and 3 more files_ </details> ### 📄 Description ## Linked issues Fixes #550 Addresses Pasta-Devs/Marinara-Engine#5486 ## Why this change Noodle cleanup only treated deleted character/persona links as unused, so explicitly uninvited hidden accounts and their dependent posts survived cleanup. Slurp updated the subscription shell but only invalidated the viewer query, allowing locked post projections to remain visible until navigation. The Noodle reset controls also had no spacing and rendered the destructive action as permanently filled. ## What changed - Treat explicitly uninvited character and ambient Noodle accounts as unused while preserving active accounts and personas. - Keep the existing transactional dependent-data cleanup for posts, interactions, subscriptions, unlocks, digests, and refresh runs. - Space the Noodle cleanup controls and use the existing outlined destructive state. - Explicitly refetch the active Slurp viewer feed after subscribe/unsubscribe. - Add focused regressions and bump/rebuild Noodle 1.2.14 and Slurp 1.0.16 with generated artifacts and catalog hashes. ## Validation - [ ] Run `npm run check` - [ ] Run `npm run test:noodle:regressions` - [ ] Run catalog lane, locale, and catalog validators - [ ] Run `git diff --check` - [ ] Manually verify cleanup and immediate post unlocking in Marinara Engine staging ## Package impact No new permissions, entrypoints, storage tables, or host APIs. Existing local data remains untouched unless the owner explicitly confirms cleanup. <!-- This is an auto-generated comment: release notes by coderabbit.ai --> ## Summary by CodeRabbit * **New Features** * Cleanup now includes uninvited accounts associated with characters or random users. * Subscription changes refresh account information immediately. * **Improvements** * Reset controls have a clearer, more organized layout. * Noodle and Slurp descriptions are more concise. * Account cleanup now verifies current account status before deleting data. * **Bug Fixes** * Improved cleanup accuracy and safety for uninvited accounts. * **Updates** * Noodle updated to version 1.2.14. * Slurp updated to version 1.0.16. <!-- end of auto-generated comment: release notes by coderabbit.ai --> --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
bsakaguchi 2026-10-20 17:33:24 +07:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
Pasta-Devs/Marinara-Agents#1033
No description provided.