Should we stop building wheels for every commit in main? #17992
Replies: 3 comments 18 replies
-
Concur. Rarely use |
Beta Was this translation helpful? Give feedback.
-
I also concur. I think it would be good, as always, to dig on why our wisdom has changed though. I find these things disturbing, and, afaict, there has been no relevant change since we deemed this wise, except maybe our sensitivity to waste / vs convenience. |
Beta Was this translation helpful? Give feedback.
-
What would that guidance be? It's fairly challenging to build wheels for Pants across multiple platforms. You need:
|
Beta Was this translation helpful? Give feedback.
-
Currently we build Pants wheels for every (non-docs) commit in main. This is so people can use PANTS_SHA to easily run Pants at any such commit.
However this seems to be used only rarely in practice, and is very costly in CI resources, especially on self-hosted runners.
The wheel build shards take almost an hour, on each of 5 target platforms (in large part because we have no effective Rust caching). So we're burning a lot of trees to build and store wheels that will almost certainly never be used. And meanwhile PR CI runs can be delayed waiting for resources to free up.
I propose that we only build wheels when we need them for a release. If someone needs to run at a SHA, we give clear guidance on how to build those wheels as needed.
Beta Was this translation helpful? Give feedback.
All reactions