[PR #1079] [MERGED] fix(slurp2): preserve Moments and deliver follow-ups #1286

Closed
opened 2026-10-21 05:07:40 +07:00 by bsakaguchi · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/Pasta-Devs/Marinara-Agents/pull/1079
Author: @Gunterlie
Created: 9/25/2026
Status: ✅ Merged
Merged: 9/25/2026
Merged by: @Gunterlie

Base: staging ← Head: stuck-in-a-moment


📝 Commits (5)

  • aa566f0 fix(slurp2): preserve moments and deliver follow-ups
  • 02380ba Merge branch 'staging' into stuck-in-a-moment
  • 528461b fix(slurp2): satisfy package check formatting
  • d80652c fix(slurp2): resolve retained moments review comments
  • e302ae7 Merge branch 'staging' into stuck-in-a-moment

📊 Changes

21 files changed (+537 additions, -461 deletions)

View changed files

➕ artifacts/slurp2-0.2.39.zip (+0 -0)
➕ artifacts/slurp2-0.2.40.zip (+0 -0)
📝 catalog/catalog.json (+8 -8)
📝 catalog/notes.json (+12 -12)
📝 catalog/v2/catalog.json (+8 -8)
📝 catalog/v2/notes.json (+12 -12)
📝 catalog/v3/catalog.json (+8 -8)
📝 catalog/v3/notes.json (+12 -12)
📝 packages/slurp2/CHANGELOG.md (+9 -0)
📝 packages/slurp2/client.js (+51 -51)
📝 packages/slurp2/manifest.json (+5 -5)
📝 packages/slurp2/server.mjs (+290 -337)
📝 packages/slurp2/src/engine/packages/client/src/slp/features/onboarding/slp-release.ts (+22 -1)
📝 packages/slurp2/src/engine/packages/server/src/slp/data/feed/slp-feed-post-storage-1.ts (+46 -0)
📝 packages/slurp2/src/engine/packages/server/src/slp/features/feed/slp-feed-viewer-routes.ts (+14 -2)
📝 packages/slurp2/src/engine/packages/server/src/slp/features/messages/slp-follow-up-scheduler-service.ts (+1 -1)
📝 packages/slurp2/src/engine/packages/server/src/slp/modules/records/slp-storage-model.ts (+7 -0)
📝 scripts/build-feature-packages.mjs (+1 -1)
📝 tests/slurp-follow-up-pipeline.regression.ts (+7 -2)
➕ tests/slurp2-moments-retention.regression.ts (+19 -0)

...and 1 more files

📄 Description

Pull request

Important

Contributions target staging. Only SpicyMarinara may promote this repository's staging branch to main.
Outside and first-time contributors also require an approving review from SpicyMarinara.

Linked issue

Closes #1078

Why this change

  • Slurp2 Moments can disappear before the configured Story lifetime because the viewer feed page is shared with normal posts.
  • Creator follow-ups can postpone forever when availability reports no known return time.

What changed

  • Added a retention-window Story read to the Slurp2 viewer feed and merge it with the normal feed page without duplicate posts.
  • Allow a due follow-up to proceed when the Creator has no known return time. Known return times still postpone the follow-up.
  • Added regression coverage for both fixes.
  • Rebuilt Slurp2 as 0.2.39, including the manifest, client/server payloads, artifact ZIP, and catalog entries.

Package and security impact

  • Affected package IDs: slurp2
  • Engine compatibility impact: No compatibility range change.
  • New or changed permissions/entrypoints: None.
  • Restart, storage, update, or uninstall impact: Package update only. No storage migration.

Validation

  • node scripts/validate-catalog.mjs passes locally
  • git diff --check passes locally
  • Rebuilt every affected manifest, payload, artifact, and catalog entry
  • Installed or updated the affected package through Marinara Engine
  • Checked supported modes, restart behavior, and uninstall cleanup
  • Read and followed CONTRIBUTING.md

Manual verification notes

  • Automated validation passed: Slurp2 typecheck, architecture regression, focused Moments retention regression, follow-up pipeline regression, messaging bughunt regression, autopurge regression, catalog lane checks, locale checks, catalog validation, release-note validation, and git diff --check.
  • npm run check was not runnable because the workspace does not have the prettier executable installed.
  • Engine install/update, supported-mode, restart, and uninstall checks were not run.

Documentation impact

  • No documentation changes needed
  • Updated this README catalog and package guidance
  • Updated linked Marinara Engine documentation

UI evidence (if applicable)

Not applicable. This change affects feed data loading and server follow-up scheduling.

Proof

  • Core claim: active Moments are loaded by the configured retention window instead of only the normal feed page, and follow-ups with minutesUntilOnline: null do not livelock.
  • Positive cases: recent Stories are returned with the viewer feed; known offline delays still postpone follow-ups; release and catalog outputs validate.
  • Negative cases: duplicate Stories are not returned twice; follow-ups with no known return time are not postponed by the offline branch.

Summary by CodeRabbit

  • New Features
    • The feed’s first page now includes eligible retained Moments alongside chronological posts, respecting creator and text searches as well as the configured retention period. Pagination totals and next-page behavior remain unchanged.
  • Bug Fixes
    • Follow-ups no longer postpone indefinitely when a Creator is offline but has no known return time.
  • Release
    • Updated Slurp Remastered to version 0.2.40.

🔄 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/1079 **Author:** [@Gunterlie](https://github.com/Gunterlie) **Created:** 9/25/2026 **Status:** ✅ Merged **Merged:** 9/25/2026 **Merged by:** [@Gunterlie](https://github.com/Gunterlie) **Base:** `staging` ← **Head:** `stuck-in-a-moment` --- ### 📝 Commits (5) - [`aa566f0`](https://github.com/Pasta-Devs/Marinara-Agents/commit/aa566f061db7512cbdc9a68baa121ad3a59bd074) fix(slurp2): preserve moments and deliver follow-ups - [`02380ba`](https://github.com/Pasta-Devs/Marinara-Agents/commit/02380ba109b91d27686cbd1b6367627378d4be4a) Merge branch 'staging' into stuck-in-a-moment - [`528461b`](https://github.com/Pasta-Devs/Marinara-Agents/commit/528461b1cc1f89c629b413c0b839bb924af3dafa) fix(slurp2): satisfy package check formatting - [`d80652c`](https://github.com/Pasta-Devs/Marinara-Agents/commit/d80652c238688ac83ea4b1b19a19cf4653f5bdfe) fix(slurp2): resolve retained moments review comments - [`e302ae7`](https://github.com/Pasta-Devs/Marinara-Agents/commit/e302ae7b52f20fb473353b4aa5411f5ed61ad094) Merge branch 'staging' into stuck-in-a-moment ### 📊 Changes **21 files changed** (+537 additions, -461 deletions) <details> <summary>View changed files</summary> ➕ `artifacts/slurp2-0.2.39.zip` (+0 -0) ➕ `artifacts/slurp2-0.2.40.zip` (+0 -0) 📝 `catalog/catalog.json` (+8 -8) 📝 `catalog/notes.json` (+12 -12) 📝 `catalog/v2/catalog.json` (+8 -8) 📝 `catalog/v2/notes.json` (+12 -12) 📝 `catalog/v3/catalog.json` (+8 -8) 📝 `catalog/v3/notes.json` (+12 -12) 📝 `packages/slurp2/CHANGELOG.md` (+9 -0) 📝 `packages/slurp2/client.js` (+51 -51) 📝 `packages/slurp2/manifest.json` (+5 -5) 📝 `packages/slurp2/server.mjs` (+290 -337) 📝 `packages/slurp2/src/engine/packages/client/src/slp/features/onboarding/slp-release.ts` (+22 -1) 📝 `packages/slurp2/src/engine/packages/server/src/slp/data/feed/slp-feed-post-storage-1.ts` (+46 -0) 📝 `packages/slurp2/src/engine/packages/server/src/slp/features/feed/slp-feed-viewer-routes.ts` (+14 -2) 📝 `packages/slurp2/src/engine/packages/server/src/slp/features/messages/slp-follow-up-scheduler-service.ts` (+1 -1) 📝 `packages/slurp2/src/engine/packages/server/src/slp/modules/records/slp-storage-model.ts` (+7 -0) 📝 `scripts/build-feature-packages.mjs` (+1 -1) 📝 `tests/slurp-follow-up-pipeline.regression.ts` (+7 -2) ➕ `tests/slurp2-moments-retention.regression.ts` (+19 -0) _...and 1 more files_ </details> ### 📄 Description # Pull request > [!IMPORTANT] > Contributions target `staging`. Only `SpicyMarinara` may promote this repository's `staging` branch to `main`. > Outside and first-time contributors also require an approving review from `SpicyMarinara`. ## Linked issue Closes #1078 ## Why this change - Slurp2 Moments can disappear before the configured Story lifetime because the viewer feed page is shared with normal posts. - Creator follow-ups can postpone forever when availability reports no known return time. ## What changed - Added a retention-window Story read to the Slurp2 viewer feed and merge it with the normal feed page without duplicate posts. - Allow a due follow-up to proceed when the Creator has no known return time. Known return times still postpone the follow-up. - Added regression coverage for both fixes. - Rebuilt Slurp2 as `0.2.39`, including the manifest, client/server payloads, artifact ZIP, and catalog entries. ## Package and security impact - Affected package IDs: `slurp2` - Engine compatibility impact: No compatibility range change. - New or changed permissions/entrypoints: None. - Restart, storage, update, or uninstall impact: Package update only. No storage migration. ## Validation - [ ] `node scripts/validate-catalog.mjs` passes locally - [ ] `git diff --check` passes locally - [ ] Rebuilt every affected manifest, payload, artifact, and catalog entry - [ ] Installed or updated the affected package through Marinara Engine - [ ] Checked supported modes, restart behavior, and uninstall cleanup - [ ] Read and followed `CONTRIBUTING.md` ### Manual verification notes - Automated validation passed: Slurp2 typecheck, architecture regression, focused Moments retention regression, follow-up pipeline regression, messaging bughunt regression, autopurge regression, catalog lane checks, locale checks, catalog validation, release-note validation, and `git diff --check`. - `npm run check` was not runnable because the workspace does not have the `prettier` executable installed. - Engine install/update, supported-mode, restart, and uninstall checks were not run. ## Documentation impact - [ ] No documentation changes needed - [ ] Updated this README catalog and package guidance - [ ] Updated linked Marinara Engine documentation ## UI evidence (if applicable) Not applicable. This change affects feed data loading and server follow-up scheduling. ## Proof - Core claim: active Moments are loaded by the configured retention window instead of only the normal feed page, and follow-ups with `minutesUntilOnline: null` do not livelock. - Positive cases: recent Stories are returned with the viewer feed; known offline delays still postpone follow-ups; release and catalog outputs validate. - Negative cases: duplicate Stories are not returned twice; follow-ups with no known return time are not postponed by the offline branch. <!-- This is an auto-generated comment: release notes by coderabbit.ai --> ## Summary by CodeRabbit * **New Features** * The feed’s first page now includes eligible retained Moments alongside chronological posts, respecting creator and text searches as well as the configured retention period. Pagination totals and next-page behavior remain unchanged. * **Bug Fixes** * Follow-ups no longer postpone indefinitely when a Creator is offline but has no known return time. * **Release** * Updated Slurp Remastered to version 0.2.40. <!-- 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-21 05:07:40 +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#1286
No description provided.