Skip to content

fix bug in includeexecutor#217

Merged
whotwagner merged 1 commit intoait-testbed:developmentfrom
thorinaboenke:fix_include_executor
Mar 30, 2026
Merged

fix bug in includeexecutor#217
whotwagner merged 1 commit intoait-testbed:developmentfrom
thorinaboenke:fix_include_executor

Conversation

@thorinaboenke
Copy link
Copy Markdown
Contributor

fixes #216

Fix IncludeExecutor not awaiting _run_commands

IncludeExecutor._exec_cmd called self.runfunc(playbook.commands) without await.

Changes:

  • includeexecutor.py: add await to the runfunc call; update the type hint from Callable[[Commands], None] to Callable[[Commands], Awaitable[None]] to match loopexecutor.py, which already had the correct pattern.
  • test/units/test_includeexecutor.py: new test file

@whotwagner whotwagner merged commit 7d39097 into ait-testbed:development Mar 30, 2026
1 check passed
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