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

JavaScript (v3): Textract - Fix non-unique domain prefix in textract-react CFN template and some broke unit tests. #7190

Merged
merged 8 commits into from
Jan 14, 2025

Conversation

cpyle0819
Copy link
Contributor

@cpyle0819 cpyle0819 commented Jan 13, 2025

Possible customer issue. Non-unique name was causing stack creation to fail.

Also uncovered some unit tests that were breaking only with fresh node modules. There's a bug in the SDK that's actively being patched, but the unit test changes are a workaround.


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

@cpyle0819 cpyle0819 added the Bug An update to fix incorrect code or typos. label Jan 13, 2025
@cpyle0819 cpyle0819 requested a review from rlhagerm January 13, 2025 15:14
@cpyle0819 cpyle0819 self-assigned this Jan 13, 2025
@github-actions github-actions bot added the Javascript-v3 This issue relates to the AWS SDK for Javascript V3 label Jan 13, 2025
@cpyle0819 cpyle0819 added the On Call Review needed This work needs an on-call review label Jan 13, 2025
@github-actions github-actions bot added the GitHub settings This affects GitHub settings label Jan 13, 2025
@cpyle0819 cpyle0819 changed the title JavaScript (v3): Textract - Fix non-unique domain prefix in textract-react CFN template JavaScript (v3): Textract - Fix non-unique domain prefix in textract-react CFN template and some broke unit tests. Jan 14, 2025
@cpyle0819 cpyle0819 requested a review from rlhagerm January 14, 2025 14:37
@Laren-AWS Laren-AWS added On Call Review complete On call review complete and removed On Call Review needed This work needs an on-call review labels Jan 14, 2025
@Laren-AWS Laren-AWS force-pushed the corepyle/textract-react branch from f701281 to f5bbc43 Compare January 14, 2025 19:47
@Laren-AWS Laren-AWS merged commit 278cfef into awsdocs:main Jan 14, 2025
15 checks passed
DavidSouther pushed a commit to prithugoswami/aws-doc-sdk-examples that referenced this pull request Jan 22, 2025
…react CFN template and some broke unit tests. (awsdocs#7190)

* JavaScript (v3): Textract - Fix non-unique domain prefix in textract-react CFN template.
* JavaScript (v3): Textract - Update to latest react scripts and declare working node engine.
* JavaScript (v3): Add workaround for broken instanceof check 
[This PR](https://github.com/smithy-lang/smithy-typescript/pull/1490/files) overrode
the default 'instanceof' implementation for ServiceException. It created a duck-type
check that took priority over the prototype chain check. There's a [fix](https://github.com/smithy-lang/smithy-typescript/pull/1503/files)
incoming, but in the meantime this makes it quack.
* JavaScript (v3): Textract - Ensure unique LoginUrl is saved as a CFN output.
* JavaScript (v3): Unit tests - Fix incorrect link in S3 unit tests comments.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug An update to fix incorrect code or typos. GitHub settings This affects GitHub settings Javascript-v3 This issue relates to the AWS SDK for Javascript V3 On Call Review complete On call review complete
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants