Skip to content

feat: add explicit async command adapter - #200

Merged
codeforester merged 1 commit into
mainfrom
enhancement/191-20260809-async-adapter
Aug 9, 2026
Merged

feat: add explicit async command adapter#200
codeforester merged 1 commit into
mainfrom
enhancement/191-20260809-async-adapter

Conversation

@codeforester

Copy link
Copy Markdown
Contributor

Summary

  • add App.async_command() for explicit async callbacks
  • add base_cli.run_async() with adapter-owned loop and nested-loop guard
  • preserve the synchronous lifecycle, context, logging, cleanup, and exit-code boundary
  • add public API, contract, and lifecycle tests plus documentation

Validation

  • python -m pytest (all tests passed)
  • ruff check --fix and ruff format --check
  • python -m mypy --strict lib/python/base_cli
  • scripts/validate_docs.py
  • ./tests/validate.sh
  • git diff --check

Closes #191

@codeforester
codeforester merged commit 5cc10fd into main Aug 9, 2026
91 checks passed
@codeforester
codeforester deleted the enhancement/191-20260809-async-adapter branch August 9, 2026 16:35
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.

[v1.0] Add an explicit async lifecycle adapter

1 participant