Skip to content

fix(agents): reject empty agents list in runner helpers - #850

Closed
Bartok9 wants to merge 1 commit into
RobotecAI:mainfrom
Bartok9:aerial/agent-runner-empty-agents
Closed

Bartok9 wants to merge 1 commit into
RobotecAI:mainfrom
Bartok9:aerial/agent-runner-empty-agents

Conversation

@Bartok9

@Bartok9 Bartok9 commented Jul 25, 2026

Copy link
Copy Markdown
Contributor

AgentRunner([]) / run_agents([]) previously no-op'd or could hang on shutdown wait with nothing to stop. Require a non-empty agents list with a clear ValueError.

AI-assisted; human-reviewed.

Claim: bartok
Operator: bartok
Campaign: aerial-drone

AgentRunner and run_agents/wait_for_shutdown previously accepted [] and
would hang on wait or no-op silently. Require a non-empty agents list.

Signed-off-by: Bartok9 <danielrpike9@gmail.com>
@Bartok9
Bartok9 force-pushed the aerial/agent-runner-empty-agents branch from 2d4eb0f to 7462bfc Compare August 12, 2026 17:25
@maciejmajek

Copy link
Copy Markdown
Member

The guard is already there from #824, runner.py raises on an empty list in all three helpers.

@maciejmajek maciejmajek closed this Sep 7, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants