wide-midnight-78598
02/28/2026, 4:42 PMmain and just runs pants --version has a good experience, and then we environment variable away the CI build (which takes much longer, and would be slightly faster - but it's in CI, so whatever)
This is a "breaking" change of sorts, as anyone else building Pants for whatever reason (internally, for their own perf testing, etc, etc) would have a slower runtime experience, and would have to opt-into the "yet faster" change. For anyone using our official releases, though, they would be fine either way.
If we're okay with the breaking change concept in order to make life easier for local dev, then my immediate follow-up would be ... why not default to debug/dev builds locally, always, instead of opting into that?
So, in short, ignoring the details of how Cargo, how our local scripts work, and the specific naming - we have these 3-ish scenarios:
MODE=debug
MODE=semi-release
MODE=release
So, the question is, which is the default for when we type pants --version while doing local mainline developmentwide-midnight-78598
02/28/2026, 4:44 PMMODE=release - as would cargo benchcurved-manchester-66006
03/05/2026, 7:12 PM