Pin codecov/codecov-action to v3.1.5#7776
Conversation
|
Thanks for catching this. Apologies for not noticing it in #7770 I find this interesting - codecov/feedback#112 (comment)
but if we're pinning to 3.1.5 for nodejs20, it is not as relevant as it could be. It occurs to me that we could keep v4 for pushes and workflow dispatches, and only downgrade for pull requests? hugovk#111 |
No problem, it wasn't obvious and I only noticed after merging the same thing in some other projects!
Yes, that might what we need to do in the end. I've not see rate-limiting cause problems for us, so I think it's better to stick to v3 for a bit longer to give time for things to settle, it might be that things will change.
We can go back to v3=v3.1.6 if we don't mind the Node.js 16 warnings. In any case, I don't see pinning to v3.1.5 as a long-term solution, rather a stopgap for the time being.
This seems to add more complexity than we need right now, and will be extra work to make sure Renovate doesn't update the wrong bit. And hopefully we can choose only v3 or v4 or something soonish. |
|
This pin was later removed in #8041 |
There's a breaking change in #7770 from bumping codecov/codecov-action to v4 which affects us, requiring setting a token due to rate limiting:
https://github.com/codecov/codecov-action/releases/tag/v4.0.0
v4 doesn't need a token for PRs from forks, but does for merges. This is why coverage has dropped to ~50% for merges, because it's only recording the coverage from AppVeyor:
https://app.codecov.io/gh/python-pillow/Pillow/commits
See:
I think we should stick to v3 for a while, to see what happens.
This PR uses v3.1.5, which also bumped to Node.js 20 to fix the deprecation warnings. (v3=v3.1.6 went back down to Node.js 16.)
We could adjust the threshold for Codecov to "fail", so we don't miss huge drops like this in #7770: