unreliable test: "TryChatCodeLensProvider .. outputs expected telemetry"
- Dominant language
- TypeScript
- Stars
- 2k
- Forks
- 810
- Avg merge
- 10h 12m
- Merged PRs (30d)
- 7
Description
## Test Details
- Name of test: `"TryChatCodeLensProvider .. outputs expected telemetry"`
- OS of failure: macos
- VSCode version of failure (minimum/insider/stable): insiders
- Link to failing run: https://github.com/aws/aws-toolkit-vscode/actions/runs/12376465119/job/34543694074?pr=6255
- Link to failing test:
## Log of Test Failure
``` 1 failing
1) TryChatCodeLensProvider
outputs expected telemetry:
AssertionError [ERR_ASSERTION]: telemetry metric 1 (of 1) not found (in the expected order): "vscode_executeCommand"
+ actual - expected
{
+ command: 'aws.appBuilderForFileExplorer.refresh',
+ source: undefined
- command: 'aws.amazonq.focusChat',
- source: 'codeLens'
}
+ expected - actual
{
- "command": "aws.appBuilderForFileExplorer.refresh"
- "source": [undefined]
+ "command": "aws.amazonq.focusChat"
+ "source": "codeLens"
}
```
Contributor guide
Research direction
Start with the failing test named "TryChatCodeLensProvider .. outputs expected telemetry" and inspect the linked macOS VS Code Insiders run. Reproduce the failure and trace why aws.appBuilderForFileExplorer.refresh appears instead of aws.amazonq.focusChat with source codeLens; done when the test reliably observes the expected telemetry.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- typescript
- Domain
- testing
- Issue type
- Bug
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100