Skip to content

Regression in 0.4.23: data did not match any variant of untagged enum CacheInfoWire #8367

@KapJI

Description

@KapJI

My Github Actions CI started failing with this error:

error: Failed to build: `homeassistant-stubs @ file:///home/runner/work/homeassistant-stubs/homeassistant-stubs`
  Caused by: Failed to deserialize cache entry
  Caused by: data did not match any variant of untagged enum CacheInfoWire

I bisected it to 0.4.23 here: KapJI/homeassistant-stubs#496

This is an example workflow, enable-cache: false, other settings for astral-sh/setup-uv are default, it's using ubuntu-latest runner:
https://github.com/KapJI/homeassistant-stubs/actions/runs/11418948703/job/31772992617

All these tools in pre-commit hook are running via uv run. In this workflow no caches were materialized but UV_CACHE_DIR was set by setup-uv.

  • I tried to remove all stored caches from the repo jsut in case with no result.
  • Also I tried using different cache-local-path, also with no result.

Metadata

Metadata

Assignees

Labels

cacheCaching of packages and metadata

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions