Skip to content

Fix KSP2 incremental cache path normalization mismatch#2982

Merged
hfmehmed merged 2 commits into
google:mainfrom
hfmehmed:build-cache-ksp
Jun 15, 2026
Merged

Fix KSP2 incremental cache path normalization mismatch#2982
hfmehmed merged 2 commits into
google:mainfrom
hfmehmed:build-cache-ksp

Conversation

@hfmehmed

@hfmehmed hfmehmed commented Jun 15, 2026

Copy link
Copy Markdown
Collaborator

Fix KSP2 incremental build failures caused by path normalization
mismatches in IncrementalContextBase.

This change:

  • Resolves relative paths against baseDir before relativizing in
    toRelativeFile().
  • Consistently normalizes dirtySources and lookup cache entries.
  • Updates BuildCacheIncrementalIT test

Attemps to fix #2854

@hfmehmed hfmehmed merged commit 3bdb2f0 into google:main Jun 15, 2026
23 checks passed
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.

KSP Incremental Build Cache Issue

2 participants