mirror of
https://github.com/Pasta-Devs/Marinara-Agents.git
synced 2026-12-03 18:55:07 +07:00
[GH-ISSUE #1184] [Issue]: Gacha Forge 1.8.9 — art is painted twice when image generation is slow #604
Labels
No labels
agent: chess
agent: conversation-calls
agent: eightball
agent: haptic
agent: hierarchical-maps
agent: hierarchical-maps
agent: illustrator
agent: poker
agent: rock-paper-scissors
agent: tic-tac-toe
agent: uno
artifacts
bug
bugfix
build
catalog
ci
client
dependencies
docs
documentation
enhancement
feature
fixed-in-staging
in-pr
normal-scope
packages
pull-request
qol
regression
roadmap
scope-risk
server
soup
upstream
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
Pasta-Devs/Marinara-Agents#604
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @SonaGat3 on GitHub (Oct 1, 2026).
Original GitHub issue: https://github.com/Pasta-Devs/Marinara-Agents/issues/1184
Originally assigned to: @SonaGat3 on GitHub.
Summary
On a slow image connection, Gacha Forge pays for the same picture twice. A player reported it: "for some reason generated all the backgrounds and enemies for a chapter and then decided to generate them all a second time". The same happens to banner art, portraits, key images, Bond backgrounds and outfits.
Affected package
gacha-forgeExpected behavior
A picture that is already being painted, or already painted, is not painted again. A second request for it gets the first one.
Actual behavior
Every painter asked "is this already painted?" when it was queued, then waited for the image connection's turn. Its lock (
dedupe) has a 20-minute ceiling. On a slow connection the queue outlives it: the next request (the client re-warms a chapter's fights on every plan load; the boot re-warms the featured banner and its outfits; every won fight re-pays a Bond background still owed) finds the lock expired and nothing filed yet, and queues the whole batch again. Both are paid for.Two more gaps in the same painters:
documents.update: on a write conflict the route answeredok, the paid picture had no owner, and the next request painted it again.Steps to reproduce
Environment
staging)staging)Logs, screenshots, or video
Measured on the package's own bench, with the painter held and the clock moved past the ceiling: two requests → two paintings for each banner, portrait, key image and Bond background, and 6 for a rotation of 3 outfits.
Additional context
The chat photo is requested once, when its message arrives, and nothing asks for it again, so it cannot be painted twice; it is left as it is.
Template check
Please uncheck (untick) the box below before submitting so we know you read the template. It is intentionally pre-checked: