-
Notifications
You must be signed in to change notification settings - Fork 180
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
Create Invalidations.yml #920
Conversation
is is based on https://github.com/julia-actions/julia-invalidations. Adding such checks came up in https://discourse.julialang.org/t/potential-performance-regressions-in-julia-1-8-for-special-un-precompiled-type-dispatches-and-how-to-fix-them/86359. I suggest to add this check here since this package is widely used as a dependency. See also SciML/MuladdMacro.jl#26 and SciML/MuladdMacro.jl#29
Codecov Report
@@ Coverage Diff @@
## master #920 +/- ##
==========================================
- Coverage 80.16% 79.30% -0.86%
==========================================
Files 36 36
Lines 2919 2793 -126
==========================================
- Hits 2340 2215 -125
+ Misses 579 578 -1
📣 We’re building smart automated test selection to slash your CI/CD build times. Learn more |
@ranocha, I'm partially regretting merging this. I have a PR open where this new action fails (https://github.com/JuliaWeb/HTTP.jl/actions/runs/3099619353/jobs/5018972872), but the output is......non-existant? Like, I can't find any output telling me why the job failed, or what to do about the failure. Am I missing something obvious in the output there? Can we improve the github action experience to be more useful? |
The step ("report invalidation counts") just before the failing step reports the reason (see https://github.com/JuliaWeb/HTTP.jl/actions/runs/3099619353/jobs/5018972872#step:9:3). The number of invalidations increased be 2 (from 723 to 725), so it does not appear to be a big deal to me at first sight. If you want to dig deeper, you need to work with SnoopCompile.jl locally. |
Yeah, my comment was more directed to the fact that
is, in my opinion, pretty unclear as to what is actually being communicated. What is "default branch"? What is "$GITHUB_STEP_SUMMARY"? What is the 732 vs. (723 via deps) and why would those be different? Do you see what I mean? The invalidations job failed and I go look at this output and I just find it very unhelpful. Can it not spell out the individual invalidations that changed between default branch vs. PR? Can it organize the information in a table or something that would be more clear to someone passing by and wanting to see and understand quickly what went wrong? |
You're definitely right, there is a lot of potential to improve the action. Some ideas are floating around, e.g., https://discourse.julialang.org/t/potential-performance-regressions-in-julia-1-8-for-special-un-precompiled-type-dispatches-and-how-to-fix-them/86359/22 with an open PR timholy/SnoopCompile.jl#303. I think it will take some time but we will be able to improve it |
This has been failing for quite some time with some internal error. Also in the working case it is a bit unclear what the actionable thing is when it errors (xref JuliaWeb#920 (comment)).
* Fix tests for new version of `ConcurrentUtilities` `ConcurrentUtilities` changed an (internal) fieldname of the `Pool` type from `max` to `limit`. This field is used in HTTP.jl tests so this patch works around the issue. * Remove invalidation CI check This has been failing for quite some time with some internal error. Also in the working case it is a bit unclear what the actionable thing is when it errors (xref #920 (comment)).
* Fix tests for new version of `ConcurrentUtilities` `ConcurrentUtilities` changed an (internal) fieldname of the `Pool` type from `max` to `limit`. This field is used in HTTP.jl tests so this patch works around the issue. * Remove invalidation CI check This has been failing for quite some time with some internal error. Also in the working case it is a bit unclear what the actionable thing is when it errors (xref #920 (comment)).
* Fix tests for new version of `ConcurrentUtilities` `ConcurrentUtilities` changed an (internal) fieldname of the `Pool` type from `max` to `limit`. This field is used in HTTP.jl tests so this patch works around the issue. * Remove invalidation CI check This has been failing for quite some time with some internal error. Also in the working case it is a bit unclear what the actionable thing is when it errors (xref #920 (comment)).
* Fix tests for new version of `ConcurrentUtilities` `ConcurrentUtilities` changed an (internal) fieldname of the `Pool` type from `max` to `limit`. This field is used in HTTP.jl tests so this patch works around the issue. * Remove invalidation CI check This has been failing for quite some time with some internal error. Also in the working case it is a bit unclear what the actionable thing is when it errors (xref #920 (comment)). Co-authored-by: Fredrik Ekre <ekrefredrik@gmail.com>
This is based on https://github.com/julia-actions/julia-invalidations. Adding such checks came up in https://discourse.julialang.org/t/potential-performance-regressions-in-julia-1-8-for-special-un-precompiled-type-dispatches-and-how-to-fix-them/86359. I suggest to add this check here since this package is widely used as a dependency.
See also SciML/MuladdMacro.jl#26 and SciML/MuladdMacro.jl#29