Skip to content

fix(communication): require positive callback_max_workers - #849

Closed
Bartok9 wants to merge 1 commit into
RobotecAI:mainfrom
Bartok9:aerial/callback-max-workers-positive
Closed

Bartok9 wants to merge 1 commit into
RobotecAI:mainfrom
Bartok9:aerial/callback-max-workers-positive

Conversation

@Bartok9

@Bartok9 Bartok9 commented Jul 25, 2026

Copy link
Copy Markdown
Contributor

Validate BaseConnector(callback_max_workers=...) is a positive int before constructing ThreadPoolExecutor. Unit tests for reject/accept paths.

AI-assisted; human-reviewed.

Claim: bartok
Operator: bartok
Campaign: aerial-drone

ThreadPoolExecutor rejects non-positive max_workers with a generic error.
Validate callback_max_workers as a positive int up front on BaseConnector.

Signed-off-by: Bartok9 <danielrpike9@gmail.com>
@Bartok9
Bartok9 force-pushed the aerial/callback-max-workers-positive branch from 983af30 to 3affc4a Compare August 12, 2026 17:25
@maciejmajek

Copy link
Copy Markdown
Member

Already on main via #824, see base_connector.py:75.

@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