[pull] main from microsoft:main#1293
Merged
Merged
Conversation
Mirrors the programmatic-export contract already supported by the chat extension's github.copilot.chat.otel.exportAgentTracesDB command: when callers pass a destination directory, the DB is copied to <dir>/agent-host-traces.db with no save dialog. The interactive (command palette) flow is unchanged.
Addresses review feedback: OTelSqliteStore opens the DB in WAL mode and runs in a separate utility process, so a plain copy of the .db file can miss uncheckpointed data still living in the -wal sidecar. We can't safely issue 'wal_checkpoint' from the workbench process, so instead copy the -wal and -shm sidecars alongside the main .db when they exist. The resulting trio is a valid WAL-mode SQLite database that any reader can open and checkpoint on demand.
chat: accept optional savePath arg for agentHost export action
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
See Commits and Changes for more details.
Created by
pull[bot] (v2.0.0-alpha.4)
Can you help keep this open source service alive? 💖 Please sponsor : )