[PR #458] [CLOSED] fix: accept formatted empty Slurp arrays #983

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

📋 Pull Request Information

Original PR: https://github.com/Pasta-Devs/Marinara-Agents/pull/458
Author: @Gunterlie
Created: 8/20/2026
Status: ❌ Closed

Base: staging ← Head: noodle-array-vs-object


📝 Commits (10+)

  • 5e27a04 fix: accept local profile arrays in Noodle and Slurp
  • b41975a fix: preserve malformed profile wrappers
  • 3f37496 test: cover wrapped profile arrays
  • 317ce3c test: cover Slurp profile parsing
  • a723020 test: cover direct Slurp profile arrays
  • d257a7f fix: retry empty profile generation
  • 5f3b9d4 Merge remote-tracking branch 'origin/staging' into noodle-array-vs-object
  • b6bc6e6 fix: accept formatted empty timeline arrays
  • 9a2e37e Merge remote-tracking branch 'origin/staging' into noodle-array-vs-object
  • 26b8be6 build: refresh merged catalog entries

📊 Changes

15 files changed (+274 additions, -213 deletions)

View changed files

📝 artifacts/beholder-1.2.2.zip (+0 -0)
➕ artifacts/noodle-1.2.8.zip (+0 -0)
➕ artifacts/slurp-1.0.13.zip (+0 -0)
📝 catalog/catalog.json (+11 -11)
📝 catalog/v2/catalog.json (+11 -11)
📝 catalog/v3/catalog.json (+11 -11)
📝 packages/noodle/manifest.json (+3 -3)
📝 packages/noodle/server.mjs (+170 -170)
📝 packages/noodle/src/engine/packages/server/src/services/noodle/noodle-generated-refresh.ts (+4 -0)
📝 packages/noodle/src/engine/packages/server/src/services/noodle/noodle-public-generation.service.ts (+3 -2)
📝 packages/slurp/manifest.json (+1 -1)
📝 packages/slurp/src/engine/packages/server/src/services/slurp/slurp-generated-refresh.ts (+6 -1)
📝 packages/slurp/src/engine/packages/server/src/services/slurp/slurp-public-generation.service.ts (+8 -1)
📝 scripts/build-feature-packages.mjs (+2 -2)
📝 tests/noodle-generated-refresh.regression.ts (+44 -0)

📄 Description

Linked issue

Fixes #449

Why this change

Slurp can receive an empty timeline from local models as a formatted JSON array:

[
]

Slurp parsed the response but did not recognize it as an allowed empty response. The correction attempt then reported an error.

What changed

  • Recognize compact and whitespace-formatted empty arrays.
  • Allow the timeline retry path to accept both forms.
  • Add Slurp regression coverage.
  • Release Slurp 1.0.13 with rebuilt server bundle, ZIP artifact, manifest, hashes, and catalog entries.

Validation

  • npm run check
  • node scripts/test-catalog-lanes.mjs
  • node scripts/validate-package-locales.mjs
  • node scripts/validate-catalog.mjs
  • git diff --check
  • Install/update/restart/uninstall manual checks

Local validation passed. Install, update, restart, offline, and uninstall were not manually tested.

Summary by CodeRabbit

  • New Features

    • Noodle now consistently recognizes empty generated refresh responses.
    • Slurp can accept permitted activity-free refreshes.
    • Noodle updated to version 1.2.8.
    • Slurp updated to version 1.0.13.
  • Bug Fixes

    • Improved refresh validation for initial generation and correction attempts.
    • Refreshed catalog metadata, download details, and integrity information for Beholder, Noodle, and Slurp.
  • Tests

    • Expanded coverage for valid, empty, and invalid generated profiles and refresh responses.

🔄 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/458 **Author:** [@Gunterlie](https://github.com/Gunterlie) **Created:** 8/20/2026 **Status:** ❌ Closed **Base:** `staging` ← **Head:** `noodle-array-vs-object` --- ### 📝 Commits (10+) - [`5e27a04`](https://github.com/Pasta-Devs/Marinara-Agents/commit/5e27a0449f5a67427e6910037ab21f3a2223bad8) fix: accept local profile arrays in Noodle and Slurp - [`b41975a`](https://github.com/Pasta-Devs/Marinara-Agents/commit/b41975abc9f1d030ed4aa77f1ece21e5580b14c7) fix: preserve malformed profile wrappers - [`3f37496`](https://github.com/Pasta-Devs/Marinara-Agents/commit/3f3749679187eed61de36451cfa63daa78cfc0c5) test: cover wrapped profile arrays - [`317ce3c`](https://github.com/Pasta-Devs/Marinara-Agents/commit/317ce3c631194a0137bf995abac78d371e79f392) test: cover Slurp profile parsing - [`a723020`](https://github.com/Pasta-Devs/Marinara-Agents/commit/a723020c81a1e1cf72283951bca15c753e2b53c1) test: cover direct Slurp profile arrays - [`d257a7f`](https://github.com/Pasta-Devs/Marinara-Agents/commit/d257a7fbabc4e1e6c83f293d2ecb74499c55b38a) fix: retry empty profile generation - [`5f3b9d4`](https://github.com/Pasta-Devs/Marinara-Agents/commit/5f3b9d41b4b4a13f7f688343a38c0272b53eda61) Merge remote-tracking branch 'origin/staging' into noodle-array-vs-object - [`b6bc6e6`](https://github.com/Pasta-Devs/Marinara-Agents/commit/b6bc6e6441d4a3100febbb744e90a0de5a1c3777) fix: accept formatted empty timeline arrays - [`9a2e37e`](https://github.com/Pasta-Devs/Marinara-Agents/commit/9a2e37e0e86cdd480d53d92023dc0e8f9e353895) Merge remote-tracking branch 'origin/staging' into noodle-array-vs-object - [`26b8be6`](https://github.com/Pasta-Devs/Marinara-Agents/commit/26b8be66457a3eafc89f8d3c51f62449a91cdb43) build: refresh merged catalog entries ### 📊 Changes **15 files changed** (+274 additions, -213 deletions) <details> <summary>View changed files</summary> 📝 `artifacts/beholder-1.2.2.zip` (+0 -0) ➕ `artifacts/noodle-1.2.8.zip` (+0 -0) ➕ `artifacts/slurp-1.0.13.zip` (+0 -0) 📝 `catalog/catalog.json` (+11 -11) 📝 `catalog/v2/catalog.json` (+11 -11) 📝 `catalog/v3/catalog.json` (+11 -11) 📝 `packages/noodle/manifest.json` (+3 -3) 📝 `packages/noodle/server.mjs` (+170 -170) 📝 `packages/noodle/src/engine/packages/server/src/services/noodle/noodle-generated-refresh.ts` (+4 -0) 📝 `packages/noodle/src/engine/packages/server/src/services/noodle/noodle-public-generation.service.ts` (+3 -2) 📝 `packages/slurp/manifest.json` (+1 -1) 📝 `packages/slurp/src/engine/packages/server/src/services/slurp/slurp-generated-refresh.ts` (+6 -1) 📝 `packages/slurp/src/engine/packages/server/src/services/slurp/slurp-public-generation.service.ts` (+8 -1) 📝 `scripts/build-feature-packages.mjs` (+2 -2) 📝 `tests/noodle-generated-refresh.regression.ts` (+44 -0) </details> ### 📄 Description ## Linked issue Fixes #449 ## Why this change Slurp can receive an empty timeline from local models as a formatted JSON array: ```json [ ] ``` Slurp parsed the response but did not recognize it as an allowed empty response. The correction attempt then reported an error. ## What changed - Recognize compact and whitespace-formatted empty arrays. - Allow the timeline retry path to accept both forms. - Add Slurp regression coverage. - Release Slurp 1.0.13 with rebuilt server bundle, ZIP artifact, manifest, hashes, and catalog entries. ## Validation - [ ] `npm run check` - [ ] `node scripts/test-catalog-lanes.mjs` - [ ] `node scripts/validate-package-locales.mjs` - [ ] `node scripts/validate-catalog.mjs` - [ ] `git diff --check` - [ ] Install/update/restart/uninstall manual checks Local validation passed. Install, update, restart, offline, and uninstall were not manually tested. <!-- This is an auto-generated comment: release notes by coderabbit.ai --> ## Summary by CodeRabbit - **New Features** - Noodle now consistently recognizes empty generated refresh responses. - Slurp can accept permitted activity-free refreshes. - Noodle updated to version 1.2.8. - Slurp updated to version 1.0.13. - **Bug Fixes** - Improved refresh validation for initial generation and correction attempts. - Refreshed catalog metadata, download details, and integrity information for Beholder, Noodle, and Slurp. - **Tests** - Expanded coverage for valid, empty, and invalid generated profiles and refresh responses. <!-- 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: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#983
No description provided.