Skip to content
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

refactor(stepFunctions): use globalState abstraction #5323

Merged
merged 1 commit into from
Jul 18, 2024

Conversation

justinmk3
Copy link
Contributor

@justinmk3 justinmk3 commented Jul 16, 2024

Problem

Use of vscode's globalState interface allows bugs such as #3060 (comment) .

Previous work:

Solution

Update codewhisperer code to use globals.globalState , which allows type-checking, error handling, and centralization of related logic.

License

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.

@justinmk3 justinmk3 requested review from a team as code owners July 16, 2024 14:44
@justinmk3 justinmk3 marked this pull request as draft July 16, 2024 15:39
@justinmk3 justinmk3 changed the title refactor: use globalState abstraction in AmazonQ/CodeWhisperer modules refactor: use globalState abstraction Jul 16, 2024
@justinmk3 justinmk3 closed this Jul 17, 2024
@justinmk3 justinmk3 changed the title refactor: use globalState abstraction refactor(stepFunctions): use globalState abstraction Jul 17, 2024
@justinmk3 justinmk3 reopened this Jul 17, 2024
@justinmk3 justinmk3 marked this pull request as ready for review July 17, 2024 22:29
@justinmk3
Copy link
Contributor Author

/runintegrationtests

@justinmk3 justinmk3 merged commit aa58698 into aws:master Jul 18, 2024
22 of 23 checks passed
@justinmk3 justinmk3 deleted the globalstate2 branch July 18, 2024 22:15
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.

2 participants