fix: hash a cached workflow-as-code task's arguments like any job's

This commit is contained in:
Ruben Fiszel
2026-09-15 17:09:33 +02:00
parent 63b2f8f773
commit bb175422fa
5 changed files with 40 additions and 54 deletions
+5
View File
@@ -3327,6 +3327,11 @@ def task(
it grows with both the width of the fan-out and ``attempts``. Retries with
no ``delay`` all go out in a single round.
``cache_ttl`` serves a previous result of the task for that many seconds
instead of running it again. The result is keyed on the task and the
arguments it is called with, so anything a cached task reads from its
closure must be passed in as an argument.
Usage::
@task