Release: GPU re-process trigger (apply new crop detectors to the existing library) #156

Merged
bvandeusen merged 1 commits from dev into main 2026-06-30 16:13:36 -04:00
Owner

Follow-up to #155. Adds the "Re-process library" trigger so the new crop detectors (#1202) can be applied to the existing back-catalogue, not just new images — reprocess_gpu_jobs resets done/error jobs to pending, POST /api/gpu/reprocess, and a GpuAgentCard button. Server-side only (web/ml); the agent image is unchanged from #155. CI green on dev (run 1742).

🤖 Generated with Claude Code

Follow-up to #155. Adds the "Re-process library" trigger so the new crop detectors (#1202) can be applied to the existing back-catalogue, not just new images — `reprocess_gpu_jobs` resets done/error jobs to pending, `POST /api/gpu/reprocess`, and a GpuAgentCard button. Server-side only (web/ml); the agent image is unchanged from #155. CI green on dev (run 1742). 🤖 Generated with [Claude Code](https://claude.com/claude-code)
bvandeusen added 1 commit 2026-06-30 16:13:31 -04:00
feat(gpu): re-process trigger to apply new crop detectors to the existing library (#1202)
CI / lint (push) Successful in 3s
CI / frontend-build (push) Successful in 19s
CI / backend-lint-and-test (push) Successful in 27s
CI / integration (push) Successful in 3m25s
80f8eb4756
The siglip/ccip backfills skip images that already have current-version regions,
so adding crop detectors only affected NEW images — the back-catalogue would
never be re-cropped. Add a reprocess trigger that resets every done/error job of
a task back to pending, so the agent re-runs the FULL pipeline (figure detection
+ CCIP + concept/panel crops) over the whole library under the current detectors.

- reprocess_gpu_jobs(task='ccip') task + POST /api/gpu/reprocess.
- gpu store reprocess() + GpuAgentCard "Re-process library (re-detect + re-crop)"
  button with a confirm (it's heavy).
- Test: a done job resets to pending (attempts cleared).

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01Ttrj5P7upUTueSfoJcxEqa
bvandeusen merged commit 5f2853168a into main 2026-06-30 16:13:36 -04:00
Sign in to join this conversation.
No Reviewers
No Label
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: bvandeusen/FabledCurator#156