Show job selection summary and estimated final size on queue cards #26

Merged
cheapnud merged 4 commits from d/queue-job-summary into master 2026-08-22 15:56:24 +00:00
Owner
No description provided.
Show job selection summary and estimated final size on queue cards
Some checks failed
Build & Test / Build and Test (pull_request) Failing after 10m6s
Claude PR Review / AI Code Review (pull_request) Has started running
532859e398
Queue cards now list what the job was configured with: encoder and quality
(labeled per encoder family), export preset name, resolution, frame rate,
audio settings, selected tracks, render range and post action. While a job
renders, the final file size is extrapolated from bytes written vs progress.
Retrigger CI
All checks were successful
Claude PR Review / AI Code Review (pull_request) Successful in 13s
Build & Test / Build and Test (pull_request) Successful in 44s
659d37715a

🤖 Claude AI Code Review

  1. Summary
    Adds a selection summary chip row and estimated final size to render job cards, plus a PresetName field for display.

  2. Code Quality
    Clean, defensive parsing with sensible caching and thoughtful edge-case handling (low-progress ratio guard, null codecs).

  3. Issues

🟢 RenderJobCard.razor — _estimatedFinalSize is only recalculated inside OnFileSizeTimerElapsed when the output file exists. If progress reaches ≥3% but the file check path changes/misses a tick, the chip may show a stale estimate. Minor; likely acceptable given the timer refresh cadence.

🟢 RenderJobCard.razor — division uses progress / 100.0 after Math.Min(..., 100), but if ProgressPercentage can be negative (unlikely), the estimate would go nonsensical. Guard is >= 3 so effectively safe.

  1. Verdict: APPROVE

The code is well-structured and defensive. No real bugs, resource leaks, or breaking changes found.


📊 Tokens: 4513 input + 385 output | 💰 Cost: ~$0.0322
Generated by Claude Opus 4.8 via Gitea Actions

## 🤖 Claude AI Code Review 1. **Summary** Adds a selection summary chip row and estimated final size to render job cards, plus a `PresetName` field for display. 2. **Code Quality** ⭐⭐⭐⭐☆ Clean, defensive parsing with sensible caching and thoughtful edge-case handling (low-progress ratio guard, null codecs). 3. **Issues** 🟢 RenderJobCard.razor — `_estimatedFinalSize` is only recalculated inside `OnFileSizeTimerElapsed` when the output file exists. If progress reaches ≥3% but the file check path changes/misses a tick, the chip may show a stale estimate. Minor; likely acceptable given the timer refresh cadence. 🟢 RenderJobCard.razor — division uses `progress / 100.0` after `Math.Min(..., 100)`, but if `ProgressPercentage` can be negative (unlikely), the estimate would go nonsensical. Guard is `>= 3` so effectively safe. 4. **Verdict**: **APPROVE** The code is well-structured and defensive. No real bugs, resource leaks, or breaking changes found. --- 📊 **Tokens**: 4513 input + 385 output | 💰 **Cost**: ~$0.0322 *Generated by Claude Opus 4.8 via Gitea Actions*
Guard against null codec fields in queue card summary
Some checks failed
Claude PR Review / AI Code Review (pull_request) Failing after 13s
Build & Test / Build and Test (pull_request) Failing after 13s
9e79a97936
Retrigger CI
All checks were successful
Claude PR Review / AI Code Review (pull_request) Successful in 14s
Build & Test / Build and Test (pull_request) Successful in 39s
c0d644f056
cheapnud merged commit ac8cd11a5a into master 2026-08-22 15:56:24 +00:00
Sign in to join this conversation.
No reviewers
No labels
No milestone
No project
No assignees
2 participants
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
cheapnud/CheapShotcutRandomizer!26
No description provided.