Skip to content

Conversation

@merlotqi
Copy link
Owner

No description provided.

- Update CMakeLists.txt to change project name, library names, targets, options, and install configurations to TaskFlow
- Update README.md title and description to reflect the new TaskFlow branding
…nfiguration

- Introduce persistent tasks that can be reawakened with new parameters after completion
- Add support for storing and retrieving task execution results using JSON payloads
- Implement configurable task traits for observability, cancellation, and lifecycle options
- Update documentation with examples for the new features
- Enhance TaskManager with methods like reawaken_task, is_persistent_task, and get_result to support these capabilities

This improves task reusability, result persistence, and customization for better task management in concurrent environments.
Removed unused TaskProgressInfo template struct from state_storage.hpp. Added static assertion in set_progress method to validate ProgressType constraints (size <= 1024 bytes, trivially copyable or allowed types like std::string/nlohmann::json), with detailed error messages to prevent misuse and recommend alternatives like ResultStorage. Improved code formatting and include order in task_traits.hpp for better readability and consistency.
- Replace single taskflow_example executable with individual executables for each example (basic_task_submission, multiple_tasks, task_with_failure, task_with_progress, task_with_result, persistent_task) to improve modularity and ease of testing.
- Remove unused code from task_traits.hpp, including priority_traits, state_transition_traits, validate_priority, is_valid_task_input, and TaskResult struct, to simplify the codebase and remove obsolete features.
@merlotqi merlotqi merged commit 8b2d9f4 into main Jan 19, 2026
4 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