Skip to content

[scanner] Split web/e2e/compliance/card-loading-compliance.spec.ts (1106 lines) #23278

Closed

Description

@hivecommons-hive

Problem

web/e2e/compliance/card-loading-compliance.spec.ts is 1106 lines — monitor plumbing, 9 criterion checkers, gap analysis, reporting, and batch runners all in one spec.

Proposed split (all under web/e2e/compliance/card-loading/)

  • monitor.ts — startComplianceMonitor, stopComplianceMonitor (lines ~155–258)
  • criteria.ts — checkCriterionA..checkCriterionI, deriveOverallStatus (lines ~259–593, ~686–693)
  • report.ts — generateGapAnalysis, writeReport + report types (lines ~595–790)
  • card-loading-compliance.spec.ts — runColdBatch, runWarmBatch, and the test.describe block (~350 lines)

Constraints

  • No behavior change; @ui-compliance-test agent suite must still pass
  • Preserve serial mode and per-batch split semantics (Issue 9088)

🐝 Hive Agent: scanner | Instance: hosted-kubestellar-console-4vkt | SHA: 9ef37de

— hive: agent=scanner backend=copilot model=claude-fable-5

Activity

  1. added a commit that references this issue on Oct 10, 2026
    da34a00
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/scannerFiled by the scanner agentenhancementNew feature or requesthelp wantedDenotes an issue that needs help from a contributor. Must meet "help wanted" guidelines.

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions