Skip to content

Conversation

filintod
Copy link

@filintod filintod commented Aug 20, 2025

Add async workflow capabilities

  • Introduced a new durabletask.aiopackage for async workflows, including AsyncWorkflowContext and related awaitables.
  • Added deterministic utilities to ensure consistent behavior across executions.
  • Enhanced error handling and debugging features for async workflows.
  • Updated README and added documentation for new async features.
  • Introduced comprehensive tests for async functionality, including compatibility checks and integration tests.
  • An addition not directly related to asyncIO is adding options for grpc keepalive and retry that are important to have when sidecar is not local (like shared dapr)

This PR is stacked over #23

This PR is different to #17 that is targeting the client api surface, so there is no real overlap.

@filintod filintod changed the title add asyncio processing compatibility allow asyncio in workflow deterministic path processing Sep 29, 2025
filintod and others added 3 commits October 9, 2025 19:43
… on the complete action.

Linting
- Normalize strings to use double-quotes consistently across tests and source files as used in msft durabletask.
- Run ruff format
- Add `test_continue_as_new_with_activity_e2e` for better coverage of `continue_as_new` functionality.
- Modify `.flake8` for extended exclusions and per-file ignores.
- Introduce `tox.ini` for test environment configurations and streamline linting, typing, and example validation.

Signed-off-by: Filinto Duran <1373693+filintod@users.noreply.github.com>
Co-authored-by: Albert Callarisa <albert@acroca.com>
Signed-off-by: Filinto Duran <1373693+filintod@users.noreply.github.com>
…s.txt` and update related files and workflows.

Dump flake8 and use ruff that covers format and linting.

Update readme

Signed-off-by: Filinto Duran <1373693+filintod@users.noreply.github.com>
@filintod filintod marked this pull request as ready for review October 10, 2025 15:59
- Introduced a new `durabletask.aio` package for async workflows, including `AsyncWorkflowContext` and related awaitables.
- Added deterministic utilities to ensure consistent behavior across executions.
- Enhanced error handling and debugging features for async workflows.
- Updated README and added documentation for new async features.
- Introduced comprehensive tests for async functionality, including compatibility checks and integration tests.

Signed-off-by: Filinto Duran <1373693+filintod@users.noreply.github.com>
Signed-off-by: Filinto Duran <1373693+filintod@users.noreply.github.com>
Signed-off-by: Filinto Duran <1373693+filintod@users.noreply.github.com>
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.

1 participant