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(sagemaker): fix sagemaker.parseCookies cmd not found (#7670)
## Problem
After Remote - SSH to a sagemaker space via VS Code, the amazon Q plugin
cannot be loaded for the following error.
```
2025-07-10 17:23:52.976 [info] ExtensionService#_doActivateExtension amazonwebservices.aws-toolkit-vscode, startup: false, activationEvent: 'onStartupFinished'
2025-07-10 17:23:57.478 [error] Activating extension amazonwebservices.amazon-q-vscode failed due to an error:
2025-07-10 17:23:57.478 [error] Error: command 'sagemaker.parseCookies' not found
at mYe.n (vscode-file://vscode-app/Applications/Visual%20Studio%20Code.app/Contents/Resources/app/out/vs/workbench/workbench.desktop.main.js:1855:1328)
at mYe.executeCommand (vscode-file://vscode-app/Applications/Visual%20Studio%20Code.app/Contents/Resources/app/out/vs/workbench/workbench.desktop.main.js:1855:1260)
```
## Solution
After discussed with the Sagemaker team folks @sunp and @arkaprav, we
decide that if cmd `sagemaker.parseCookies` not found, we just swallow
the error and add a log for it.
### Test
a local build is created for testing.
<img width="1198" height="793" alt="image"
src="https://github.com/user-attachments/assets/ea726d78-6cb9-4e91-bad7-f0da43cf4c83"
/>
---
- Treat all work as PUBLIC. Private `feature/x` branches will not be
squash-merged at release time.
- Your code changes must meet the guidelines in
[CONTRIBUTING.md](https://github.com/aws/aws-toolkit-vscode/blob/master/CONTRIBUTING.md#guidelines).
- License: I confirm that my contribution is made under the terms of the
Apache 2.0 license.
0 commit comments