Skip to content

codeintel: Make log contents structured (Step 3: Executor)

Created by: efritz

Related to https://github.com/sourcegraph/sourcegraph/issues/15941.

Replace call to SetLogContents with calls to AddExecutionLogEntry on each command applied to the host. We use the Key field of the log entry to enable correlation with the specific configuration from which the task was created.

Key can be one of the following:

  • setup.git.{init, fetch, checkout}
  • setup.docker.{pull,save,load}.{image name}
  • setup.rm.{image name}
  • setup.firecracker.{stop,remove}
  • step.docker.{index}
  • step.src.{index}
  • teardown.firecracker.{stop,remove}

Merge request reports

Loading