Skip to content

feat(cli, python-sdk): task management#83

Merged
mikhailNumerous merged 32 commits into
mainfrom
feat_app_tasks
Apr 17, 2026
Merged

feat(cli, python-sdk): task management#83
mikhailNumerous merged 32 commits into
mainfrom
feat_app_tasks

Conversation

@mikhailNumerous
Copy link
Copy Markdown
Contributor

Adds task management support across the CLI and Python SDK.

mikhailNumerous and others added 30 commits September 13, 2025 19:50
And use task `name` instead of `id` in user output
Functional core
New unified TaskController with should_stop/request_stop/progress/status/output.
Thread-safety: per-instance lock; all setters and status/progress/result updates use it.
Executor protocol TaskExecutor and LocalThreadTaskExecutor; _get_executor now returns protocol.
In-memory InMemoryTaskStore backing register_*/get_*/list_*.
DX helpers on instances: stop(), get_progress(), get_status(), get_output(), logs().
OO module
Added a per-instance lock and wrapped progress/status/output updates and status transitions with it.
* Remove duplicated logic.
* Move example code to examples.
… running as platform task instance instead of creation another task instance
* Unnecessary `task stop` arguments.
* `GetTaskInstance` null handling.
* `GetTasks` wrong error for null app.
* Add tests.
@sonarqubecloud
Copy link
Copy Markdown

@mikhailNumerous mikhailNumerous merged commit e7441f0 into main Apr 17, 2026
18 checks 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