Has there been any proposals to add something simi...
# general
p
Has there been any proposals to add something similar to bazel's build event protocol to pants? If not.. perhaps I should make one!
👆 1
h
There has been some discussion in the further past I believe, but I don't think there's even a ticket for it
Oh, there is but it was closed: https://github.com/pantsbuild/pants/issues/13312
I don't think Pants could actually emulate Bazel's protocol, but something equivalent that matches Pants's model could be possible.
I think an issue with a proposal would be a good place to start!
p
Indeed, it may not be a good fit to emit BEP. Though perhaps there would be a meaningful way to emit open telemetry traces or something 🤔
h
Yep, we have the concept of "work units" that map reasonably to tracing events
p
Can you point me to some code or design docs about work units? Just to grease the mental gears.