Skip to content

[crater] Fixup cache invalidation logic#1727

Merged
cmyr merged 1 commit into
mainfrom
fixup-crater-cache-key
Nov 4, 2025
Merged

[crater] Fixup cache invalidation logic#1727
cmyr merged 1 commit into
mainfrom
fixup-crater-cache-key

Conversation

@cmyr

@cmyr cmyr commented Nov 4, 2025

Copy link
Copy Markdown
Member

Previously we would use the python dependencies (the output of pip freeze) as well as the presence of any changes to ttx_diff since the previously run commit to invalidate caches.

As ttx_diff is now a python package, and is installed from a local path, it ins included in the output of pip freeze with a sha appeneded, and this sha changes on each commit to the fontc repo.

The solution here is just to manually remove ttx_diff from the output of pip freeze, since changes are still tracked independently.

Comment thread fontc_crater/src/main.rs Outdated
Previously we would use the python dependencies (the output of `pip
freeze`) as well as the presence of any changes to ttx_diff since the previously
run commit to invalidate caches.

As ttx_diff is now a python package, and is installed from a local path,
it ins included in the output of pip freeze with a sha appeneded, and
this sha changes on each commit to the fontc repo.

The solution here is just to manually remove ttx_diff from the output of
pip freeze, since changes are still tracked independently.
@cmyr cmyr force-pushed the fixup-crater-cache-key branch from 091a851 to 8348a1c Compare November 4, 2025 16:59
@cmyr cmyr added this pull request to the merge queue Nov 4, 2025
Merged via the queue into main with commit 42e8003 Nov 4, 2025
12 checks passed
@cmyr cmyr deleted the fixup-crater-cache-key branch November 4, 2025 17:03
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants