Closed JuliaABurch closed 2 days ago
Can you also test the case where you open VS Code already signed in, then sign out, then sign in again and run /transform
?
Can you also test the case where you open VS Code already signed in, then sign out, then sign in again and run
/transform
?
Yes, I just tested this and this works as well.
Seems like this has user impact, do we need a changelog item?
Problem
There was a bug that happened when VSCode is opened without having first been signed into
Amazon Q
and the user attempts a code transformation. The Transformation Hub window would open, but would not update, and Code Transform would appear to hang.Solution
There is some initialization code that registers commands that other parts of Gumby uses to update the Transformation Hub, but this code was locked behind an auth check; if it fails, the commands are simply never registered, even if the user signs in again later.
This portion of the code is not necessary to lock behind an auth check (it doesn't save memory or make anything run faster to not have it run), so the check has been removed.
Testing:
License
By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.