Skip to content

Conversation

@andrewyuq
Copy link
Contributor

@andrewyuq andrewyuq commented Oct 25, 2024

The perceivedLatency is currently calculated and sent when we send STE, by then lastUserModificationTime is no longer accurate. Instead calculate perceivedLatency when we show the suggestions and use the lastUserModificationTime at that time to be accurate.

JB PR: aws/aws-toolkit-jetbrains#5013

Problem

Solution


License: I confirm that my contribution is made under the terms of the Apache 2.0 license.

The perceivedLatency is currently calculateand and sent when we send
STE, by then lastUserModificationTime is no longer accurate.
Instead calculate perceivedLatency when we show the suggestions and use
the lastUserModificationTime at that time to be accurate.
@andrewyuq andrewyuq requested a review from a team as a code owner October 25, 2024 21:42
@github-actions
Copy link

This pull request modifies code in src/ but no tests were added/updated. Confirm whether tests should be added or ensure the PR description explains why tests are not required.

@justinmk3 justinmk3 changed the title BugFix: fix perceivedLatency being calculated incorrectly fix(amazonq inline): perceivedLatency calculated incorrectly Oct 25, 2024
@justinmk3 justinmk3 changed the title fix(amazonq inline): perceivedLatency calculated incorrectly telemetry(amazonq inline): perceivedLatency calculated incorrectly Oct 25, 2024
@aws aws deleted a comment from github-actions bot Oct 25, 2024
@andrewyuq
Copy link
Contributor Author

 1) SamCliLocalInvokeInvocation
       invokes `sam local` with args:
     Error: Test length exceeded max duration: 30 seconds

This error doesn't look like is related to the change itself

@justinmk3 justinmk3 merged commit 980710d into aws:master Oct 28, 2024
20 of 25 checks passed
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.

4 participants