aws / aws/aws-toolkit-vscode

unreliable test: SamDebugConfigurationProvider makeConfig target=code: typescript:

Open
#6,794 0 comments 0 reactions 0 assignees View on GitHub
tests-ci-cd
Dominant language
TypeScript
Stars
2k
Forks
807
Avg merge
10h 12m
Merged PRs (30d)
7

Description

## Test Details

- Name of test: SamDebugConfigurationProvider
makeConfig
target=code: typescript:
- OS of failure: Windows
- VSCode version of failure (minimum/insider/stable): stable
- Link to failing run: (on staging)
- Link to failing test: https://github.com/aws/aws-toolkit-vscode/blob/8b02b85f05063063d364d6921338a09c7c097556/packages/core/src/test/shared/sam/debugger/samDebugConfigProvider.test.ts#L675-L840

## Log of Test Failure
```
Error: Test length exceeded max duration: 30 seconds
[No Pending UI Elements Found]
at Timeout._onTimeout (D:\a\aws-toolkit-vscode-staging\aws-toolkit-vscode-staging\packages\core\src\test\setupUtil.ts:46:32)
at listOnTimeout (node:internal/timers:581:17)
at processTimers (node:internal/timers:519:7)
```

## Additional Information

Contributor guide

Open the contributing guide

Research direction

Start with packages/core/src/test/shared/sam/debugger/samDebugConfigProvider.test.ts around lines 675-840 and inspect the timeout reported from packages/core/src/test/setupUtil.ts:46. Reproduce the SamDebugConfigurationProvider makeConfig target=code:typescript test on Windows, then verify it completes reliably within the 30-second limit without the timeout failure.

Written by the indexing model from the issue text.

Assessment

Tech stack
typescript, vscode
Domain
testing
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.