ci: run the SDK suites on release (#10386)

* ci: run the python and typescript SDK suites

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>

* ci: run the SDK suites on release tags only

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>

* chore(ci): state the constraint without the incident

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>

* docs(sdk): claim only what functools.wraps actually restores

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>

* docs(ci): note the interpreter the suite runs on is not the worker's

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>

---------

Co-authored-by: Claude Opus 5 (1M context) <noreply@anthropic.com>
This commit is contained in:
Ruben Fiszel
2026-07-28 16:51:47 +02:00
committed by GitHub
parent ac970efa16
commit faf5aead6f
2 changed files with 66 additions and 0 deletions
+5
View File
@@ -3190,6 +3190,11 @@ def task(
merged[f"arg{i}"] = arg
return merged
# Keeps the decorated function's identity: `@task` is applied to a
# top-level `async def`, and a caller introspecting it should see that
# function, not `wrapper`. The step key is computed from `func` above,
# so this does not affect dispatch.
@functools.wraps(func)
def wrapper(*args, **kwargs):
# WAC v2: inside a @workflow context
ctx = _workflow_ctx.get(None)