Skip to content

codeintel: Make log contents structured (Step 1: Database)

Warren Gifford requested to merge ef/enhanced-log-contents into main

Created by: efritz

This PR changes the dbworker store to require a execution_logs column which subsumes the log_contents column that was there before. This field is used to store an array of JSON-encoded log entries that contain the time the command was started, the command run in the executor, the exit code, and the stdout/stderr streams produced by the command.

This PR will be merged when the following pull requests are merged into it so we have a consistent main branch (these changes do not work on their own):

This PR will close https://github.com/sourcegraph/sourcegraph/issues/15941.

Merge request reports

Loading