So… Variants… Do they work today? If so, how? What...
# development
a
So… Variants… Do they work today? If so, how? What exactly do they do?
w
they do not work today. but they're described in the engine readme
they worked for the purposes of experiments, but while productionizing the rust code they bitrotted because we didn't need them to fill the BuildGraph API
the issue mentioned in https://github.com/pantsbuild/pants/issues/5788 is a pretty fundamental weakness of how they were implemented, so i think there is some design work needed there to nail that down.
Do you have an opinion on fixing variants vs removing them and writing something from scratch (which may look similar) to solve concrete use-cases?
more cost to remove than to replace, i think
a
Aha, thanks!