Commits
Click on a commit to change the comparison rangeFix nested task.delay() serialization issue
When calling task.delay() from within another task that was itself
called with .delay(), a TypeError would occur: 'MockValSer' object
cannot be converted to 'SchemaSerializer'.
The issue was in TaskRunContext.serialize() which used serialize_as_any=True
globally, causing problems with Pydantic serialization. The fix follows the
same pattern used for FlowRunContext - removing serialize_as_any from the
main model_dump() and applying it only to result_store serialization.
Added test to TestTaskWorkerNestedTasks to verify the fix.