Skip to content

Conversation

@t0mmylam
Copy link
Collaborator

@t0mmylam t0mmylam commented Oct 7, 2025

Implements configurable deployment strategies for Skyhook Safe Rollouts with compartment-based batch processing and failure handling.

Features Added

  • Three Deployment Strategies: Fixed, Linear, and Exponential batch sizing
  • Safety Limits: Only slow down on errors when rollout progress < safetyLimit (default 50%)
  • Failure Thresholds: Auto-pause after consecutive batch failures with configurable thresholds
  • Pass/Fail Logic: Evaluate batch success based on batchThreshold percentage
  • Compartment Integration: Per-compartment batch processing with budget enforcement
  • Batch Persistence: Track batch state across reconciles in Skyhook status

Strategy Behavior

  • Fixed: Constant batch size throughout rollout
  • Linear: Grows by delta each successful batch (initialBatch + n*delta)
  • Exponential: Multiplies by growthFactor each successful batch (initialBatch * factor^n)

Implementation Details

  • Added BatchProcessingState to track batch progress and failures
  • Enhanced Compartment wrapper with batch processing logic
  • Integrated batch evaluation into IntrospectSkyhook for proper state management
  • Comprehensive unit tests

lockwobr
lockwobr previously approved these changes Oct 13, 2025
@t0mmylam t0mmylam merged commit a60e367 into main Oct 14, 2025
7 checks passed
@t0mmylam t0mmylam deleted the strategy branch October 14, 2025 15:52
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