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): Improve error handling when the Space takes too long to start (#8277)
## Problem
Occasionally, then a user clicks the Connect button for a Space that is
in the Stopped status, the corresponding App that gets created
eventually takes too long to become Running, so the user is shown the
following error message.
```
Remote connection failed: Timed out waiting for app "default-b97e54b8-e0e1-70b7-a216-856fcbb3cc61" to reach "InService" status. | Timed out waiting for app "default-b97e54b8-e0e1-70b7-a216-856fcbb3cc61" to reach "InService" status.
```
We can't prevent this from happening as it depends on the SageMaker
platform, but we can improve the user experience around this.
## Solution
* Add more time to hard timeout
* update the process messages when App takes longer than usual to
connect
## Appearance
### currently:
<img width="474" height="67" alt="Screenshot 2025-11-12 at 12 13 53 PM
(3)"
src="https://github.com/user-attachments/assets/2b543afa-621f-4ac0-8838-3b1d0ca74276"
/>
(2 min 30 sec)
->
<img width="469" height="161" alt="Screenshot 2025-11-12 at 12 05 16 PM"
src="https://github.com/user-attachments/assets/ce4d7f3f-7d52-48ed-937d-b07a7e09175d"
/>
### this change:
<img width="474" height="67" alt="Screenshot 2025-11-12 at 12 13 53 PM
(3)"
src="https://github.com/user-attachments/assets/2b543afa-621f-4ac0-8838-3b1d0ca74276"
/>
(1 min)
->
**Note: Based on @dylanraws' and ricokyle@'s suggestions, the exact
wording is changed to "Connecting to testX: Starting the Space is taking
longer than usual. The space will connect when ready"**
<img width="478" height="127" alt="Screenshot 2025-11-11 at 10 02 37 AM"
src="https://github.com/user-attachments/assets/b9d0c4b2-e25b-4c05-8ea5-ecb65c9b3fa5"
/>
(9 min)
->
<img width="469" height="161" alt="Screenshot 2025-11-12 at 12 05 16 PM"
src="https://github.com/user-attachments/assets/ce4d7f3f-7d52-48ed-937d-b07a7e09175d"
/>
---
- 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