Skip to content

fix(build): location-independent theme signature - #48

Merged
QQSHI13 merged 1 commit into
mainfrom
fix/theme-sig-relative
Aug 20, 2026
Merged

fix(build): location-independent theme signature#48
QQSHI13 merged 1 commit into
mainfrom
fix/theme-sig-relative

Conversation

@QQSHI13

@QQSHI13 QQSHI13 commented Aug 20, 2026

Copy link
Copy Markdown
Owner

The theme template signature hashed absolute file paths. CI Python toolcache updates move the package dir between runs → same templates, different signature → full cache invalidation every run, so the build cache was never reused.

Now hashes template contents with paths relative to each theme directory: identical templates always yield the same signature, wherever installed. Includes a unit test proving two dirs at different absolute paths with identical content produce equal signatures.

Depends on #47 (content-based theme signature); follows the tikz hash cache as part of making the build cache CI-friendly.

@QQSHI13
QQSHI13 merged commit c341a7b into main Aug 20, 2026
7 of 8 checks passed
@QQSHI13
QQSHI13 deleted the fix/theme-sig-relative branch August 20, 2026 08:10
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.

1 participant