[GH-ISSUE #684] Slurp generates a post every poll and spams image and text connections #353

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

Originally created by @Gunterlie on GitHub (Sep 2, 2026).
Original GitHub issue: https://github.com/Pasta-Devs/Marinara-Agents/issues/684

Report

Users report that Slurp keeps sending requests to their image and text connections. A user token log shows two steady streams while Slurp is otherwise idle:

  • a ~1,510-token prompt every ~75 seconds (60s poll + work, re-armed after completion)
  • a ~22–25k-token prompt roughly once per poll

Root cause

slurp-generation.service.ts and slurp-public-generation.service.ts both pass admissionMode to withConnectionFallbackProvider. That function's ConnectionFallbackProviderArgs has no admissionMode field. Packages bundle with esbuild and this repository has no typecheck gate, so the property is dropped in silence.

Two consequences:

  1. The daily budget is never claimed. claimNoodlerAutomaticAttempt is only reachable from admissionMode.beforeAttempt. With the mode discarded it never runs, so postsPerDay limits nothing and the reserve poll generates a complete post on every 60-second pass.
  2. Automatic work never yields. Background admission never engages, so unattended generation does not defer to what the user is doing and never reports a busy connection.

The large stream is those per-poll post generations. The small stream is rewriteNoodleImagePrompt (NOODLE_IMAGE_INTERPRET), which every image generation runs against getDefaultForAgents() first — so each unbudgeted post pulls a text call along behind it. That is why one loop bills both the image and the text connection.

Contributing problems

  • The reserve and audience polls re-arm at a flat 60s after a failure. A failed attempt deliberately does not burn daily budget, so nothing else slows a failing poll down.
  • The creator artwork backfill runs on every reserve poll, even with automatic posting off, and passed no admission mode at all — unattended image work at foreground priority, retried once a minute for ever.
  • When a post's image fails, the failure path finalizes with imagePrompt: null. The post publishes without its picture and the prompt is gone, so the image can never be recovered and the day's slot is spent on an incomplete post.

Expected

  • postsPerDay bounds automatic generation, and automatic work yields to the user.
  • A provider that keeps failing is retried progressively less often.
  • A post that lost its picture keeps its prompt and is redrawn later, automatically or on demand.
Originally created by @Gunterlie on GitHub (Sep 2, 2026). Original GitHub issue: https://github.com/Pasta-Devs/Marinara-Agents/issues/684 ## Report Users report that Slurp keeps sending requests to their image and text connections. A user token log shows two steady streams while Slurp is otherwise idle: - a ~1,510-token prompt every ~75 seconds (60s poll + work, re-armed after completion) - a ~22–25k-token prompt roughly once per poll ## Root cause `slurp-generation.service.ts` and `slurp-public-generation.service.ts` both pass `admissionMode` to `withConnectionFallbackProvider`. That function's `ConnectionFallbackProviderArgs` has no `admissionMode` field. Packages bundle with esbuild and this repository has no typecheck gate, so the property is dropped in silence. Two consequences: 1. **The daily budget is never claimed.** `claimNoodlerAutomaticAttempt` is only reachable from `admissionMode.beforeAttempt`. With the mode discarded it never runs, so `postsPerDay` limits nothing and the reserve poll generates a complete post on every 60-second pass. 2. **Automatic work never yields.** Background admission never engages, so unattended generation does not defer to what the user is doing and never reports a busy connection. The large stream is those per-poll post generations. The small stream is `rewriteNoodleImagePrompt` (`NOODLE_IMAGE_INTERPRET`), which every image generation runs against `getDefaultForAgents()` first — so each unbudgeted post pulls a text call along behind it. That is why one loop bills both the image and the text connection. ## Contributing problems - The reserve and audience polls re-arm at a flat 60s after a failure. A failed attempt deliberately does not burn daily budget, so nothing else slows a failing poll down. - The creator artwork backfill runs on every reserve poll, even with automatic posting off, and passed no admission mode at all — unattended image work at foreground priority, retried once a minute for ever. - When a post's image fails, the failure path finalizes with `imagePrompt: null`. The post publishes without its picture and the prompt is gone, so the image can never be recovered and the day's slot is spent on an incomplete post. ## Expected - `postsPerDay` bounds automatic generation, and automatic work yields to the user. - A provider that keeps failing is retried progressively less often. - A post that lost its picture keeps its prompt and is redrawn later, automatically or on demand.
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#353
No description provided.