[PR #1530] [MERGED] fix: honor nonretryable image failures in Noodle and Slurp #1532

Closed
opened 2026-10-22 04:03:10 +07:00 by bsakaguchi · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/Pasta-Devs/Marinara-Agents/pull/1530
Author: @SpicyMarinara
Created: 10/21/2026
Status: ✅ Merged
Merged: 10/21/2026
Merged by: @SpicyMarinara

Base: staging ← Head: fix/nonretryable-image-failures


📝 Commits (4)

  • 1139772 chore: track nonretryable media follow-up
  • 952a66b fix: honor nonretryable image failures in Noodle and Slurp
  • 7eaa5fa fix(slurp): keep release history within source size limits
  • e9c23db style(slurp): name new artwork helpers by package convention

📊 Changes

34 files changed (+1058 additions, -741 deletions)

View changed files

➕ artifacts/noodle-1.5.9.zip (+0 -0)
➕ artifacts/slurp2-0.3.53.zip (+0 -0)
📝 catalog/catalog.json (+14 -14)
📝 catalog/notes.json (+12 -12)
📝 catalog/v2/catalog.json (+14 -14)
📝 catalog/v2/notes.json (+12 -12)
📝 catalog/v3/catalog.json (+14 -14)
📝 catalog/v3/notes.json (+12 -12)
📝 packages/noodle/CHANGELOG.md (+4 -0)
📝 packages/noodle/README.md (+2 -0)
📝 packages/noodle/manifest.json (+3 -3)
📝 packages/noodle/server.mjs (+1 -1)
📝 packages/noodle/src/engine/packages/server/src/services/noodle/noodle-image-retry.ts (+1 -0)
📝 packages/slurp2/CHANGELOG.md (+4 -0)
📝 packages/slurp2/README.md (+2 -0)
📝 packages/slurp2/client.js (+49 -49)
📝 packages/slurp2/manifest.json (+5 -5)
📝 packages/slurp2/server.mjs (+192 -192)
➕ packages/slurp2/src/engine/packages/client/src/slp/features/onboarding/slp-release-archive.ts (+402 -0)
📝 packages/slurp2/src/engine/packages/client/src/slp/features/onboarding/slp-release.ts (+11 -398)

...and 14 more files

📄 Description

Linked issue

Closes #1529. Complements Marinara Engine #7941.

Why this change

After an image service accepts a paid task, a later failure must not silently purchase a replacement. Noodle and Slurp currently repeat errors even when the Engine marks them retryable: false; Slurp can repeat them again on a later background poll.

What changed

  • Noodle and Slurp stop their immediate retry loop for the structural retryable: false marker and retain the original error. Transient failures and connection-admission deferrals keep their existing behavior.
  • Slurp persists the policy with failed post images and excludes explicitly nonretryable failures from automatic retry selection. Prompts remain available for a deliberate user retry; successful/replaced/restored pictures clear stale policy.
  • Creator avatar/banner backfill records a durable brake for the affected Creator and artwork kind. Deliberate artwork generation still runs and clears its brake after success. Brake cleanup cannot turn a paid success into a failure, and persistence errors cannot replace the original nonretryable error.
  • Split previous-minor release notes into an onboarding archive to retain every note while keeping source files under the enforced 800-line limit. The complete runtime history and its order are unchanged.
  • Rebuilt Noodle 1.5.9 and Slurp 0.3.53, including payloads, manifests, ZIPs, catalogs and release notes. No new permissions, entrypoints, Engine snapshot changes or capability API requirements.

Validation

Passed locally:

  • npm ci, npm run check.
  • Scoped build-feature-packages.mjs noodle slurp2 and typecheck-packages.mjs noodle slurp2 with a compatible Engine checkout.
  • Required catalog lanes, package locales, catalog/archive integrity, release-note regression, and git diff --check.
  • All 299 Slurp regressions pass, including architecture and release history. Focused retry/image regression scripts cover both retry helpers, actual failed-post persistence and the automatic selector, fresh-context artwork backfill suppression, deliberate public artwork generation, storage-failure handling, admission/backoff, image pipeline, picture controls, artwork options/backfill, AI assist and lifecycle safety.
  • Unchanged npm run test:browser:noodle -- --workers=1 against combined Engine 3067ecd5: 56 desktop/mobile cases selected, 44 passed and 12 existing project-specific skips, zero failures.
  • Three final Slurp Chromium smoke checks against the rebuilt ZIP: activation, current-release acknowledgement and older-release collapse (one worker).

Independent source review completed; its storage-cleanup finding was fixed and re-reviewed. Local CodeRabbit completed on 31f3f3d8, reviewing 32 files with zero new findings. After the clean rebase onto independently merged Long-Term Memory PR #1531, both complete package trees, both ZIPs, all server/client/manifest bytes and all Noodle/Slurp catalog entries remain identical; the owning rebuild and integrity gates pass. The current head is e9c23db6. The earlier hosted review had three comments: the release-size defect is fixed, and two nonblocking suggestions have explicit dispositions in resolved threads. Genuine hosted CodeRabbit review completed for exact head e9c23db6fd8fb1e4de06c180b13dfaf63a4868d7 at 11:32:38 UTC on 2026-10-21 (run c033b82b-ae23-4238-a5c8-703e52f00cd2), with no new actionable comments and no unresolved threads. All latest required checks and the Slurp package browser job pass. CodeRabbit path-filters generated payloads and ZIPs, which are covered separately by the owning rebuild and artifact-integrity checks; its bundled ESLint could not run because of a TypeScript 7 incompatibility, while the repository lint in npm run check passed. Its docstring-coverage warning remains advisory.

The nonrequired hosted Noodle browser job stops before assertions in its unchanged vendored Engine fingerprint precheck. Independent clean-base and PR-head runs produce the same 147 errors against Engine ca59e5a8; #1532 tracks that separate snapshot reconciliation. This PR changes no snapshots, fingerprints or workflow rules. Hosted Noodle browser assertions have not run; local browser evidence is reported separately.

Native GitHub Code Quality is configured as a dynamic service, but has no run for this staging-target PR; recent staging PR #1527 has the same absence, while main-target promotion PRs #1503/#1241 ran it. This coverage is unavailable here under the current service configuration, and no native quality pass is claimed. Repository CodeQL security checks are reported separately. No target, workflow or settings were changed to create a result.

Engine #7941 supplies the nonretryable marker for potentially submitted ToAPIs tasks. The package contract remains compatible with older hosts; failures without an explicit marker retain their existing bounded retries. No live paid provider request was made. Browser proof uses catalog/hash-verified local ZIP fixtures, not the published download/update channel.

Manual verification

  • Manually install or update Noodle and Slurp through Download Agents in a compatible Engine.
  • Manually verify a deliberately requested post image retry still runs after a nonretryable failure.
  • Manually verify Creator artwork waits after a marked failure and a deliberate artwork retry remains available.
  • Manually verify update, restart, offline restart and uninstall behavior.

🔄 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/1530 **Author:** [@SpicyMarinara](https://github.com/SpicyMarinara) **Created:** 10/21/2026 **Status:** ✅ Merged **Merged:** 10/21/2026 **Merged by:** [@SpicyMarinara](https://github.com/SpicyMarinara) **Base:** `staging` ← **Head:** `fix/nonretryable-image-failures` --- ### 📝 Commits (4) - [`1139772`](https://github.com/Pasta-Devs/Marinara-Agents/commit/1139772b531b3e4fe71078de36471df76ca85e08) chore: track nonretryable media follow-up - [`952a66b`](https://github.com/Pasta-Devs/Marinara-Agents/commit/952a66bde02f7d92dbefeca60a0c8a9bbecf86f8) fix: honor nonretryable image failures in Noodle and Slurp - [`7eaa5fa`](https://github.com/Pasta-Devs/Marinara-Agents/commit/7eaa5fa8ac23c95f955ffbfadd2c9d80b1985158) fix(slurp): keep release history within source size limits - [`e9c23db`](https://github.com/Pasta-Devs/Marinara-Agents/commit/e9c23db6fd8fb1e4de06c180b13dfaf63a4868d7) style(slurp): name new artwork helpers by package convention ### 📊 Changes **34 files changed** (+1058 additions, -741 deletions) <details> <summary>View changed files</summary> ➕ `artifacts/noodle-1.5.9.zip` (+0 -0) ➕ `artifacts/slurp2-0.3.53.zip` (+0 -0) 📝 `catalog/catalog.json` (+14 -14) 📝 `catalog/notes.json` (+12 -12) 📝 `catalog/v2/catalog.json` (+14 -14) 📝 `catalog/v2/notes.json` (+12 -12) 📝 `catalog/v3/catalog.json` (+14 -14) 📝 `catalog/v3/notes.json` (+12 -12) 📝 `packages/noodle/CHANGELOG.md` (+4 -0) 📝 `packages/noodle/README.md` (+2 -0) 📝 `packages/noodle/manifest.json` (+3 -3) 📝 `packages/noodle/server.mjs` (+1 -1) 📝 `packages/noodle/src/engine/packages/server/src/services/noodle/noodle-image-retry.ts` (+1 -0) 📝 `packages/slurp2/CHANGELOG.md` (+4 -0) 📝 `packages/slurp2/README.md` (+2 -0) 📝 `packages/slurp2/client.js` (+49 -49) 📝 `packages/slurp2/manifest.json` (+5 -5) 📝 `packages/slurp2/server.mjs` (+192 -192) ➕ `packages/slurp2/src/engine/packages/client/src/slp/features/onboarding/slp-release-archive.ts` (+402 -0) 📝 `packages/slurp2/src/engine/packages/client/src/slp/features/onboarding/slp-release.ts` (+11 -398) _...and 14 more files_ </details> ### 📄 Description ## Linked issue Closes #1529. Complements [Marinara Engine #7941](https://github.com/Pasta-Devs/Marinara-Engine/pull/7941). ## Why this change After an image service accepts a paid task, a later failure must not silently purchase a replacement. Noodle and Slurp currently repeat errors even when the Engine marks them `retryable: false`; Slurp can repeat them again on a later background poll. ## What changed - Noodle and Slurp stop their immediate retry loop for the structural `retryable: false` marker and retain the original error. Transient failures and connection-admission deferrals keep their existing behavior. - Slurp persists the policy with failed post images and excludes explicitly nonretryable failures from automatic retry selection. Prompts remain available for a deliberate user retry; successful/replaced/restored pictures clear stale policy. - Creator avatar/banner backfill records a durable brake for the affected Creator and artwork kind. Deliberate artwork generation still runs and clears its brake after success. Brake cleanup cannot turn a paid success into a failure, and persistence errors cannot replace the original nonretryable error. - Split previous-minor release notes into an onboarding archive to retain every note while keeping source files under the enforced 800-line limit. The complete runtime history and its order are unchanged. - Rebuilt Noodle 1.5.9 and Slurp 0.3.53, including payloads, manifests, ZIPs, catalogs and release notes. No new permissions, entrypoints, Engine snapshot changes or capability API requirements. ## Validation Passed locally: - `npm ci`, `npm run check`. - Scoped `build-feature-packages.mjs noodle slurp2` and `typecheck-packages.mjs noodle slurp2` with a compatible Engine checkout. - Required catalog lanes, package locales, catalog/archive integrity, release-note regression, and `git diff --check`. - All 299 Slurp regressions pass, including architecture and release history. Focused retry/image regression scripts cover both retry helpers, actual failed-post persistence and the automatic selector, fresh-context artwork backfill suppression, deliberate public artwork generation, storage-failure handling, admission/backoff, image pipeline, picture controls, artwork options/backfill, AI assist and lifecycle safety. - Unchanged `npm run test:browser:noodle -- --workers=1` against combined Engine `3067ecd5`: 56 desktop/mobile cases selected, 44 passed and 12 existing project-specific skips, zero failures. - Three final Slurp Chromium smoke checks against the rebuilt ZIP: activation, current-release acknowledgement and older-release collapse (one worker). Independent source review completed; its storage-cleanup finding was fixed and re-reviewed. Local CodeRabbit completed on `31f3f3d8`, reviewing 32 files with zero new findings. After the clean rebase onto independently merged Long-Term Memory PR #1531, both complete package trees, both ZIPs, all server/client/manifest bytes and all Noodle/Slurp catalog entries remain identical; the owning rebuild and integrity gates pass. The current head is `e9c23db6`. The earlier hosted review had three comments: the release-size defect is fixed, and two nonblocking suggestions have explicit dispositions in resolved threads. Genuine hosted CodeRabbit review completed for exact head `e9c23db6fd8fb1e4de06c180b13dfaf63a4868d7` at 11:32:38 UTC on 2026-10-21 (run `c033b82b-ae23-4238-a5c8-703e52f00cd2`), with no new actionable comments and no unresolved threads. All latest required checks and the Slurp package browser job pass. CodeRabbit path-filters generated payloads and ZIPs, which are covered separately by the owning rebuild and artifact-integrity checks; its bundled ESLint could not run because of a TypeScript 7 incompatibility, while the repository lint in `npm run check` passed. Its docstring-coverage warning remains advisory. The nonrequired hosted Noodle browser job stops before assertions in its unchanged vendored Engine fingerprint precheck. Independent clean-base and PR-head runs produce the same 147 errors against Engine ca59e5a8; #1532 tracks that separate snapshot reconciliation. This PR changes no snapshots, fingerprints or workflow rules. Hosted Noodle browser assertions have not run; local browser evidence is reported separately. Native GitHub Code Quality is configured as a dynamic service, but has no run for this staging-target PR; recent staging PR #1527 has the same absence, while main-target promotion PRs #1503/#1241 ran it. This coverage is unavailable here under the current service configuration, and no native quality pass is claimed. Repository CodeQL security checks are reported separately. No target, workflow or settings were changed to create a result. Engine #7941 supplies the nonretryable marker for potentially submitted ToAPIs tasks. The package contract remains compatible with older hosts; failures without an explicit marker retain their existing bounded retries. No live paid provider request was made. Browser proof uses catalog/hash-verified local ZIP fixtures, not the published download/update channel. ## Manual verification - [ ] Manually install or update Noodle and Slurp through Download Agents in a compatible Engine. - [ ] Manually verify a deliberately requested post image retry still runs after a nonretryable failure. - [ ] Manually verify Creator artwork waits after a marked failure and a deliberate artwork retry remains available. - [ ] Manually verify update, restart, offline restart and uninstall behavior. --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
bsakaguchi 2026-10-22 04:03:10 +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#1532
No description provided.