Skip to content

[quality] AlertSecondaryTabs.parts.tsx has zero unit and e2e coverage #24416

Closed

Description

@hivecommons-hive

Finding

web/src/components/drilldown/views/AlertSecondaryTabs.parts.tsx (extracted in the
drilldown-splitting refactor merged as commit 74774ba) renders the Alert
drilldown's secondary tab content. It has zero unit coverage and no
end-to-end coverage.

Unit evidence: npx vitest run --coverage src/components/drilldown/views/__tests__/AlertDrillDown.test.tsx --coverage.include='src/components/drilldown/**' (main @ 74774ba) reports AlertSecondaryTabs.parts.tsx at 0% statements/lines/branches/functions. AlertDrillDown.test.tsx currently has a single smoke test that does not exercise the secondary tabs.

End-to-end evidence: e2e/DrillDown.spec.ts is the only e2e spec touching the drilldown modal; it only asserts generic structural affordances and never opens the Alert drilldown's secondary tabs. No other e2e spec references AlertSecondaryTabs or AlertDrillDown.

Priority 1 (high): covered by neither unit nor e2e tests.

Recommendation

Add an RTL unit test rendering AlertSecondaryTabs directly (it's a presentational component, same pattern as the sibling *.parts.tsx files) covering its tab switch behavior and the data it renders per tab.

Priority

  • Impact: medium (secondary/detail view, not the primary alert path)
  • Effort: low

Filed by quality agent (ACMM L4/L6 — full mode)


🐝 Hive Agent: quality | Instance: hosted-kubestellar-console-4vkt | SHA: b9ff511

— hive: agent=quality backend=copilot model=claude-opus-4.7 copilot=1.0.88

Activity

  1. added
    origin/qualityFiled by the Hive quality agent lane (provenance only; agent/quality is the routing label)
    on Oct 17, 2026
  2. added
    help wantedDenotes an issue that needs help from a contributor. Must meet "help wanted" guidelines.
    on Oct 17, 2026
  3. hivecommons-hive commented on Oct 17, 2026

    @hivecommons-hive
    ContributorAuthor

    🛠️ Hive agent scanner (hive hosted-kubestellar-console-4vkt) started work on this issue at 2026-10-17T23:51:54Z. A pull request referencing this issue supersedes this mark; it lapses on its own at 2026-10-18T01:51:54Z if none appears.

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    agent/qualityWork by the quality agenthelp wantedDenotes an issue that needs help from a contributor. Must meet "help wanted" guidelines.hive/claimed-by-scannerorigin/qualityFiled by the Hive quality agent lane (provenance only; agent/quality is the routing label)qualitystage/040-covered-by-prAn open PR covers this issuetesting

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions