Giter Club home page Giter Club logo

Comments (4)

justinmk3 avatar justinmk3 commented on August 20, 2024 1

still happening @Will-ShaoHua . example from 042c00e

  1 failing
  1) onAcceptance
       onAcceptance
         Should report telemetry that records this user decision event:

      AssertionError [ERR_ASSERTION]: telemetry item 1 (of 1) not found (in the expected order) for metric name: "codewhisperer_userDecision" 
      + expected - actual

         "codewhispererRequestId": "test"
         "codewhispererSessionId": "test"
         "codewhispererSuggestionIndex": "0"
         "codewhispererSuggestionReferenceCount": "0"
      -  "codewhispererSuggestionState": "Reject"
      +  "codewhispererSuggestionState": "Accept"
         "codewhispererTriggerType": "OnDemand"
         "codewhispererUserGroup": "Control"
         "credentialStartUrl": "testStartUrl"
       }
      
      at partialDeepCompare (src/test/testUtil.ts:196:12)
      at assertTelemetry (src/test/testUtil.ts:237:9)
      at /codebuild/output/src171806546/src/github.com/aws/aws-toolkit-vscode/src/test/testUtil.ts:253:9
      at Context.<anonymous> (src/test/codewhisperer/commands/onAcceptance.test.ts:116:13)
      at runMicrotasks (<anonymous>)
      at processTicksAndRejections (node:internal/process/task_queues:96:5)

from aws-toolkit-vscode.

Will-ShaoHua avatar Will-ShaoHua commented on August 20, 2024 1

noted, I will look into it

from aws-toolkit-vscode.

justinmk3 avatar justinmk3 commented on August 20, 2024

also happens with onAcceptance :

  1) onAcceptance
       onAcceptance
         Should report telemetry that records this user decision event:

      AssertionError [ERR_ASSERTION]: telemetry item 1 (of 1) not found (in the expected order) for metric name: "codewhisperer_userDecision" 
      + expected - actual

         "codewhispererRequestId": "test"
         "codewhispererSessionId": "test"
         "codewhispererSuggestionIndex": "0"
         "codewhispererSuggestionReferenceCount": "0"
      -  "codewhispererSuggestionState": "Reject"
      +  "codewhispererSuggestionState": "Accept"
         "codewhispererTriggerType": "OnDemand"
         "codewhispererUserGroup": "Control"
         "credentialStartUrl": "testStartUrl"
       }
      
      at partialDeepCompare (d:\a\aws-toolkit-vscode\aws-toolkit-vscode\src\test\testUtil.ts:196:12)
      at assertTelemetry (d:\a\aws-toolkit-vscode\aws-toolkit-vscode\src\test\testUtil.ts:237:9)
      at d:\a\aws-toolkit-vscode\aws-toolkit-vscode\src\test\testUtil.ts:253:9
      at Context.<anonymous> (d:\a\aws-toolkit-vscode\aws-toolkit-vscode\src\test\codewhisperer\commands\onAcceptance.test.ts:112:13)

from aws-toolkit-vscode.

justinmk3 avatar justinmk3 commented on August 20, 2024

still happening

  1 failing
  1) onAcceptance
       onAcceptance
         Should report telemetry that records this user decision event:

      AssertionError [ERR_ASSERTION]: telemetry item 1 (of 1) not found (in the expected order) for metric name: "codewhisperer_userDecision" 
      + expected - actual

         "codewhispererRequestId": "test"
         "codewhispererSessionId": "test"
         "codewhispererSuggestionIndex": "0"
         "codewhispererSuggestionReferenceCount": "0"
      -  "codewhispererSuggestionState": "Reject"
      +  "codewhispererSuggestionState": "Accept"
         "codewhispererTriggerType": "OnDemand"
         "codewhispererUserGroup": "Control"
         "credentialStartUrl": "testStartUrl"
       }
      
      at partialDeepCompare (src/test/testUtil.ts:196:12)
      at assertTelemetry (src/test/testUtil.ts:237:9)
      at /codebuild/output/src1514257418/src/github.com/aws/aws-toolkit-vscode/src/test/testUtil.ts:253:9
      at Context.<anonymous> (src/test/codewhisperer/commands/onAcceptance.test.ts:113:13)
      at runMicrotasks (<anonymous>)
      at processTicksAndRejections (node:internal/process/task_queues:96:5)

from aws-toolkit-vscode.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.