t1434: make quality-debt cap and worker pool configurable#4127
t1434: make quality-debt cap and worker pool configurable#4127marcusquinn merged 1 commit intomainfrom
Conversation
|
Warning You have reached your daily quota limit. Please wait up to 24 hours and I will start processing your requests again! |
|
Missing issue link. This PR references issue #4122, but the PR body doesn't contain a closing keyword. Add |
|
Caution Review failedPull request was closed or merged during review No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info⚙️ Run configurationConfiguration used: Path: .coderabbit.yaml Review profile: CHILL Plan: Pro Run ID: 📒 Files selected for processing (5)
WalkthroughThis PR introduces configurable caps for worker pool sizing and quality-debt allocation in the pulse orchestration system by adding Changes
Sequence DiagramsequenceDiagram
participant Config as Configuration Layer
participant Wrapper as pulse-wrapper.sh
participant Allocator as Priority Allocator
participant State as State File
participant Pulse as pulse.md (Dispatcher)
Config->>Wrapper: Provide max_workers_cap & quality_debt_cap_pct
Wrapper->>Wrapper: Validate & clamp QUALITY_DEBT_CAP_PCT (max 100)
Wrapper->>Allocator: Calculate priority allocations<br/>with capped quality-debt %
Allocator->>Allocator: Compute max quality-debt slots<br/>= floor(MAX_WORKERS * CAP_PCT / 100)
Allocator->>State: Write QUALITY_DEBT_CAP_PCT<br/>to allocation state
State->>Pulse: Provide pre-fetched state with cap value
Pulse->>Pulse: Check if QUALITY_DEBT_CURRENT<br/>>= QUALITY_DEBT_MAX
alt Capacity Available
Pulse->>Pulse: Dispatch quality-debt work
else Capacity Exceeded
Pulse->>Pulse: Skip quality-debt dispatch
end
Estimated code review effort🎯 3 (Moderate) | ⏱️ ~25 minutes Possibly related PRs
Suggested labels
Poem
🚥 Pre-merge checks | ✅ 3✅ Passed checks (3 passed)
✏️ Tip: You can configure your own custom pre-merge checks in the settings. ✨ Finishing Touches
🧪 Generate unit tests (beta)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
🔍 Code Quality Report�[0;35m[MONITOR]�[0m Code Review Monitoring Report �[0;34m[INFO]�[0m Latest Quality Status: �[0;34m[INFO]�[0m Recent monitoring activity: 📈 Current Quality Metrics
Generated on: Wed Mar 11 04:12:51 UTC 2026 Generated by AI DevOps Framework Code Review Monitoring |
|



Summary
orchestration.quality_debt_cap_pct(30) andorchestration.max_workers_cap(8)config-helper.shand consumes the keys inpulse-wrapper.shVerification
bash -n .agents/scripts/pulse-wrapper.sh && bash -n .agents/scripts/config-helper.shpython3 -m json.tool .agents/configs/aidevops-config.schema.json >/dev/nullJSONC_DEFAULTS=.agents/configs/aidevops.defaults.jsonc JSONC_SCHEMA=.agents/configs/aidevops-config.schema.json .agents/scripts/config-helper.sh get orchestration.quality_debt_cap_pctJSONC_DEFAULTS=.agents/configs/aidevops.defaults.jsonc JSONC_SCHEMA=.agents/configs/aidevops-config.schema.json .agents/scripts/config-helper.sh get orchestration.max_workers_capSummary by CodeRabbit