A build info pRPC endpoint should be added to Milo. Milo is the layer in the LUCI stack that is aware of the bigger picture of builds and the various methods that builds are executed.
The build info RPC would return the build as a Milo annotation protobuf. The protobuf would be primarily loaded from LogDog's annotation stream, emitted by Annotee/Recipes. We would augment it with distributor-specific information (e.g., Swarming tags, BuildBot properties, etc.) and return it to the user.
The build info RPC would also return the LogDog prefix for the build, which would allow log resolution.
This lets Milo act as a one-stop point for resolving "I want information about this build". This includes the oft-requested ability to grab log streams for builds without doing the full LogDog query dance.
Comment 1 by bugdroid1@chromium.org
, Feb 2 2017