Skip to content

Show over-budget costs and refresh artwork previews after verified renames - #72

Merged
kudama merged 2 commits into
mainfrom
fix/report-over-budget-cost
Nov 19, 2026
Merged

kudama merged 2 commits into
mainfrom
fix/report-over-budget-cost

Conversation

@kudama

@kudama kudama commented Nov 19, 2026 •

Copy link
Copy Markdown
Owner

Failed cost checks now report the estimated total and option count, applicable batch budget and Gems over budget. Monthly reservation/submission failures report cost and remaining allowance. Budget and approval gates remain unchanged; failed checks never submit generation.

Artwork preview loading also follows a rematched Plex identity only after a verified Curator rename: require the same configured library, one exact destination path, unchanged local fingerprint and matching target type. Refresh only the cached asset identity and artwork, invalidate old thumbnails, and preserve task/approval IDs. Reopened preview/current-artwork URLs carry fresh revisions. No artwork is uploaded, selected or replaced by this read path. Ambiguous, untracked or changed sources are rejected. This is cache reconciliation, not automatic artwork restoration (#70).

Validation: 470 Python tests passed (3 optional skips), 107 JavaScript checks passed. Regressions cover budget error details and disabled generation, preserved reservations, verified rematching, ambiguity/changed-source refusal, stable task identity and fresh preview URLs. Provider calls are mocked; no paid generation or budget configuration changes. Tracks #55, #56; partially addresses cached identity behavior in #70.

@kudama kudama changed the title Report estimated Gems cost when budget checks reject generation Show over-budget costs and refresh artwork previews after verified renames Nov 19, 2026
@kudama
kudama merged commit 4995066 into main Nov 19, 2026
4 checks passed

kudama commented Nov 19, 2026

Copy link
Copy Markdown
Owner Author

2026-11-18: PR #72 deployed as 4995066. CI passed on Python 3.11/3.13; local validation passed 470 Python tests (3 optional skips) and 107 JavaScript checks. Guarded rollout verified a private backup, unchanged startup task records, catalog preservation and all 74 waiting jobs/settings intact.

Verified the reported rematched item through the live APIs: cover and background bytes match current Plex images; list thumbnail bytes match the cover; the stable Curator asset ID and related task records are unchanged. Only the cached Plex identity was refreshed. No Plex artwork was uploaded, selected or replaced. Failed budget checks now include estimated cost, option count, budget/remaining allowance and Gems over budget, while Generate remains blocked. No paid generation or budget configuration changes were made.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant