[PR #342] [MERGED] fix: scale Noodle refresh post targets #924

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

📋 Pull Request Information

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

Base: staging ← Head: agent/noodle-refresh-quota


📝 Commits (6)

  • 2396c7e Merge pull request #326 from Pasta-Devs/staging
  • 59b986a fix: scale Noodle refresh post targets
  • 979f39e fix: bound NoodleR feed loading
  • 3fe200f Revert "fix: bound NoodleR feed loading"
  • e405e40 fix: bound NoodleR idle loading
  • d334117 Merge remote-tracking branch 'origin/main' into agent/noodle-refresh-quota

📊 Changes

19 files changed (+556 additions, -262 deletions)

View changed files

➕ artifacts/noodle-1.0.10.zip (+0 -0)
📝 catalog/catalog.json (+9 -9)
📝 catalog/v2/catalog.json (+9 -9)
📝 catalog/v3/catalog.json (+9 -9)
📝 packages/noodle/README.md (+4 -0)
📝 packages/noodle/client.js (+22 -22)
📝 packages/noodle/manifest.json (+5 -5)
📝 packages/noodle/server.mjs (+184 -184)
📝 packages/noodle/src/engine/packages/client/src/components/noodle/NoodlerHome.tsx (+64 -7)
📝 packages/noodle/src/engine/packages/client/src/hooks/use-noodle.ts (+15 -10)
📝 packages/noodle/src/engine/packages/server/src/routes/noodle.routes.ts (+28 -0)
➕ packages/noodle/src/engine/packages/server/src/services/noodle/noodle-post-target.ts (+41 -0)
📝 packages/noodle/src/engine/packages/server/src/services/noodle/noodle-public-generation.service.ts (+2 -5)
📝 packages/noodle/src/engine/packages/server/src/services/noodle/noodle-public-prompt.service.ts (+5 -1)
📝 packages/noodle/src/engine/packages/server/src/services/storage/noodle.storage.ts (+11 -0)
📝 scripts/build-feature-packages.mjs (+1 -1)
📝 tests/noodle-generation-policy.regression.ts (+39 -0)
➕ tests/noodler-feed-loading.regression.ts (+60 -0)
📝 tests/package-noodle.e2e.ts (+48 -0)

📄 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 #341
Closes #343

Why this change

  • Noodle currently tells the model to generate only 1–3 posts during a timeline refresh even when many authors are selected and the configured refresh limit is much higher. This makes large community timelines appear unnaturally quiet.
  • NoodleR eagerly mounts the complete merged creator feed. Each managed image performs an authenticated media request, so a sufficiently large history can consume Engine's shared request bucket and temporarily make unrelated Engine APIs return HTTP 429.

What changed

  • Scale the normal Noodle prompt target to selected non-persona author capacity while preserving natural variation and the configured hard ceiling.
  • Render a bounded first page of NoodleR feed cards and expose older posts through deliberate bounded loading, without deleting or capping stored history.
  • Rebuild and version the independently updateable Noodle package so existing Marinara Engine v2.4.2 users receive both corrections.

Package and security impact

  • Affected package IDs: noodle
  • Engine compatibility impact: no Engine version change; remains compatible with Marinara Engine v2.4.2
  • New or changed permissions/entrypoints: none
  • Restart, storage, update, or uninstall impact: package update only; stored Noodle/NoodleR history and settings remain intact

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

  • Manually verify refresh targets for large, small, capped, and zero-author participant sets.
  • Manually verify the NoodleR feed initially mounts only the bounded page, can load older posts incrementally, and does not refetch all historical media while idle.
  • Manually verify Noodle 1.0.9 is offered and updates to Noodle 1.0.10 through Marinara Engine v2.4.2.

Documentation impact

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

UI evidence (if applicable)

  • Add browser evidence for the bounded NoodleR feed and incremental older-post loading before review.

Summary by CodeRabbit

  • New Features

    • Added paginated loading across feeds, profiles, media, subscribers, sources, and creator suggestions.
    • Added “Load more” controls with improved search and filter behavior.
    • Added dedicated unseen-content counts and more responsive badge updates.
    • Improved feed refreshes to adapt post generation to selected accounts while respecting configured limits.
  • Bug Fixes

    • Improved loading, retry, refresh, and cache updates after interactions.
    • Enhanced handling of locked, managed, and readable posts.
  • Documentation

    • Documented feed refresh and pagination behavior.
  • Chores

    • Updated the Noodle package to version 1.0.10.

🔄 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/342 **Author:** [@SpicyMarinara](https://github.com/SpicyMarinara) **Created:** 8/14/2026 **Status:** ✅ Merged **Merged:** 8/14/2026 **Merged by:** [@SpicyMarinara](https://github.com/SpicyMarinara) **Base:** `staging` ← **Head:** `agent/noodle-refresh-quota` --- ### 📝 Commits (6) - [`2396c7e`](https://github.com/Pasta-Devs/Marinara-Agents/commit/2396c7e84009d4c0fd341ee415636a515051a547) Merge pull request #326 from Pasta-Devs/staging - [`59b986a`](https://github.com/Pasta-Devs/Marinara-Agents/commit/59b986ac998f1ad56de4a9f5e41c22367924c979) fix: scale Noodle refresh post targets - [`979f39e`](https://github.com/Pasta-Devs/Marinara-Agents/commit/979f39e683efcfa29363af42e4786185df327706) fix: bound NoodleR feed loading - [`3fe200f`](https://github.com/Pasta-Devs/Marinara-Agents/commit/3fe200f261f691b6ce8f6a10f4aa2048883d6a0d) Revert "fix: bound NoodleR feed loading" - [`e405e40`](https://github.com/Pasta-Devs/Marinara-Agents/commit/e405e4001c927b70e6c88576df8dbd6978b54ab7) fix: bound NoodleR idle loading - [`d334117`](https://github.com/Pasta-Devs/Marinara-Agents/commit/d3341173e89d0e9edc4960d735a6f4d75d23205e) Merge remote-tracking branch 'origin/main' into agent/noodle-refresh-quota ### 📊 Changes **19 files changed** (+556 additions, -262 deletions) <details> <summary>View changed files</summary> ➕ `artifacts/noodle-1.0.10.zip` (+0 -0) 📝 `catalog/catalog.json` (+9 -9) 📝 `catalog/v2/catalog.json` (+9 -9) 📝 `catalog/v3/catalog.json` (+9 -9) 📝 `packages/noodle/README.md` (+4 -0) 📝 `packages/noodle/client.js` (+22 -22) 📝 `packages/noodle/manifest.json` (+5 -5) 📝 `packages/noodle/server.mjs` (+184 -184) 📝 `packages/noodle/src/engine/packages/client/src/components/noodle/NoodlerHome.tsx` (+64 -7) 📝 `packages/noodle/src/engine/packages/client/src/hooks/use-noodle.ts` (+15 -10) 📝 `packages/noodle/src/engine/packages/server/src/routes/noodle.routes.ts` (+28 -0) ➕ `packages/noodle/src/engine/packages/server/src/services/noodle/noodle-post-target.ts` (+41 -0) 📝 `packages/noodle/src/engine/packages/server/src/services/noodle/noodle-public-generation.service.ts` (+2 -5) 📝 `packages/noodle/src/engine/packages/server/src/services/noodle/noodle-public-prompt.service.ts` (+5 -1) 📝 `packages/noodle/src/engine/packages/server/src/services/storage/noodle.storage.ts` (+11 -0) 📝 `scripts/build-feature-packages.mjs` (+1 -1) 📝 `tests/noodle-generation-policy.regression.ts` (+39 -0) ➕ `tests/noodler-feed-loading.regression.ts` (+60 -0) 📝 `tests/package-noodle.e2e.ts` (+48 -0) </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 #341 Closes #343 ## Why this change - Noodle currently tells the model to generate only 1–3 posts during a timeline refresh even when many authors are selected and the configured refresh limit is much higher. This makes large community timelines appear unnaturally quiet. - NoodleR eagerly mounts the complete merged creator feed. Each managed image performs an authenticated media request, so a sufficiently large history can consume Engine's shared request bucket and temporarily make unrelated Engine APIs return HTTP 429. ## What changed - Scale the normal Noodle prompt target to selected non-persona author capacity while preserving natural variation and the configured hard ceiling. - Render a bounded first page of NoodleR feed cards and expose older posts through deliberate bounded loading, without deleting or capping stored history. - Rebuild and version the independently updateable Noodle package so existing Marinara Engine v2.4.2 users receive both corrections. ## Package and security impact - Affected package IDs: `noodle` - Engine compatibility impact: no Engine version change; remains compatible with Marinara Engine v2.4.2 - New or changed permissions/entrypoints: none - Restart, storage, update, or uninstall impact: package update only; stored Noodle/NoodleR history and settings remain intact ## 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 - Manually verify refresh targets for large, small, capped, and zero-author participant sets. - Manually verify the NoodleR feed initially mounts only the bounded page, can load older posts incrementally, and does not refetch all historical media while idle. - Manually verify Noodle 1.0.9 is offered and updates to Noodle 1.0.10 through Marinara Engine v2.4.2. ## Documentation impact - [ ] No documentation changes needed - [ ] Updated this README catalog and package guidance - [ ] Updated linked Marinara Engine documentation ## UI evidence (if applicable) - Add browser evidence for the bounded NoodleR feed and incremental older-post loading before review. <!-- This is an auto-generated comment: release notes by coderabbit.ai --> ## Summary by CodeRabbit - **New Features** - Added paginated loading across feeds, profiles, media, subscribers, sources, and creator suggestions. - Added “Load more” controls with improved search and filter behavior. - Added dedicated unseen-content counts and more responsive badge updates. - Improved feed refreshes to adapt post generation to selected accounts while respecting configured limits. - **Bug Fixes** - Improved loading, retry, refresh, and cache updates after interactions. - Enhanced handling of locked, managed, and readable posts. - **Documentation** - Documented feed refresh and pagination behavior. - **Chores** - Updated the Noodle package to version 1.0.10. <!-- 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:32:21 +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#924
No description provided.