Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add utilities to dump Copilot traffic.
This change adds a utility routine to dump raw data tapped from the wire to multiple files in a temporary directory under the path specified via `CODEGATE_DUMP_DIR`. No instrumentation is performed if `CODEGATE_DUMP_DIR` is `None`. The temporary directory is not deleted when the process exits. NOTE: the utility does not ensure the folder specified via `CODEGATE_DUMP_DIR` is writable, which might cause user-visible failures at startup. Co-authored-by: Radoslav Dimitrov <radoslav@stacklok.com>
- Loading branch information