After a little more codesearching, I've found that schedule recipe module directly calls prcp command directly [2]. Looks like it's part of PRPC, but not included into CIPD recipe bundle. How does it work?
I've also tried using it locally:
echo '{"master":"client.v8", "builder":"V8 Win64 - msvc", "buildNum":3967}' | prpc call -format=json luci-milo.appspot.com milo.Buildbot.GetBuildbotBuildJSON
This returns a JSON dict containing base64-encoded data in data key. Decoding that gives another JSON that contains information about the build in a format similar to one that was returned by chrome-build-extact. It would nice to have it all wrapped into a prpc recipe module.
[2]: https://cs.chromium.org/chromium/infra/recipes-py/recipe_modules/scheduler/api.py?l=158&rcl=1f25d6536d9972411f4540f2e883e1560ddeb0ad
Comment 1 by machenb...@chromium.org
, Aug 3