[PR #5050] [MERGED] Support Slurp-owned file storage tables #6604

Closed
opened 2026-10-23 04:11:59 +07:00 by bsakaguchi · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/Pasta-Devs/Marinara-Engine/pull/5050
Author: @SpicyMarinara
Created: 8/15/2026
Status: ✅ Merged
Merged: 8/15/2026
Merged by: @SpicyMarinara

Base: staging ← Head: fix/5049-slurp-storage


📝 Commits (3)

  • 4558c0a feat: support Slurp-owned storage tables
  • 95bd021 fix: cascade Slurp interaction cleanup
  • 70c3fee Merge remote-tracking branch 'origin/staging' into fix/5049-slurp-storage

📊 Changes

6 files changed (+423 additions, -1 deletions)

View changed files

📝 CHANGELOG.md (+1 -0)
📝 package.json (+1 -1)
📝 packages/server/src/db/file-backed-store.ts (+60 -0)
📝 packages/server/src/db/schema/index.ts (+1 -0)
➕ packages/server/src/db/schema/slurp.ts (+174 -0)
➕ scripts/regressions/slurp-storage.regression.ts (+186 -0)

📄 Description

Why

The standalone Slurp package from Pasta-Devs/Marinara-Agents#348 deliberately starts with slurp_* storage so legacy NoodleR rows remain untouched. Engine currently rejects those package-owned table objects because the file-backed store only resolves table names registered in its own schema catalog, leaving Slurp active but its API unusable.

Closes #5049
Related: Pasta-Devs/Marinara-Agents#348

What changed

  • register all twelve Slurp table shapes in Engine's file-native schema catalog
  • apply the corresponding cascade and durability rules
  • add a regression that uses separate package-style table instances, persists them, reopens storage, and verifies cascade deletion
  • document the host-integration fix in the Unreleased changelog

Test plan

  • Run pnpm check
  • Run pnpm regression:noodle
  • Run pnpm regression:launcher-update
  • Manually verify the standalone Slurp package browser flow against this branch

Proof so far

  • pnpm --filter @marinara-engine/server exec tsx ../../scripts/regressions/slurp-storage.regression.ts
  • pnpm regression:launcher-update
  • git diff --check

Summary by CodeRabbit

  • New Features

    • Added durable file-backed storage for Slurp account, post, subscription, interaction, publishing, and activity data.
    • Added persistence across restarts and cascading cleanup when accounts are deleted.
  • Bug Fixes

    • Improved reliability of standalone Creator feed data storage and recovery.
  • Tests

    • Added regression coverage for saving, reloading, and cascading deletion of stored data.

🔄 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-Engine/pull/5050 **Author:** [@SpicyMarinara](https://github.com/SpicyMarinara) **Created:** 8/15/2026 **Status:** ✅ Merged **Merged:** 8/15/2026 **Merged by:** [@SpicyMarinara](https://github.com/SpicyMarinara) **Base:** `staging` ← **Head:** `fix/5049-slurp-storage` --- ### 📝 Commits (3) - [`4558c0a`](https://github.com/Pasta-Devs/Marinara-Engine/commit/4558c0ad789de5669ccbf485366702f2e70b63ff) feat: support Slurp-owned storage tables - [`95bd021`](https://github.com/Pasta-Devs/Marinara-Engine/commit/95bd0212704548c8281a39d27ca57e1843021d73) fix: cascade Slurp interaction cleanup - [`70c3fee`](https://github.com/Pasta-Devs/Marinara-Engine/commit/70c3feeace0ec18888310b5878c29587cf075470) Merge remote-tracking branch 'origin/staging' into fix/5049-slurp-storage ### 📊 Changes **6 files changed** (+423 additions, -1 deletions) <details> <summary>View changed files</summary> 📝 `CHANGELOG.md` (+1 -0) 📝 `package.json` (+1 -1) 📝 `packages/server/src/db/file-backed-store.ts` (+60 -0) 📝 `packages/server/src/db/schema/index.ts` (+1 -0) ➕ `packages/server/src/db/schema/slurp.ts` (+174 -0) ➕ `scripts/regressions/slurp-storage.regression.ts` (+186 -0) </details> ### 📄 Description ## Why The standalone Slurp package from Pasta-Devs/Marinara-Agents#348 deliberately starts with `slurp_*` storage so legacy NoodleR rows remain untouched. Engine currently rejects those package-owned table objects because the file-backed store only resolves table names registered in its own schema catalog, leaving Slurp active but its API unusable. Closes #5049 Related: Pasta-Devs/Marinara-Agents#348 ## What changed - register all twelve Slurp table shapes in Engine's file-native schema catalog - apply the corresponding cascade and durability rules - add a regression that uses separate package-style table instances, persists them, reopens storage, and verifies cascade deletion - document the host-integration fix in the Unreleased changelog ## Test plan - [ ] Run `pnpm check` - [ ] Run `pnpm regression:noodle` - [ ] Run `pnpm regression:launcher-update` - [ ] Manually verify the standalone Slurp package browser flow against this branch ## Proof so far - `pnpm --filter @marinara-engine/server exec tsx ../../scripts/regressions/slurp-storage.regression.ts` - `pnpm regression:launcher-update` - `git diff --check` <!-- This is an auto-generated comment: release notes by coderabbit.ai --> ## Summary by CodeRabbit * **New Features** * Added durable file-backed storage for Slurp account, post, subscription, interaction, publishing, and activity data. * Added persistence across restarts and cascading cleanup when accounts are deleted. * **Bug Fixes** * Improved reliability of standalone Creator feed data storage and recovery. * **Tests** * Added regression coverage for saving, reloading, and cascading deletion of stored data. <!-- 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-23 04:11:59 +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-Engine#6604
No description provided.