-
Notifications
You must be signed in to change notification settings - Fork 77
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Introduce the Scala version into the codegen cache namespace #1590
Conversation
|
1 similar comment
|
Possibly useful info from debug logs in
Looks like the codegen treats the re-generation after the Scala version switch as a cache miss rather than a completely different job. |
The The preprocessor subproject is registered with the codegen project using The preprocessor is rebuilt when switching Scala versions, meaning the jar's name isn't stable when it contains a timestamp. This goes into So I think I need to figure out how to avoid running the proprocessor project's |
83b8894
to
c25381b
Compare
Considering you have
We already have a way, but it's also including the filename. I wouldn't want to use only the hash, as the filenames may be significant and I don't really want to open the door to other unforeseen problems to mitigate an issue that's frankly rather niche. |
Yes, of course, that's a great idea. Thanks for catching that! I tested this in my library locally and it appears to work with the changes I made in this PR. So, I think the changes I made are sufficient to solve the problem and can be reviewed for inclusion. I'll update the PR accordingly. |
See #1589 for a detailed description of the problem demonstrated by this scripted test.