Previously, a new API for managing tasks were introduced (see #133263). However, this did not address roachtests that want to manage groups. In an effort to replace errgroup, and possibly using monitor.Go for task management this change introduces a group provider in the task manager.
A group adds the ability to wait on a subset of tasks to finish before proceeding. The task handler will still report returned errors or panics to the test framework.
Previously, a new API for managing tasks were introduced (see #133263). However, this did not address roachtests that want to manage groups. In an effort to replace
errgroup
, and possibly usingmonitor.Go
for task management this change introduces a group provider in the task manager.A group adds the ability to wait on a subset of tasks to finish before proceeding. The task handler will still report returned errors or panics to the test framework.
Informs: #118214
Epic: None Release note: None