Skip to content

refactor(amazonq): reduce extra call of listAvailableCustomization #7242

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
May 7, 2025

Conversation

Will-ShaoHua
Copy link
Contributor

@Will-ShaoHua Will-ShaoHua commented May 6, 2025

Problem

Customization will only have "1" parent profile, so theoretically we don't need another call of listAvailableCustomization to check if the new profile has access to given profile or not. Instead, we could simply switch to default.

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.

Copy link

github-actions bot commented May 6, 2025

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

@Will-ShaoHua Will-ShaoHua marked this pull request as ready for review May 6, 2025 23:23
@Will-ShaoHua Will-ShaoHua requested a review from a team as a code owner May 6, 2025 23:23
@Will-ShaoHua Will-ShaoHua merged commit 98b0d5d into aws:master May 7, 2025
31 checks passed
@Will-ShaoHua Will-ShaoHua deleted the custom branch May 7, 2025 04:02
Will-ShaoHua added a commit to Will-ShaoHua/aws-toolkit-vscode that referenced this pull request May 8, 2025
Will-ShaoHua added a commit that referenced this pull request May 8, 2025
…lableCustomization (#7242) (#7266)

This reverts commit 98b0d5d.

## Problem
It regress #7181 and make 7181 not working: profile will be changed, but
customization will be swapped to default always.


## 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](https://github.com/aws/aws-toolkit-vscode/blob/master/CONTRIBUTING.md#guidelines).
- License: I confirm that my contribution is made under the terms of the
Apache 2.0 license.
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