Skip to content

Conversation

@ahusseinali
Copy link
Contributor

Problem

AmazonQ

  • IAM users didn't have access to Q Chat (Free Tier)
  • Sagemaker IAM users weren't automatically logged in using their Sagemaker studio credentials.
  • For Sagemaker users, login screen was disabled & users didn't have access to chat or code completion.
  • Sagemaker Pro Tier users code completion was broken & didn't generate any recommendations even after successful login.
  • Q Icon hides from Activity Bar when Toolkit extension is installed

Solution

  • Add new Q Developer Client to enable Free tier chat.
  • Terminate all the conditions that used to force chat to get disabled for IAM users
  • Terminate the conditions that used to hide login screen for Sagemaker users
  • Login Sagemaker IAM users automatically using their environment credentials (Free tier)
  • Allow Sagemaker SSO pro tier users to login using the login screen.
  • Disable "Inline chat" for Sagemaker until it's properly supported

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

@ahusseinali ahusseinali requested review from a team as code owners October 29, 2024 13:13
@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.

@ahusseinali
Copy link
Contributor Author

ahusseinali commented Oct 29, 2024

/runIntegrationTests.

@hayemaxi
Copy link
Contributor

hayemaxi commented Oct 29, 2024

/runIntegrationTests

@hayemaxi
Copy link
Contributor

hayemaxi commented Oct 29, 2024

This re-opens reverted PR: #5858

# - "HTTPError: Response code …": caused by github rate-limiting.
# - "npm WARN deprecated querystring": transitive dep of aws sdk v2 (check `npm ls querystring`), so that's blocked until we migrate to v3.
_ignore_pat='Timed-out waiting for browser login flow\|HTTPError: Response code 403\|HTTPError: Response code 404\|npm WARN deprecated querystring'
_ignore_pat='Timed-out waiting for browser login flow\|HTTPError: Response code 403\|HTTPError: Response code 404\|npm WARN deprecated querystring\|npm WARN deprecated'
Copy link
Contributor

@justinmk3 justinmk3 Oct 29, 2024

Choose a reason for hiding this comment

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

This defeats the intention of one of our CI checks. In the future, please callout this kind of change in the PR description.

We'll accept this as a temporary workaround, but need to find something more granular.

Copy link
Contributor

@hayemaxi hayemaxi left a comment

Choose a reason for hiding this comment

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

pre-approved in #5858

@hayemaxi hayemaxi merged commit 6ce3832 into aws:master Oct 29, 2024
31 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