[PR #1315] [MERGED] fix(slurp2): 0.3.22 — fix defects found by the stale regressions and run them in CI #1402

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

📋 Pull Request Information

Original PR: https://github.com/Pasta-Devs/Marinara-Agents/pull/1315
Author: @Gunterlie
Created: 10/11/2026
Status: ✅ Merged
Merged: 10/11/2026
Merged by: @Gunterlie

Base: staging ← Head: fix/slurp-regressions


📝 Commits (10+)

  • c8aee68 test(slurp): realign slurp-alive regression with live Slurp2 paths
  • 122e31c test(slurp): realign slurp-boundary regression with live Slurp2 names
  • 4e3320b test(slurp): realign campaign and chat-mood regressions with live Slurp2 code
  • 6a9c0e2 test(slurp): realign commission-funnel regression with live delivery code
  • f423943 test(slurp2): update bughunt assertions to the live Slurp2 source
  • bd06cf3 test(slurp2): fix image-context harness for the moved reply and prompt modules
  • 5752ccb test(slurp): realign connection-load regression with moved admission code
  • 2d5e63a test(slurp): realign continuity-editor regression with moved panels
  • 7e31e60 test(slurp2): refresh client-hooks snapshot to the live client
  • 04de6d3 test(slurp2): point creator bulk-edit checks at the feature panels

📊 Changes

74 files changed (+1922 additions, -1039 deletions)

View changed files

📝 .github/workflows/noodle-browser.yml (+13 -0)
➕ artifacts/slurp2-0.3.22.zip (+0 -0)
📝 catalog/catalog.json (+14 -14)
📝 catalog/notes.json (+6 -6)
📝 catalog/v2/catalog.json (+14 -14)
📝 catalog/v2/notes.json (+6 -6)
📝 catalog/v3/catalog.json (+14 -14)
📝 catalog/v3/notes.json (+6 -6)
📝 package.json (+2 -1)
📝 packages/slurp2/CHANGELOG.md (+9 -0)
📝 packages/slurp2/client.js (+61 -60)
📝 packages/slurp2/manifest.json (+11 -11)
📝 packages/slurp2/server.mjs (+269 -269)
📝 packages/slurp2/src/engine/packages/client/src/slp/app/backstage/SlpBackstageShell.tsx (+2 -2)
📝 packages/slurp2/src/engine/packages/client/src/slp/features/creators/slp-creator-refresh-hooks.ts (+26 -10)
📝 packages/slurp2/src/engine/packages/client/src/slp/features/creators/slp-refresh-batch.ts (+27 -2)
📝 packages/slurp2/src/engine/packages/client/src/slp/features/onboarding/slp-release.ts (+10 -1)
📝 packages/slurp2/src/engine/packages/client/src/slp/locales/de.json (+4 -0)
📝 packages/slurp2/src/engine/packages/client/src/slp/locales/en.json (+4 -0)
📝 packages/slurp2/src/engine/packages/client/src/slp/locales/ko.json (+4 -0)

...and 54 more files

📄 Description

Important

Contributions target staging. Only SpicyMarinara may promote this repository's staging branch to main.

Linked issue

Closes #1314

Why this change

45 of the 282 Slurp regression files failed on staging, and CI ran only one of them, so they protected nothing and hid real defects. Realigning them surfaced six product defects, fixed here as slurp2 0.3.22.

What changed

  • Affected package: slurp2 0.3.21 → 0.3.22 (patch).
  • Product fixes
    • Backups and restores include reports (the reports table was missing from the backup registry).
    • "Create posts now" names the Creators it skipped or could not post for again; counts and names come from one classifier, lists are capped at 5 + "+N", and an uncached Creator shows a neutral label instead of an id. New locale keys in en/de/ko/pl.
    • Commission accept holds a per-commission in-flight guard (same pattern as deliver), so a double tap or retry cannot draw the picture twice; released in finally.
    • The stored media path no longer reaches the client: stripped from mapped commissions and from the viewer mask for messages. Storage and server-internal callers keep it.
    • The settings search stays reachable on phones inside a section (own full row); desktop layout unchanged.
    • A Support desk tick checks its throttle against the tick time, not the wall clock (internal).
  • Tests: 45 regression files realigned with the current code (moved files via tests/slurp2-source.ts mappings, renamed functions/routes, redesigned panels). Assertions about Slurp 1 or removed layouts were removed with a comment. Several tests now execute shared helpers instead of matching source text. slurp2-release-notes checks the changelog/splash relation instead of a pinned version.
  • CI: new scripts/run-slurp-regressions.mjs (npm run test:slurp:regressions) runs every Slurp regression file, reports each failure, and exits non-zero on any failure, zero matched files, or a missing Engine root. It runs in the Slurp job of the Noodle and Slurp Package Browser workflow (that job has the Engine checkout two of the files need); the workflow now also triggers on the regression files and the runner.
  • Generated outputs rebuilt by the builder: client.js, server.mjs, manifest.json, artifacts/slurp2-0.3.22.zip, catalogs.

Package and security impact

  • Affected package IDs: slurp2
  • Engine compatibility impact: none (engine.min unchanged)
  • New or changed permissions/entrypoints: none. Server route behavior: a concurrent second commission accept now answers 409; commission and message responses no longer carry the stored media path.
  • Restart, storage, update, or uninstall impact: backup files gain a reports section; a backup without it restores as before (the table is cleared like every other table in the total-replace restore).

Validation

Agent-run checks (boxes left for human verification):

  • npm run test:slurp:regressions: 283 of 283 files pass (before: 45 failing on staging).

  • tests/slurp2-architecture.regression.ts, node scripts/typecheck-packages.mjs slurp2, npm run check, node scripts/test-catalog-lanes.mjs, node scripts/validate-package-locales.mjs, node scripts/validate-catalog.mjs, node scripts/tests/catalog-release-notes.regression.mjs, git diff --check: pass.

  • Build: node scripts/build-feature-packages.mjs slurp2 against a clean origin/staging Engine checkout (63006ab28).

  • Two independent read-only reviews. The first rejected one "fix" (public pictures ignoring the "Use the Creator's look" toggle — the toggle is intended; the stale test was corrected instead) and found the refresh-toast name/count mismatch. The second found the CI step placed in a job without an Engine checkout, the phone search not getting a full row, and the media path still reaching the client through message metadata. All findings are fixed.

  • A suspected money defect (refund reversal −144 vs −36) was traced and is correct: it is the 0.3.7 platform-earnings scaling.

  • 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 done: live install/update through the Engine UI, a browser check of the phone settings search at 390 px (covered by class assertions only), and a live backup/restore round trip with reports (covered by the registry regression).
  • Noted, not changed: generateSlpPostImage is not reachable from the server bundle (dead code).

Documentation impact

  • No documentation changes needed (agent note: none expected)

UI evidence (if applicable)

None attached; the only UI change is the phone settings search row.

Summary by CodeRabbit

  • New Features
    • “Create posts now” reports which Creators were skipped or couldn’t publish.
    • Reports are included in backups and restores.
    • Settings search remains accessible on phones.
  • Bug Fixes
    • Prevented duplicate commission images when an acceptance is repeated.
    • Fan-facing responses no longer reveal stored image file locations.
    • Support desk throttling now uses the time of the current check.
  • Other
    • Updated regression test coverage for Slurp.

🔄 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/1315 **Author:** [@Gunterlie](https://github.com/Gunterlie) **Created:** 10/11/2026 **Status:** ✅ Merged **Merged:** 10/11/2026 **Merged by:** [@Gunterlie](https://github.com/Gunterlie) **Base:** `staging` ← **Head:** `fix/slurp-regressions` --- ### 📝 Commits (10+) - [`c8aee68`](https://github.com/Pasta-Devs/Marinara-Agents/commit/c8aee680dfcacdde0fd8be116e34f379a91e42b5) test(slurp): realign slurp-alive regression with live Slurp2 paths - [`122e31c`](https://github.com/Pasta-Devs/Marinara-Agents/commit/122e31c8822f69d6a170241ae8bb80c8735ba334) test(slurp): realign slurp-boundary regression with live Slurp2 names - [`4e3320b`](https://github.com/Pasta-Devs/Marinara-Agents/commit/4e3320bb63f5f7818680a7872373479c35223a08) test(slurp): realign campaign and chat-mood regressions with live Slurp2 code - [`6a9c0e2`](https://github.com/Pasta-Devs/Marinara-Agents/commit/6a9c0e22950ae567b7a2abc8199c0de2d666380f) test(slurp): realign commission-funnel regression with live delivery code - [`f423943`](https://github.com/Pasta-Devs/Marinara-Agents/commit/f423943d3bf40786bf7164ca5f7c9212c478127e) test(slurp2): update bughunt assertions to the live Slurp2 source - [`bd06cf3`](https://github.com/Pasta-Devs/Marinara-Agents/commit/bd06cf3fd58c6c135674fd2a043e470d8b042769) test(slurp2): fix image-context harness for the moved reply and prompt modules - [`5752ccb`](https://github.com/Pasta-Devs/Marinara-Agents/commit/5752ccbc319969fd5146d724dfc8a5e464078b03) test(slurp): realign connection-load regression with moved admission code - [`2d5e63a`](https://github.com/Pasta-Devs/Marinara-Agents/commit/2d5e63a82b6fcc572534d2aa759d07f0d976103e) test(slurp): realign continuity-editor regression with moved panels - [`7e31e60`](https://github.com/Pasta-Devs/Marinara-Agents/commit/7e31e608027ffd89f79e9c7f0b8649c8445149f7) test(slurp2): refresh client-hooks snapshot to the live client - [`04de6d3`](https://github.com/Pasta-Devs/Marinara-Agents/commit/04de6d37f89f89c14977f7af7eaab5f86ef29c0f) test(slurp2): point creator bulk-edit checks at the feature panels ### 📊 Changes **74 files changed** (+1922 additions, -1039 deletions) <details> <summary>View changed files</summary> 📝 `.github/workflows/noodle-browser.yml` (+13 -0) ➕ `artifacts/slurp2-0.3.22.zip` (+0 -0) 📝 `catalog/catalog.json` (+14 -14) 📝 `catalog/notes.json` (+6 -6) 📝 `catalog/v2/catalog.json` (+14 -14) 📝 `catalog/v2/notes.json` (+6 -6) 📝 `catalog/v3/catalog.json` (+14 -14) 📝 `catalog/v3/notes.json` (+6 -6) 📝 `package.json` (+2 -1) 📝 `packages/slurp2/CHANGELOG.md` (+9 -0) 📝 `packages/slurp2/client.js` (+61 -60) 📝 `packages/slurp2/manifest.json` (+11 -11) 📝 `packages/slurp2/server.mjs` (+269 -269) 📝 `packages/slurp2/src/engine/packages/client/src/slp/app/backstage/SlpBackstageShell.tsx` (+2 -2) 📝 `packages/slurp2/src/engine/packages/client/src/slp/features/creators/slp-creator-refresh-hooks.ts` (+26 -10) 📝 `packages/slurp2/src/engine/packages/client/src/slp/features/creators/slp-refresh-batch.ts` (+27 -2) 📝 `packages/slurp2/src/engine/packages/client/src/slp/features/onboarding/slp-release.ts` (+10 -1) 📝 `packages/slurp2/src/engine/packages/client/src/slp/locales/de.json` (+4 -0) 📝 `packages/slurp2/src/engine/packages/client/src/slp/locales/en.json` (+4 -0) 📝 `packages/slurp2/src/engine/packages/client/src/slp/locales/ko.json` (+4 -0) _...and 54 more files_ </details> ### 📄 Description > [!IMPORTANT] > Contributions target `staging`. Only `SpicyMarinara` may promote this repository's `staging` branch to `main`. ## Linked issue Closes #1314 ## Why this change 45 of the 282 Slurp regression files failed on `staging`, and CI ran only one of them, so they protected nothing and hid real defects. Realigning them surfaced six product defects, fixed here as slurp2 0.3.22. ## What changed - **Affected package:** `slurp2` 0.3.21 → 0.3.22 (patch). - **Product fixes** - Backups and restores include reports (the reports table was missing from the backup registry). - "Create posts now" names the Creators it skipped or could not post for again; counts and names come from one classifier, lists are capped at 5 + "+N", and an uncached Creator shows a neutral label instead of an id. New locale keys in en/de/ko/pl. - Commission accept holds a per-commission in-flight guard (same pattern as deliver), so a double tap or retry cannot draw the picture twice; released in `finally`. - The stored media path no longer reaches the client: stripped from mapped commissions and from the viewer mask for messages. Storage and server-internal callers keep it. - The settings search stays reachable on phones inside a section (own full row); desktop layout unchanged. - A Support desk tick checks its throttle against the tick time, not the wall clock (internal). - **Tests:** 45 regression files realigned with the current code (moved files via `tests/slurp2-source.ts` mappings, renamed functions/routes, redesigned panels). Assertions about Slurp 1 or removed layouts were removed with a comment. Several tests now execute shared helpers instead of matching source text. `slurp2-release-notes` checks the changelog/splash relation instead of a pinned version. - **CI:** new `scripts/run-slurp-regressions.mjs` (`npm run test:slurp:regressions`) runs every Slurp regression file, reports each failure, and exits non-zero on any failure, zero matched files, or a missing Engine root. It runs in the Slurp job of the Noodle and Slurp Package Browser workflow (that job has the Engine checkout two of the files need); the workflow now also triggers on the regression files and the runner. - Generated outputs rebuilt by the builder: `client.js`, `server.mjs`, `manifest.json`, `artifacts/slurp2-0.3.22.zip`, catalogs. ## Package and security impact - Affected package IDs: `slurp2` - Engine compatibility impact: none (`engine.min` unchanged) - New or changed permissions/entrypoints: none. Server route behavior: a concurrent second commission accept now answers 409; commission and message responses no longer carry the stored media path. - Restart, storage, update, or uninstall impact: backup files gain a `reports` section; a backup without it restores as before (the table is cleared like every other table in the total-replace restore). ## Validation Agent-run checks (boxes left for human verification): - `npm run test:slurp:regressions`: 283 of 283 files pass (before: 45 failing on `staging`). - `tests/slurp2-architecture.regression.ts`, `node scripts/typecheck-packages.mjs slurp2`, `npm run check`, `node scripts/test-catalog-lanes.mjs`, `node scripts/validate-package-locales.mjs`, `node scripts/validate-catalog.mjs`, `node scripts/tests/catalog-release-notes.regression.mjs`, `git diff --check`: pass. - Build: `node scripts/build-feature-packages.mjs slurp2` against a clean `origin/staging` Engine checkout (63006ab28). - Two independent read-only reviews. The first rejected one "fix" (public pictures ignoring the "Use the Creator's look" toggle — the toggle is intended; the stale test was corrected instead) and found the refresh-toast name/count mismatch. The second found the CI step placed in a job without an Engine checkout, the phone search not getting a full row, and the media path still reaching the client through message metadata. All findings are fixed. - A suspected money defect (refund reversal −144 vs −36) was traced and is correct: it is the 0.3.7 platform-earnings scaling. - [ ] `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 done: live install/update through the Engine UI, a browser check of the phone settings search at 390 px (covered by class assertions only), and a live backup/restore round trip with reports (covered by the registry regression). - Noted, not changed: `generateSlpPostImage` is not reachable from the server bundle (dead code). ## Documentation impact - [ ] No documentation changes needed (agent note: none expected) ## UI evidence (if applicable) None attached; the only UI change is the phone settings search row. <!-- This is an auto-generated comment: release notes by coderabbit.ai --> ## Summary by CodeRabbit - **New Features** - “Create posts now” reports which Creators were skipped or couldn’t publish. - Reports are included in backups and restores. - Settings search remains accessible on phones. - **Bug Fixes** - Prevented duplicate commission images when an acceptance is repeated. - Fan-facing responses no longer reveal stored image file locations. - Support desk throttling now uses the time of the current check. - **Other** - Updated regression test coverage for Slurp. <!-- 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:10:34 +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#1402
No description provided.