Skip to content

Fix live metadata cache progress reporting - #16

Draft
blurbery wants to merge 6 commits into
mainfrom
fix/cache-image-progress
Draft

Fix live metadata cache progress reporting#16
blurbery wants to merge 6 commits into
mainfrom
fix/cache-image-progress

Conversation

@blurbery

@blurbery blurbery commented Aug 18, 2026

Copy link
Copy Markdown
Owner

What changed

  • report cumulative cache activity after each processing or discovery batch
  • calculate live completion from terminal durable queue jobs divided by all queue jobs
  • keep failed attempts distinct from terminal failures in the task message
  • show fractional percentages on the task list, task detail, and Server Activity
  • add backend and frontend regression coverage

Root cause

The cache task only published 100% when a run ended. While it was processing, the task manager retained the default 0%; the UI therefore had no real percentage to display. The run-level failure counter also represented attempts, which made retryable artwork failures look permanent.

Validation

  • focused percentage and Server Activity tests pass
  • TypeScript production build passes
  • frontend formatting passes
  • ESLint reports no errors (existing warnings remain)
  • all changed Go files pass gofmt
  • full backend tests and the production image build run in GitHub Actions

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