Wait for Batch Task Group
omp_wait_groupPolls a task group until it reaches a terminal status, returning aggregated results in original order if completed within the timeout, or minimal progress counts if still running.
Instructions
Wait for an existing OMP task group to reach a terminal status, polling up to wait_seconds (0-240, default 60s). If completed, returns full aggregated compact results in original input order. If still running when deadline elapses, returns minimal progress counts without leaking task summaries.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| group_id | Yes | The unique group_id returned by omp_run_batch_compact | |
| wait_seconds | No | Maximum seconds to wait inside this call (0-240, default 60) |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| tasks | No | ||
| status | Yes | ||
| summary | Yes | ||
| group_id | Yes | ||
| total_tasks | Yes | ||
| failed_tasks | Yes | ||
| max_parallel | Yes | ||
| blocked_tasks | Yes | ||
| cancelled_tasks | Yes | ||
| completed_tasks | Yes |