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(smus): Add status validation for space operations (#8160)
## Description
Added status checks for SageMaker space operations to prevent invalid
actions.
Picture: When opening remote connection:
<img width="507" height="302" alt="Screenshot 2025-10-08 at 4 20 19 PM"
src="https://github.com/user-attachments/assets/905cb51e-daf0-4db5-91ca-fbbc53de28d5"
/>
## fix done
1. The stopSpace function now validates space status before attempting
to stop, showing appropriate warning messages for spaces already in
Stopped/Stopping states or currently Starting.
2. Also added status refresh before open remote connect
## Testing Done
code debug
---
- 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