The GitHub Actions job "Tests (AMD)" on 
airflow.git/durable-caching-toolset-capabilities has succeeded.
Run started by GitHub user kaxil (triggered by kaxil).

Head commit for run:
59138c0f0e895450c37f5563139584d4b35fdfa1 / Kaxil Naik <[email protected]>
Fix common.ai durable execution skipping Toolset-capability tools

When durable=True, tools supplied via a pydantic-ai Toolset capability
(capabilities=[Toolset(ts)]) bypassed the CachingToolset applied to
toolsets=, so their results re-executed on every retry instead of
replaying. Wrap the inner toolset of concrete Toolset capabilities with
the same CachingToolset. A Toolset capability backed by a callable
factory can't be wrapped (it resolves per run) and now logs a warning.

Also fixes two latent durable-execution bugs found in review:

- cleanup() ran before the message-history XCom push and output
  serialization. A failure in either wiped the cache, so the retry
  re-ran every already-completed step. Move cleanup to after them.

- the pre-3.3 ObjectStorage cache filename joined dag/task/run with "_",
  aliasing distinct tasks (dag "etl"/task "load_data" and dag
  "etl_load"/task "data" both mapped to one file, so one task could
  read, overwrite, or delete another's cache). Hash the identity
  components instead.

Report URL: https://github.com/apache/airflow/actions/runs/29357203549

With regards,
GitHub Actions via GitBox


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to