[PR #742] [MERGED] Noodle 1.2.21: an issue sweep of five reports #1116

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

📋 Pull Request Information

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

Base: staging ← Head: sweep-the-noodles


📝 Commits (2)

  • 3a7bc08 fix(noodle): four reports the timeline could not answer for itself
  • da7abb4 fix(noodle): a profile request without an object body is a 400, not a 500

📊 Changes

19 files changed (+381 additions, -453 deletions)

View changed files

➕ artifacts/noodle-1.2.21.zip (+0 -0)
📝 catalog/catalog.json (+8 -8)
📝 catalog/notes.json (+6 -0)
📝 catalog/v2/catalog.json (+8 -8)
📝 catalog/v2/notes.json (+6 -0)
📝 catalog/v3/catalog.json (+8 -8)
📝 catalog/v3/notes.json (+6 -0)
📝 packages/noodle/CHANGELOG.md (+8 -0)
📝 packages/noodle/client.js (+15 -15)
📝 packages/noodle/manifest.json (+5 -5)
📝 packages/noodle/server.mjs (+243 -282)
📝 packages/noodle/src/engine/packages/client/src/components/noodle/NoodleHome.tsx (+8 -0)
📝 packages/noodle/src/engine/packages/client/src/localization/locales/en.json (+8 -75)
📝 packages/noodle/src/engine/packages/client/src/localization/locales/ko.json (+5 -48)
📝 packages/noodle/src/engine/packages/server/src/routes/noodle.routes.ts (+13 -1)
📝 packages/noodle/src/engine/packages/server/src/services/noodle/noodle-generated-activity.service.ts (+6 -1)
📝 packages/noodle/src/engine/packages/server/src/services/storage/noodle.storage.ts (+1 -1)
📝 scripts/build-feature-packages.mjs (+1 -1)
➕ tests/noodle-ambient-image-block.regression.ts (+26 -0)

📄 Description

Pull request

Linked issue

Closes #725
Closes #740
Closes #724
Closes #733
Closes #734

Why this change

Five open Noodle issues, all reported against 1.2.20, swept in one release.

  • #725 — "Load more" threw ReferenceError: or is not defined. listPostPage builds its keyset cursor with or(...), but the import at the top of noodle.storage.ts never brought or in. The first page never evaluates the cursor branch, so only pagination failed.
  • #740 — a manually chosen avatar reverted to the character card image. The toast was honest and the write did land. On the next bootstrap, bootstrapVisibleNoodle re-syncs every character account from its card with syncIdentity: true. Storage only respects a manual edit when settings.profile.profileManuallyEdited is true, and nothing ever set that flag — one service set it to false, and no code path ever set it to true. The card avatar won every time.
  • #724 — applying a saved prompt discarded unsaved prompt edits with no warning.
  • #734 — an ambient account tried to post an image. Ambient accounts ran through the same generated-activity path as everyone else, so images were permitted by construction. They are background texture, not cast members.
  • #733 — the image-generation settings still named NoodleR, and 70 further NoodleR keys were orphaned in the locale catalog when the creator feature moved to the Slurp package.

What changed

  • noodle.storage.ts: import or from file-query.js for the listPostPage cursor.
  • noodle.routes.ts: PUT /accounts/:id/profile sets profileManuallyEdited when the request edits avatarUrl, displayName, bio, or handle. Internal services call the storage method directly and bypass the route, so generated and ambient profiles keep syncing as before.
  • NoodleHome.tsx: applyPromptPreset confirms before it replaces an unsaved prompt, reusing the showConfirmDialog already used by the delete path, and only when noodlePromptDirty is true.
  • noodle-generated-activity.service.ts: prepareGeneratedNoodleMedia refuses an ambient account an image prompt before the per-refresh image budget is spent, reusing the existing isAmbientNoodleAccount. The gallery-attachment fallback already refused any account that is not a character, so it needed no second guard.
  • en.json / ko.json: the 5 reachable NoodleR strings drop the second product name, since Slurp owns its own image service and does not read this setting. The 70 unreferenced NoodleR keys are deleted.
  • New tests/noodle-ambient-image-block.regression.ts.
  • Noodle 1.2.21: version, CHANGELOG, rebuilt client.js, server.mjs, manifest.json, artifacts/noodle-1.2.21.zip, and the catalog lanes.

One NoodleR string remains in the bundle: "All NoodleR creators and viewers are adults (18+)…". It comes from @marinara-engine/shared and also ships in conversation-calls and hierarchical-maps. It cannot be renamed from this repo.

Package and security impact

  • Affected package IDs: noodle
  • Engine compatibility impact: none. minEngineVersion stays 2.4.4.
  • New or changed permissions/entrypoints: none.
  • Restart, storage, update, or uninstall impact: a normal package update and restart. No schema or storage migration. The profile fix writes one extra boolean into an existing settings.profile object.

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

Not yet exercised in a running Engine. Everything below is static or build-level.

  • validate-package-locale-keys, validate-package-locales, test-catalog-lanes, validate-catalog all pass.
  • npm run check: 0 errors, 69 pre-existing warnings.
  • Confirmed in the rebuilt server.mjs that the listPostPage cursor now calls a bound helper rather than a free or.
  • New regression test pins the ambient image guard, the or import, and the manual-edit flag. It asserts against source text, like noodle-public-boundary.regression.ts, because @marinara-engine/shared does not resolve in this repo.
  • Six tests in the Noodle regression suite fail. All six fail identically on a clean staging worktree, so they are pre-existing; CI does not run this suite.

Still worth a human click-through on a dev Engine for #724 and #740 before merge.

Documentation impact

  • No documentation changes needed

UI evidence (if applicable)

None. The only UI changes are a confirmation dialog and settings copy.

Summary by CodeRabbit

  • Bug Fixes
    • Improved timeline “Load more” pagination.
    • Preserved manually updated profile avatars and identity details.
    • Added confirmation before applying saved prompts with unsaved changes.
    • Prevented ambient accounts from generating image prompts.
  • Updates
    • Refreshed Creator profile terminology and removed outdated legacy wording throughout the interface.
  • Release
    • Noodle updated to version 1.2.21.

🔄 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/742 **Author:** [@Gunterlie](https://github.com/Gunterlie) **Created:** 9/7/2026 **Status:** ✅ Merged **Merged:** 9/7/2026 **Merged by:** [@Gunterlie](https://github.com/Gunterlie) **Base:** `staging` ← **Head:** `sweep-the-noodles` --- ### 📝 Commits (2) - [`3a7bc08`](https://github.com/Pasta-Devs/Marinara-Agents/commit/3a7bc086d5ef1f4ed97bd24e60ce3732ff9411ac) fix(noodle): four reports the timeline could not answer for itself - [`da7abb4`](https://github.com/Pasta-Devs/Marinara-Agents/commit/da7abb4160965a31fe801c764f05c1ee1e18e12e) fix(noodle): a profile request without an object body is a 400, not a 500 ### 📊 Changes **19 files changed** (+381 additions, -453 deletions) <details> <summary>View changed files</summary> ➕ `artifacts/noodle-1.2.21.zip` (+0 -0) 📝 `catalog/catalog.json` (+8 -8) 📝 `catalog/notes.json` (+6 -0) 📝 `catalog/v2/catalog.json` (+8 -8) 📝 `catalog/v2/notes.json` (+6 -0) 📝 `catalog/v3/catalog.json` (+8 -8) 📝 `catalog/v3/notes.json` (+6 -0) 📝 `packages/noodle/CHANGELOG.md` (+8 -0) 📝 `packages/noodle/client.js` (+15 -15) 📝 `packages/noodle/manifest.json` (+5 -5) 📝 `packages/noodle/server.mjs` (+243 -282) 📝 `packages/noodle/src/engine/packages/client/src/components/noodle/NoodleHome.tsx` (+8 -0) 📝 `packages/noodle/src/engine/packages/client/src/localization/locales/en.json` (+8 -75) 📝 `packages/noodle/src/engine/packages/client/src/localization/locales/ko.json` (+5 -48) 📝 `packages/noodle/src/engine/packages/server/src/routes/noodle.routes.ts` (+13 -1) 📝 `packages/noodle/src/engine/packages/server/src/services/noodle/noodle-generated-activity.service.ts` (+6 -1) 📝 `packages/noodle/src/engine/packages/server/src/services/storage/noodle.storage.ts` (+1 -1) 📝 `scripts/build-feature-packages.mjs` (+1 -1) ➕ `tests/noodle-ambient-image-block.regression.ts` (+26 -0) </details> ### 📄 Description # Pull request ## Linked issue Closes #725 Closes #740 Closes #724 Closes #733 Closes #734 ## Why this change Five open Noodle issues, all reported against 1.2.20, swept in one release. - **#725** — "Load more" threw `ReferenceError: or is not defined`. `listPostPage` builds its keyset cursor with `or(...)`, but the import at the top of `noodle.storage.ts` never brought `or` in. The first page never evaluates the cursor branch, so only pagination failed. - **#740** — a manually chosen avatar reverted to the character card image. The toast was honest and the write did land. On the next bootstrap, `bootstrapVisibleNoodle` re-syncs every character account from its card with `syncIdentity: true`. Storage only respects a manual edit when `settings.profile.profileManuallyEdited` is true, and nothing ever set that flag — one service set it to `false`, and no code path ever set it to `true`. The card avatar won every time. - **#724** — applying a saved prompt discarded unsaved prompt edits with no warning. - **#734** — an ambient account tried to post an image. Ambient accounts ran through the same generated-activity path as everyone else, so images were permitted by construction. They are background texture, not cast members. - **#733** — the image-generation settings still named NoodleR, and 70 further NoodleR keys were orphaned in the locale catalog when the creator feature moved to the Slurp package. ## What changed - `noodle.storage.ts`: import `or` from `file-query.js` for the `listPostPage` cursor. - `noodle.routes.ts`: `PUT /accounts/:id/profile` sets `profileManuallyEdited` when the request edits `avatarUrl`, `displayName`, `bio`, or `handle`. Internal services call the storage method directly and bypass the route, so generated and ambient profiles keep syncing as before. - `NoodleHome.tsx`: `applyPromptPreset` confirms before it replaces an unsaved prompt, reusing the `showConfirmDialog` already used by the delete path, and only when `noodlePromptDirty` is true. - `noodle-generated-activity.service.ts`: `prepareGeneratedNoodleMedia` refuses an ambient account an image prompt before the per-refresh image budget is spent, reusing the existing `isAmbientNoodleAccount`. The gallery-attachment fallback already refused any account that is not a character, so it needed no second guard. - `en.json` / `ko.json`: the 5 reachable NoodleR strings drop the second product name, since Slurp owns its own image service and does not read this setting. The 70 unreferenced NoodleR keys are deleted. - New `tests/noodle-ambient-image-block.regression.ts`. - Noodle 1.2.21: version, CHANGELOG, rebuilt `client.js`, `server.mjs`, `manifest.json`, `artifacts/noodle-1.2.21.zip`, and the catalog lanes. One NoodleR string remains in the bundle: "All NoodleR creators and viewers are adults (18+)…". It comes from `@marinara-engine/shared` and also ships in `conversation-calls` and `hierarchical-maps`. It cannot be renamed from this repo. ## Package and security impact - Affected package IDs: `noodle` - Engine compatibility impact: none. `minEngineVersion` stays 2.4.4. - New or changed permissions/entrypoints: none. - Restart, storage, update, or uninstall impact: a normal package update and restart. No schema or storage migration. The profile fix writes one extra boolean into an existing `settings.profile` object. ## 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 - [ ] Installed or updated the affected package through Marinara Engine - [ ] Checked supported modes, restart behavior, and uninstall cleanup - [x] Read and followed `CONTRIBUTING.md` ### Manual verification notes Not yet exercised in a running Engine. Everything below is static or build-level. - `validate-package-locale-keys`, `validate-package-locales`, `test-catalog-lanes`, `validate-catalog` all pass. - `npm run check`: 0 errors, 69 pre-existing warnings. - Confirmed in the rebuilt `server.mjs` that the `listPostPage` cursor now calls a bound helper rather than a free `or`. - New regression test pins the ambient image guard, the `or` import, and the manual-edit flag. It asserts against source text, like `noodle-public-boundary.regression.ts`, because `@marinara-engine/shared` does not resolve in this repo. - Six tests in the Noodle regression suite fail. All six fail identically on a clean `staging` worktree, so they are pre-existing; CI does not run this suite. Still worth a human click-through on a dev Engine for #724 and #740 before merge. ## Documentation impact - [x] No documentation changes needed ## UI evidence (if applicable) None. The only UI changes are a confirmation dialog and settings copy. <!-- This is an auto-generated comment: release notes by coderabbit.ai --> ## Summary by CodeRabbit * **Bug Fixes** * Improved timeline “Load more” pagination. * Preserved manually updated profile avatars and identity details. * Added confirmation before applying saved prompts with unsaved changes. * Prevented ambient accounts from generating image prompts. * **Updates** * Refreshed Creator profile terminology and removed outdated legacy wording throughout the interface. * **Release** * Noodle updated to version 1.2.21. <!-- 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:02:58 +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#1116
No description provided.