fix: revert MAX_WORKERS_CAP config key to match config system#4469
fix: revert MAX_WORKERS_CAP config key to match config system#4469marcusquinn merged 1 commit intomainfrom
Conversation
PR #4453 changed the config_get key from 'orchestration.max_workers_cap' to 'orchestration.max_concurrent_workers'. But the config system reads from config.jsonc (not settings.json), and config.jsonc uses the key 'max_workers_cap'. The key change caused config_get to miss the user's value (24) and fall back to the hardcoded default of 8, capping the pulse at 8 workers regardless of config.
|
Warning You have reached your daily quota limit. Please wait up to 24 hours and I will start processing your requests again! |
|
Caution Review failedThe pull request is closed. ℹ️ Recent review info⚙️ Run configurationConfiguration used: Path: .coderabbit.yaml Review profile: CHILL Plan: Pro Run ID: 📒 Files selected for processing (1)
WalkthroughThe pull request modifies Changes
Estimated code review effort🎯 1 (Trivial) | ⏱️ ~3 minutes Possibly related PRs
Poem
✨ Finishing Touches
🧪 Generate unit tests (beta)
📝 Coding Plan
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: Fri Mar 13 22:46:54 UTC 2026 Generated by AI DevOps Framework Code Review Monitoring |
|



Summary
PR #4453 changed the
config_getkey fromorchestration.max_workers_captoorchestration.max_concurrent_workers. This was wrong — the config system reads fromconfig.jsonc, notsettings.json, andconfig.jsoncuses the keymax_workers_cap.The key change caused
config_getto miss the user's value (24) and fall back to the hardcoded default of 8, capping the pulse at 8 workers regardless of config.Root cause
Two config files exist:
~/.config/aidevops/settings.json— hasorchestration.max_concurrent_workers(legacy)~/.config/aidevops/config.jsonc— hasorchestration.max_workers_cap(authoritative, used byconfig_get)PR #4453 assumed
settings.jsonwas authoritative. It's not —config_get()readsconfig.jsoncvia_get_merged_config().Fix
Revert the key to
orchestration.max_workers_cap. The user'sconfig.jsoncalready hasmax_workers_cap: 24.Summary by CodeRabbit