[PR #471] [MERGED] fix(noodle): rotate all-invited refresh cohorts #988

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

📋 Pull Request Information

Original PR: https://github.com/Pasta-Devs/Marinara-Agents/pull/471
Author: @Gunterlie
Created: 8/20/2026
Status: ✅ Merged
Merged: 8/20/2026
Merged by: @Gunterlie

Base: staging ← Head: fix/noodle-all-invited-rotation


📝 Commits (2)

  • cbe57a5 fix(noodle): rotate all-invited refresh cohorts
  • eb0db97 fix(noodle): address refresh rotation review

📊 Changes

16 files changed (+397 additions, -317 deletions)

View changed files

➕ artifacts/noodle-1.2.9.zip (+0 -0)
📝 catalog/catalog.json (+8 -8)
📝 catalog/v2/catalog.json (+8 -8)
📝 catalog/v3/catalog.json (+8 -8)
📝 packages/noodle/client.js (+14 -14)
📝 packages/noodle/manifest.json (+5 -5)
📝 packages/noodle/server.mjs (+149 -149)
📝 packages/noodle/src/engine/packages/client/src/components/noodle/NoodleHome.tsx (+16 -0)
📝 packages/noodle/src/engine/packages/client/src/localization/locales/en.json (+2 -0)
📝 packages/noodle/src/engine/packages/server/src/services/noodle/noodle-generated-refresh.ts (+2 -5)
📝 packages/noodle/src/engine/packages/server/src/services/noodle/noodle-participant-selection.ts (+37 -5)
📝 packages/noodle/src/engine/packages/server/src/services/noodle/noodle-public-generation.service.ts (+11 -10)
📝 packages/noodle/src/engine/packages/server/src/services/storage/noodle.storage.ts (+10 -1)
📝 scripts/build-feature-packages.mjs (+1 -1)
➕ tests/noodle-all-invited-reliability.regression.ts (+118 -0)
📝 tests/noodle-generated-refresh.regression.ts (+8 -103)

📄 Description

Linked issue

Closes #470

Why this change

  • Large All invited refreshes sent the entire eligible roster to one local-model request, which could return an empty array and produce either a failed refresh or a misleading successful no-op.

What changed

  • Caps All invited cohorts with the existing participantMax setting and rotates least-recently-selected invited accounts using completed refresh-run history.
  • Keeps priority persona activity responsive while reserving cohort space so the remaining roster is not permanently starved.
  • Rejects empty timeline activity, retries once with an explicit correction, preserves the existing timeline after two empty responses, and exposes an actionable Try again notification.
  • Adds the Accounts per refresh control and regression coverage.
  • Rebuilds Noodle 1.2.9, its artifact, and catalog entries.

Package and security impact

  • Affected package IDs: noodle
  • Engine compatibility impact: unchanged; >=2.4.2 <4.0.0
  • New or changed permissions/entrypoints: none
  • Restart, storage, update, or uninstall impact: normal package update/restart; no schema migration or uninstall change

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

  • npm run check passed with pre-existing warnings only.
  • npm run test:noodle:regressions passed.
  • Catalog lane, locale, and catalog validation passed.
  • git diff --check passed.
  • The focused browser harness was attempted but the available Engine checkout rejected the already-published home-browser-tab/localizations manifest fields before Noodle activation; no browser result is claimed.
  • KoboldCpp/manual installation was not available in this workspace.

Documentation impact

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

No documentation changes are needed because the existing setting and refresh workflow remain in place; only All invited selection semantics and failure feedback change.

UI evidence (if applicable)

Not captured. The existing participant settings form now shows Accounts per refresh while All invited is selected.

Summary by CodeRabbit

  • New Features

    • Added an “Accounts per refresh” setting when all invited participants are selected.
    • Added localized “Try again” recovery actions for refresh failures.
    • Improved participant rotation using recent activity, priority ordering, and cohort limits.
  • Bug Fixes

    • Added safeguards for empty generated timelines and clearer retry errors.
    • Improved refresh reliability, validation, and activity-history handling.
  • Chores

    • Updated the Noodle package to version 1.2.9.

🔄 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/471 **Author:** [@Gunterlie](https://github.com/Gunterlie) **Created:** 8/20/2026 **Status:** ✅ Merged **Merged:** 8/20/2026 **Merged by:** [@Gunterlie](https://github.com/Gunterlie) **Base:** `staging` ← **Head:** `fix/noodle-all-invited-rotation` --- ### 📝 Commits (2) - [`cbe57a5`](https://github.com/Pasta-Devs/Marinara-Agents/commit/cbe57a507f8e9e9f068f0c36cd0b31a9983455f9) fix(noodle): rotate all-invited refresh cohorts - [`eb0db97`](https://github.com/Pasta-Devs/Marinara-Agents/commit/eb0db97200f234435e110bf74ccab37b9592df74) fix(noodle): address refresh rotation review ### 📊 Changes **16 files changed** (+397 additions, -317 deletions) <details> <summary>View changed files</summary> ➕ `artifacts/noodle-1.2.9.zip` (+0 -0) 📝 `catalog/catalog.json` (+8 -8) 📝 `catalog/v2/catalog.json` (+8 -8) 📝 `catalog/v3/catalog.json` (+8 -8) 📝 `packages/noodle/client.js` (+14 -14) 📝 `packages/noodle/manifest.json` (+5 -5) 📝 `packages/noodle/server.mjs` (+149 -149) 📝 `packages/noodle/src/engine/packages/client/src/components/noodle/NoodleHome.tsx` (+16 -0) 📝 `packages/noodle/src/engine/packages/client/src/localization/locales/en.json` (+2 -0) 📝 `packages/noodle/src/engine/packages/server/src/services/noodle/noodle-generated-refresh.ts` (+2 -5) 📝 `packages/noodle/src/engine/packages/server/src/services/noodle/noodle-participant-selection.ts` (+37 -5) 📝 `packages/noodle/src/engine/packages/server/src/services/noodle/noodle-public-generation.service.ts` (+11 -10) 📝 `packages/noodle/src/engine/packages/server/src/services/storage/noodle.storage.ts` (+10 -1) 📝 `scripts/build-feature-packages.mjs` (+1 -1) ➕ `tests/noodle-all-invited-reliability.regression.ts` (+118 -0) 📝 `tests/noodle-generated-refresh.regression.ts` (+8 -103) </details> ### 📄 Description ## Linked issue Closes #470 ## Why this change - Large All invited refreshes sent the entire eligible roster to one local-model request, which could return an empty array and produce either a failed refresh or a misleading successful no-op. ## What changed - Caps All invited cohorts with the existing participantMax setting and rotates least-recently-selected invited accounts using completed refresh-run history. - Keeps priority persona activity responsive while reserving cohort space so the remaining roster is not permanently starved. - Rejects empty timeline activity, retries once with an explicit correction, preserves the existing timeline after two empty responses, and exposes an actionable Try again notification. - Adds the Accounts per refresh control and regression coverage. - Rebuilds Noodle 1.2.9, its artifact, and catalog entries. ## Package and security impact - Affected package IDs: noodle - Engine compatibility impact: unchanged; >=2.4.2 <4.0.0 - New or changed permissions/entrypoints: none - Restart, storage, update, or uninstall impact: normal package update/restart; no schema migration or uninstall change ## 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 - npm run check passed with pre-existing warnings only. - npm run test:noodle:regressions passed. - Catalog lane, locale, and catalog validation passed. - git diff --check passed. - The focused browser harness was attempted but the available Engine checkout rejected the already-published home-browser-tab/localizations manifest fields before Noodle activation; no browser result is claimed. - KoboldCpp/manual installation was not available in this workspace. ## Documentation impact - [ ] No documentation changes needed - [ ] Updated this README catalog and package guidance - [ ] Updated linked Marinara Engine documentation No documentation changes are needed because the existing setting and refresh workflow remain in place; only All invited selection semantics and failure feedback change. ## UI evidence (if applicable) Not captured. The existing participant settings form now shows Accounts per refresh while All invited is selected. <!-- This is an auto-generated comment: release notes by coderabbit.ai --> ## Summary by CodeRabbit - **New Features** - Added an “Accounts per refresh” setting when all invited participants are selected. - Added localized “Try again” recovery actions for refresh failures. - Improved participant rotation using recent activity, priority ordering, and cohort limits. - **Bug Fixes** - Added safeguards for empty generated timelines and clearer retry errors. - Improved refresh reliability, validation, and activity-history handling. - **Chores** - Updated the Noodle package to version 1.2.9. <!-- 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:00 +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#988
No description provided.