You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Support bundles should include recent local telemetry #952
Telemetry JSONL files are currently stored under the extension global storage telemetry directory, but support bundles only append recent VS Code logs from:
current Remote SSH log path
proxy log directory
extension log directory
appendVsCodeLogs already limits directory-based log collection to files modified in the last 3 days (LOG_MAX_AGE_MS) to keep bundles small. We should include local telemetry files in support bundles using the same recent-file behavior.
Scope
Add a telemetry source to the support bundle log collection path.
Include telemetry JSONL files from the last 3 days, matching the existing proxy/extension log filter.
Store them under a clear bundle path such as vscode-logs/telemetry/ or vscode-telemetry/.
Keep support bundle augmentation best-effort: failures should warn and must not corrupt or block the original support bundle.
Add unit tests covering recent telemetry files, old telemetry files, and missing/unreadable telemetry directories.
Relevant code
src/commands.ts calls appendVsCodeLogs(...) after the CLI support bundle is created.
src/core/supportBundleLogs.ts has LOG_MAX_AGE_MS = 3 * 24 * 60 * 60 * 1000 and collectDirFiles(...) for recent directory files.
PathResolver.getTelemetryPath() returns the local telemetry directory.
Activity
fix(support-bundle): include recent telemetry logs (coder#982)