Flux Status Progress

April 23, 2026 ยท View on GitHub

Status

Implemented in console workspace.

Completed

  • Added Flux card module at web/src/components/cards/flux_status/.
  • Implemented demo data and live data aggregation for:
    • GitRepository
    • Kustomization
    • HelmRelease
  • Implemented card UI with loading, error, not-installed, and degraded/healthy states.
  • Registered card in core surfaces:
    • cardRegistry.ts
    • cardMetadata.ts
    • cardCatalog.ts
    • card config registry (config/cards/index.ts)
  • Added config file: web/src/config/cards/flux-status.ts.
  • Added marketplace reconcile mapping: cncf-flux -> flux_status.
  • Added i18n keys for title, description, and card labels/messages.
  • Added tests:
    • Flux helper tests
    • GitOps config suite includes flux config
    • Marketplace mapping test for cncf-flux
    • Unified hook registration expectation for useFluxStatus

Integration Note

  • Added unified data hook registration for useFluxStatus in web/src/lib/unified/registerHooks.ts so the config-driven card path resolves correctly.

Validation Run

  • Build: passed (npm --prefix /home/linux/LFX/console/web run build).
  • Card registry integrity: passed (npm --prefix /home/linux/LFX/console/web run test:card-registry).
  • Targeted tests: passed, including:
    • src/components/cards/flux_status/__tests__/helpers.test.ts
    • src/hooks/__tests__/useMarketplace.test.ts
    • src/config/cards/__tests__/card-configs-gitops.test.ts
    • src/lib/unified/__tests__/registerHooks.test.ts
    • src/lib/unified/__tests__/registerHooks-coverage.test.ts
    • src/test/card-loading-standard.test.ts
    • src/test/card-factory-validation.test.ts
    • src/config/cards/__tests__/card-configs-registry.test.ts

Remaining Follow-up

  • Full repo lint currently fails because of existing baseline issues outside this feature scope.
  • Marketplace repository updates (console-marketplace preset + registry status flip) are still pending and should be handled in that repo.