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
fix(telemetry): session_end not caching events (#5817)
## Problem
When the user shutdown their extension gracefully our mechanism that
would cache any pending metrics for the next startup would not save to
disk.
This was due to the VS Code FS implementation being used, but it will
not work since the function it is called in is called by `deactivate()`
which does not have access to vscode apis on shutdown.
## Solution
Solution is to swap it with the node fs implementation
---
<!--- REMINDER: Ensure that your PR meets the guidelines in
CONTRIBUTING.md -->
License: I confirm that my contribution is made under the terms of the
Apache 2.0 license.
Signed-off-by: nkomonen-amazon <[email protected]>
0 commit comments