Skip to content

Conversation

@RBusarow
Copy link
Contributor

fixes #880

The GeneratedFileCache needs a reference to the current machine's project directory and the path of its binary file.
These values were being written to that binary file and restored on subsequent reads. That breaks things when the same cache is used on a different machine due to remote build caching.

Now, those two files are still part of GeneratedFileCache, but only the inner Tables class is actually cached.

@RBusarow RBusarow force-pushed the rick/file-cache-projectDir branch from 1f803df to a0095e5 Compare February 22, 2024 03:20
…eCache`

fixes #880

The `GeneratedFileCache` needs a reference to the current machine's project directory
and the path of its binary file.
These values were being written to that binary file and restored on subsequent reads.
That breaks things when the same cache is used on a different machine due to remote build caching.

Now, those two files are still part of `GeneratedFileCache`,
but only the inner `Tables` class is actually cached.
@RBusarow RBusarow force-pushed the rick/file-cache-projectDir branch from a0095e5 to d42a51e Compare February 22, 2024 03:34
@RBusarow RBusarow marked this pull request as ready for review February 22, 2024 04:13
@RBusarow RBusarow merged commit 1387622 into main Feb 23, 2024
@RBusarow RBusarow deleted the rick/file-cache-projectDir branch February 23, 2024 13:28
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.

Stub gen FileNotFoundException with new file tracking enabled

3 participants