You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This commit was created on GitHub.com and signed with GitHub’s verified signature.
🏗️ Design Changes
Nested Tasks Redesign: We change how nested task (like task in a chain) alert the parent task on status change. This will help save a lot of memory in redis and have faster execution. For that we added:
Container sub-task hooks: and abstract methods on for handling child task lifecycle events.
BREAKING - Removed from : Replaced by for parent reference.
✨ Added
** method**: Add and schedule a task in a running swarm in a single call, replacing the previous + two-step pattern.
Chain kwargs forwarding: Chains now accept that are forwarded to all sub-tasks during execution.
🔄 Changed
BREAKING - Removed : Swarm tasks are no longer wrapped in batch item signatures. Tasks run directly within the swarm.
BREAKING - Removed from swarm: Use instead.
BREAKING - Removed from : Callbacks are now set at creation time only.
All internal tasks are durable: Chain and swarm infrastructure tasks now use for crash recovery.
🛠️ Technical Improvements
Task data parameter consolidation: Only is sent as task metadata instead of a full dictionary. This will allow users to filter workflow base on task id and will save data that is sent in tasks.
🧪 Tests
Unit tests for handle decorator: Added comprehensive tests for decorator.
Unit tests for signature creation: Added tests for and .