Skip to content

Conversation

@hayemaxi
Copy link
Contributor

@hayemaxi hayemaxi commented Jan 3, 2025

revert: amazon q standalone special handling

Removes code that should no longer be necessary anymore.

  • Remove autoinstall Amazon Q if you were a CodeWhisperer user on 2.x versions of toolkit
    • The prompt to install Amazon Q will still appear, if you don't have it. It has been slightly reworded.
    • If Amazon Q is installed, then you uninstall, it you will not see the prompt again in toolkit (previously you could).
  • Remove settings migrations from codewhisperer settings
  • Remove amazon Q telemetry enabled setting being initialized by the value from toolkit.

We are still getting hits in telemetry for people getting auto install (172 in last 2 months). However, they are mostly on old versions.
Let's simplify our codebase by removing support for these dated codepaths.

revert(toolkit): Q <--> Toolkit auth separation notification

Removes the prompt shown in Toolkit that Amazon Q no longer shares connections with it. Some time has passed, active users should have been informed by now. We are still getting telemetry hits indicating that this is being used though.

NOTE: Does not revert or remove any separation logic itself. We continue to have separate sessions and also remove any connections in either extension that are extra or don't match the required scopes for that extension. That logic helps us catch auth edge cases.


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

@hayemaxi hayemaxi marked this pull request as ready for review January 3, 2025 21:44
@hayemaxi hayemaxi requested review from a team as code owners January 3, 2025 21:44
Removes code that should no longer be necessary anymore.

- Remove autoinstall Amazon Q if you were a CodeWhisperer user on 2.x versions of toolkit
    - The prompt to install Amazon Q will still appear, if you don't have it. It has been slightly reworded.
    - If Amazon Q is installed, then you uninstall, it you will not see the prompt again in toolkit (previously you could).
- Remove settings migrations from codewhisperer settings
- Remove amazon Q telemetry enabled setting being initialized by the value from toolkit.

We are still getting hits in telemetry for people getting auto install (172 in last 2 months). However, they are mostly on old versions.
Let's simplyify our codebase by removing support for these dated codepaths.
Removes the prompt shown in Toolkit that Amazon Q no longer shares connections with it. Some time has passed, active users should have been informed by now. We are still getting telemetry hits indicating that this is being used though.

NOTE: Does not revert or remove any separation logic itself. We continue to have separate sessions and also remove any connections in either extension that are extra or don't match the required scopes for that extension. That logic helps us catch auth edge cases.
@hayemaxi hayemaxi merged commit c32c8f0 into aws:master Jan 6, 2025
25 of 26 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.

3 participants