Skip to content

fix: gate QPOV2 failed cards on active jobs#8742

Draft
benceruleanlu wants to merge 1 commit intomainfrom
codex/qpov2-assets-failed-active-gate
Draft

fix: gate QPOV2 failed cards on active jobs#8742
benceruleanlu wants to merge 1 commit intomainfrom
codex/qpov2-assets-failed-active-gate

Conversation

@benceruleanlu
Copy link
Member

@benceruleanlu benceruleanlu commented Feb 8, 2026

Summary

Shows failed/cancelled entries in QPOV2 assets sidebar only when there is at least one active job, preventing stale failed-only history from occupying the top half of the panel.

Changes

  • What: Added isAssetsSidebarJobState helper and updated assets sidebar list/grid to:
    • include non-completed states in the top jobs section
    • collapse that section when no active jobs exist
  • What: Added src/utils/queueUtil.test.ts coverage for active-state and assets-sidebar-state predicates.

Review Focus

  • Confirm QPOV2 behavior:
    • active + failed => both visible in top jobs area
    • failed-only history => top jobs area hidden/collapsed
  • Confirm no regressions in queue history overlay semantics.

┆Issue is synchronized with this Notion page by Unito

@coderabbitai
Copy link
Contributor

coderabbitai bot commented Feb 8, 2026

Important

Review skipped

Draft detected.

Please check the settings in the CodeRabbit UI or the .coderabbit.yaml file in this repository. To trigger a single review, invoke the @coderabbitai review command.

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.

  • 🔍 Trigger a full review
✨ Finishing touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Post copyable unit tests in a comment
  • Commit unit tests in branch codex/qpov2-assets-failed-active-gate

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands and usage tips.

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