The GitHub Actions job "Tests (AMD)" on airflow.git/feature/go-sdk/taskflow-arg-binding has succeeded. Run started by GitHub user jason810496 (triggered by jason810496).
Head commit for run: 1ddfc95364079a76426cd1d22fa5eb2cf8437089 / LIU ZHE YOU <[email protected]> Pass Go SDK stub temporal arguments in their JSON form A TaskFlow call argument has to be JSON-serializable to cross into another language runtime, so the serializer rejects a native datetime, timedelta or UUID and tells the author to pass its JSON form instead. The example stub Dag passed the objects themselves, which meant it could not be imported at all: the Go SDK e2e run aborted in `airflow dags reserialize` during session setup, before a single test could run. The annotation, not the argument, is what selects the Go type -- it drives the JSON-schema format the spec carries -- so declaring `datetime`/`timedelta`/`UUID` and passing the formatted string still binds onto time.Time, time.Duration and uuid.UUID. That mirrors the rest of a stub signature, where an annotation describes what the task receives rather than what the call site hands over. Report URL: https://github.com/apache/airflow/actions/runs/32112338394 With regards, GitHub Actions via GitBox --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
