Skip to content

Conversation

@Will-ShaoHua
Copy link
Contributor

@Will-ShaoHua Will-ShaoHua commented Sep 22, 2025

Problem

previously UTD will be delayed until next service call, which means it doesn't gurantee service team will collect all the datapoints

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.

@amazon-inspector-ohio
Copy link

⏳ I'm reviewing this pull request for security vulnerabilities and code quality issues. I'll provide an update when I'm done

@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.

@amazon-inspector-ohio
Copy link

✅ I finished the code review, and didn't find any security or code quality issues.

@Will-ShaoHua Will-ShaoHua changed the title telemetry: flush usertriggerDecision event earlier instead of on triggering telemetry: flush usertriggerDecision event on keystroke or manual trigger Sep 22, 2025
config: ConfigurationEntry
): Promise<void> {
// Call report user decisions once to report recommendations leftover from last invocation.
RecommendationHandler.instance.reportUserDecisions(-1)
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

what if we already report user decision?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

nothing will be sent

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

it's flushing the staged metrics

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Ok

@Will-ShaoHua Will-ShaoHua merged commit 00ffeb3 into aws:master Sep 23, 2025
44 of 46 checks passed
@Will-ShaoHua Will-ShaoHua deleted the flush branch September 23, 2025 19:43
Will-ShaoHua added a commit to Will-ShaoHua/aws-toolkit-vscode that referenced this pull request Sep 23, 2025
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.

3 participants