refactor(loadgen): use WaitGroup.Go for scheduled workloads - #3434
refactor(loadgen): use WaitGroup.Go for scheduled workloads#3434daixiheguu wants to merge 1 commit into
Conversation
|
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info⚙️ Run configurationConfiguration used: defaults Review profile: CHILL Plan: Pro Plus Run ID: 📒 Files selected for processing (1)
Included review availability: Your plan provides up to 2 included reviews per hour; 1 remains after this review. 📝 WalkthroughWalkthroughThe scheduler replaces manual ChangesWorkload launch synchronization
Estimated code review effort: 1 (Trivial) | ~5 minutes Merge Risk: ⚪ Minimal · up to This localized refactor changes goroutine lifecycle accounting without changing workload scheduling or completion behavior. No actionable merge-blocking risk remains after normal checks and review. 🚥 Pre-merge checks | ✅ 4 | ❌ 1❌ Failed checks (1 warning)
✅ Passed checks (4 passed)
✨ 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 |
Overview
Replace manual
WaitGroup.Add/Donewrappers withWaitGroup.Gofor immediate, regular, and burst load-generator workloads. This keeps goroutine creation and lifecycle accounting together without changing scheduling, workload parameters, or completion behavior.More info: golang/go#63796
Summary by CodeRabbit