Skip to content

Conversation

@t0mmylam
Copy link
Collaborator

Key Changes

  • Added CompartmentStatus type with detailed fields (matched, ceiling, inProgress, completed, progressPercent, batchState)
  • Replaced CompartmentBatchStates with CompartmentStatuses in API
  • Removed PersistCompartmentBatchStates() - ReportState() now handles all status updates via buildCompartmentStatus()
  • Consolidated duplicate ceiling calculation functions
  • Fixed partitionNodesIntoCompartments() to skip skyhooks without deployment policies

Benefits

  • Single source of truth for status updates
  • Better compartment observability with detailed metrics
  • Reduced code duplication
  • Correct node counts in status

@t0mmylam t0mmylam merged commit 23ba1a6 into main Oct 21, 2025
7 checks passed
@t0mmylam t0mmylam deleted the status branch October 21, 2025 22:12
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.

3 participants