Composio powers 1000+ toolkits, tool search, context management, authentication, and a sandboxed workbench to help you build AI agents that turn intent into action.
Mirrored from https://github.com/Camo67/composio.git
Synced Nov 21, 06:00 UTC
fix(ci): isolate uv caches by dependencies and toolchain (#5313)
This PR: - prevents the stale uv index failure seen in https://github.com/ComposioHQ/composio/pull/5311, where a new dependency pin restored registry metadata cached for older dependencies. - routes every Python test matrix entry through the shared setup action, which restores dependency-matched caches without broad restore keys. - includes legacy `setup.py` files and `mise.lock` in cache invalidation, and isolates caches by the resolved Python version and pinned uv version. - removes the integration job's duplicate cache restore, which could overwrite the shared action's cache with an older dependency set. - validates the affected workflow paths with actionlint, checks composite YAML and upstream action input support, and verifies that SDK/provider metadata, lockfile, and toolchain changes alter the dependency fingerprint. - passes [hosted Python CI on 3.11, 3.13, and 3.15](https://github.com/ComposioHQ/composio/actions/runs/42996195685/attempts/1); a [3.15 rerun](https://github.com/ComposioHQ/composio/actions/runs/42996195685/job/130442461963) confirms an exact cache hit and another successful run. Unchanged dependencies and tool versions still reuse their cache. Dependency changes start with a fresh cache instead of falling back to older registry listings. <!-- sdk-release-note-exempt: This changes CI cache selection only and does not alter published SDK behavior. -->