-
-
Notifications
You must be signed in to change notification settings - Fork 13
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
Simplify workload_enabled
#38
base: main
Are you sure you want to change the base?
Conversation
Functionally, the only difference here is the removal of the |
Is |
|
Thanks for the hint, I added a warning. |
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## main #38 +/- ##
===========================================
- Coverage 91.66% 75.58% -16.09%
===========================================
Files 3 3
Lines 96 86 -10
===========================================
- Hits 88 65 -23
- Misses 8 21 +13 ☔ View full report in Codecov by Sentry. |
I guess what might help here is some explanation of why this seems like an important change. Sure, it's a little cleaner and shorter. But it changes functionality (now you get a warning), and changes to PrecompileTools affect the entire ecosystem. If you're changing the experience of more than a million people, it would be great to have a bit more justification than "No description provided." Under what circumstances does the current absence of a warning cause problems? How frequently will the warning be triggered? etc. |
The reason for this PR was I disabled |
Thanks for the explanation. If I have a little "general Julia" development time this summer, I'll try checking out this branch and see what my experience is. Until then, let's leave it open. Also, please do report any experiences you have on triggering that warning, if you're using your own branch. |
That's a natural confusion. While it does change the package, the old cache file is still valid. Essentially, the cache file without precompiling the workload is strictly a subset of the cache file when you do precompile the workload. Since there's nothing wrong with having the more expansive cache, it doesn't trigger recompilation. That's different from, say, recompiling with code-coverage, where the generated code is actually different and so the old cache file isn't valid. |
If this isn't beneficial, feel free to close it. |
It might be useful, so if it's OK with you I'd like to leave it open. It seems like something that might be worth testing more extensively in conjunction with other changes, e.g., #42 (comment). If you're going to make some changes, maybe best to make several all at once and then be ready to fix things. |
No description provided.