Skip to content

Conversation

@Will-ShaoHua
Copy link
Contributor

@Will-ShaoHua Will-ShaoHua commented Dec 17, 2025

Problem

test sometimes fail on CI and the code path is no longer being used

2 failing
  1) recommendationHandler
       getRecommendations
         should call telemetry function that records a CodeWhisperer service invocation:
     Error: Test length exceeded max duration: 30 seconds
[No Pending UI Elements Found]
      at Timeout._onTimeout (/Users/runner/work/aws-toolkit-vscode/aws-toolkit-vscode/packages/core/src/test/setupUtil.ts:47:32)
      at listOnTimeout (node:internal/timers:588:17)
      at processTimers (node:internal/timers:523:7)

  2) editorContext
       buildListRecommendationRequest
         Should return expected fields for optOut, nextToken and reference config:
     Error: Test length exceeded max duration: 30 seconds
[No Pending UI Elements Found]
      at Timeout._onTimeout (/Users/runner/work/aws-toolkit-vscode/aws-toolkit-vscode/packages/core/src/test/setupUtil.ts:47:32)
      at listOnTimeout (node:internal/timers:588:17)
      at processTimers (node:internal/timers:523:7)

deleteTestTempDirs: deleted 50 test temp dirs
Error: 2 tests failed.

Solution


  • 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.
  • License: I confirm that my contribution is made under the terms of the Apache 2.0 license.

@Will-ShaoHua Will-ShaoHua changed the title skip 2 flaky pre-flare inline test cases test: skip 2 flaky pre-flare inline test cases Dec 17, 2025
@Will-ShaoHua Will-ShaoHua reopened this Dec 17, 2025
@Will-ShaoHua Will-ShaoHua marked this pull request as ready for review December 17, 2025 20:02
@Will-ShaoHua Will-ShaoHua requested a review from a team as a code owner December 17, 2025 20:02
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant