[PR #317] [MERGED] fix(noodle): daily-slot budget bugs + design cleanup (1.0.9) #909

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

📋 Pull Request Information

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

Base: staging ← Head: untangle-the-spaghetti


📝 Commits (1)

  • 9ad0f51 fix(noodle): stop failed attempts burning daily slots, collapse image budget into the schedule (1.0.9)

📊 Changes

14 files changed (+188 additions, -180 deletions)

View changed files

📝 artifacts/noodle-1.0.8.zip (+0 -0)
➕ artifacts/noodle-1.0.9.zip (+0 -0)
📝 catalog/catalog.json (+9 -9)
📝 catalog/v2/catalog.json (+9 -9)
📝 catalog/v3/catalog.json (+9 -9)
📝 packages/noodle/client.js (+24 -24)
📝 packages/noodle/manifest.json (+5 -5)
📝 packages/noodle/server.mjs (+86 -86)
📝 packages/noodle/src/engine/packages/client/src/components/noodle/NoodlerHome.tsx (+21 -3)
📝 packages/noodle/src/engine/packages/client/src/components/noodle/NoodlerPublishingSettings.tsx (+2 -13)
📝 packages/noodle/src/engine/packages/client/src/localization/locales/en.json (+4 -1)
📝 packages/noodle/src/engine/packages/server/src/services/noodle/noodle-noodler-reserve.operation.ts (+7 -17)
📝 packages/noodle/src/engine/packages/server/src/services/storage/noodle.storage.ts (+11 -3)
📝 scripts/build-feature-packages.mjs (+1 -1)

📄 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 #318

Why this change

Noodler's automatic-posting budget silently locked out image posting while text kept working. Two bugs, both in the daily "slot" system:

  1. Failed text/image generation attempts (provider errors, moderation rejects, timeouts) permanently consumed a slot in the rolling 24h budget even though nothing published. Image generation fails more often than text, so a handful of image failures could exhaust the image budget for the day while text kept posting normally.
  2. The image budget was also a second, redundant limiter. The publish schedule already caps output to postsPerDay posts a day; gating images with a separate counter on top of that just created a pool that could drain on its own, and made "8 posts/day" secretly mean two independent pools of 8 — confusing for a primarily-image product.

What changed

  • noodle.storage.ts: failed attempts no longer count against the daily budget (both the claim check and the status display).
  • noodle-noodler-reserve.operation.ts: removed the separate image quota. Images now ride the post they belong to; the publish schedule is the sole limiter.
  • NoodlerPublishingSettings.tsx / en.json: settings show one "Automatic posts today" counter instead of two "provider claims" tiles, and the posting-schedule copy spells out that each post may include an image.
  • NoodlerHome.tsx: "Refresh NoodleR now" shows a completion popup naming which creators got a new post, in addition to the existing toast.
  • Bumped noodle to 1.0.9 and rebuilt the artifact/catalog entries.

Package and security impact

  • Affected package IDs: noodle
  • Engine compatibility impact: none
  • New or changed permissions/entrypoints: none
  • Restart, storage, update, or uninstall impact: standard package update (restart required, per manifest); no storage schema 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 test:noodle:regressions — all 12 suites pass
  • node scripts/test-catalog-lanes.mjs and node scripts/validate-package-locales.mjs pass
  • Deployed the built package to the dev-marinara test Engine (10.0.0.113) via direct docker-copy; verified served client.js sha256 matches the local build, /api/health returns ok, and the noodle package reports status: active, readiness: ready with no error after container restart.

Documentation impact

  • No documentation changes needed

UI evidence (if applicable)

N/A — settings-panel copy/counter change and a completion popup; verified by hand on the dev Engine, no visual diff captured.


🔄 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/317 **Author:** [@Gunterlie](https://github.com/Gunterlie) **Created:** 8/13/2026 **Status:** ✅ Merged **Merged:** 8/13/2026 **Merged by:** [@Gunterlie](https://github.com/Gunterlie) **Base:** `staging` ← **Head:** `untangle-the-spaghetti` --- ### 📝 Commits (1) - [`9ad0f51`](https://github.com/Pasta-Devs/Marinara-Agents/commit/9ad0f51c54bd5c6d73cb2108c9cdc6d57b123560) fix(noodle): stop failed attempts burning daily slots, collapse image budget into the schedule (1.0.9) ### 📊 Changes **14 files changed** (+188 additions, -180 deletions) <details> <summary>View changed files</summary> 📝 `artifacts/noodle-1.0.8.zip` (+0 -0) ➕ `artifacts/noodle-1.0.9.zip` (+0 -0) 📝 `catalog/catalog.json` (+9 -9) 📝 `catalog/v2/catalog.json` (+9 -9) 📝 `catalog/v3/catalog.json` (+9 -9) 📝 `packages/noodle/client.js` (+24 -24) 📝 `packages/noodle/manifest.json` (+5 -5) 📝 `packages/noodle/server.mjs` (+86 -86) 📝 `packages/noodle/src/engine/packages/client/src/components/noodle/NoodlerHome.tsx` (+21 -3) 📝 `packages/noodle/src/engine/packages/client/src/components/noodle/NoodlerPublishingSettings.tsx` (+2 -13) 📝 `packages/noodle/src/engine/packages/client/src/localization/locales/en.json` (+4 -1) 📝 `packages/noodle/src/engine/packages/server/src/services/noodle/noodle-noodler-reserve.operation.ts` (+7 -17) 📝 `packages/noodle/src/engine/packages/server/src/services/storage/noodle.storage.ts` (+11 -3) 📝 `scripts/build-feature-packages.mjs` (+1 -1) </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 #318 ## Why this change Noodler's automatic-posting budget silently locked out image posting while text kept working. Two bugs, both in the daily "slot" system: 1. Failed text/image generation attempts (provider errors, moderation rejects, timeouts) permanently consumed a slot in the rolling 24h budget even though nothing published. Image generation fails more often than text, so a handful of image failures could exhaust the image budget for the day while text kept posting normally. 2. The image budget was also a second, redundant limiter. The publish schedule already caps output to `postsPerDay` posts a day; gating images with a separate counter on top of that just created a pool that could drain on its own, and made "8 posts/day" secretly mean two independent pools of 8 — confusing for a primarily-image product. ## What changed - `noodle.storage.ts`: failed attempts no longer count against the daily budget (both the claim check and the status display). - `noodle-noodler-reserve.operation.ts`: removed the separate image quota. Images now ride the post they belong to; the publish schedule is the sole limiter. - `NoodlerPublishingSettings.tsx` / `en.json`: settings show one "Automatic posts today" counter instead of two "provider claims" tiles, and the posting-schedule copy spells out that each post may include an image. - `NoodlerHome.tsx`: "Refresh NoodleR now" shows a completion popup naming which creators got a new post, in addition to the existing toast. - Bumped noodle to 1.0.9 and rebuilt the artifact/catalog entries. ## Package and security impact - Affected package IDs: `noodle` - Engine compatibility impact: none - New or changed permissions/entrypoints: none - Restart, storage, update, or uninstall impact: standard package update (restart required, per manifest); no storage schema change ## Validation - [x] `node scripts/validate-catalog.mjs` passes locally - [x] `git diff --check` passes locally - [x] Rebuilt every affected manifest, payload, artifact, and catalog entry - [x] Installed or updated the affected package through Marinara Engine - [x] Checked supported modes, restart behavior, and uninstall cleanup - [x] Read and followed `CONTRIBUTING.md` ### Manual verification notes - `npm run test:noodle:regressions` — all 12 suites pass - `node scripts/test-catalog-lanes.mjs` and `node scripts/validate-package-locales.mjs` pass - Deployed the built package to the dev-marinara test Engine (10.0.0.113) via direct docker-copy; verified served `client.js` sha256 matches the local build, `/api/health` returns ok, and the `noodle` package reports `status: active`, `readiness: ready` with no error after container restart. ## Documentation impact - [x] No documentation changes needed ## UI evidence (if applicable) N/A — settings-panel copy/counter change and a completion popup; verified by hand on the dev Engine, no visual diff captured. --- <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:12 +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#909
No description provided.