The GitHub Actions job "Tests (AMD)" on 
airflow.git/refactor/go-sdk/executable-coordinator has failed.
Run started by GitHub user jason810496 (triggered by jason810496).

Head commit for run:
c58228470af032837d07b7f208d7a0939fbe0393 / LIU ZHE YOU <[email protected]>
Encapsulate the bundle digest cache as a class

The bare OrderedDict plus a couple of free functions spread the cache
invariants (LRU bookkeeping, size bound) across multiple call sites.
Wrap them in a small _BinaryDigestCache class with a single
process-wide instance so the bound and the eviction policy live in
one place, and add unit tests covering the contracts the surrounding
code relies on (lookup miss, round-trip, update-in-place, eviction
order, LRU promotion on both get and put, clear).

No lock: the supervisor process model is one task per process and
_build_execute_task_command is only called from the main thread, so
the cache cannot be touched concurrently today. The class docstring
records the assumption so anyone introducing multi-threaded task
execution knows to add one.

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

With regards,
GitHub Actions via GitBox


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

Reply via email to