Reporting Server

Apart from the usual console logging, Pants has an HTML interface that allows you to view past builds and drill down into the inputs and outputs of every tool invocation.

To use this interface, first launch the reporting server:

$ ./pants server --open
Launching server with pid 6991 at http://localhost:49266

This will run the server and open a browser pointing to it. The report looks something like this:

image

These reports contain additional information such as:

  • Performance timings
  • Links to source code
  • Details of the command line and stdout/stderr from running tasks
  • Details on which targets are being operated on
  • Artifact cache usage information
Generated by publish_docs from dist/markdown/html/src/docs/reporting_server.html 2022-12-03T01:09:00.340837