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

chore(toolkit): enforce codes at compile time #32893

Merged

Conversation

mrgrain
Copy link
Contributor

@mrgrain mrgrain commented Jan 13, 2025

Reason for this change

Instead of running regexp at runtime, we validate message codes at compile time

Checklist


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

@mrgrain mrgrain requested a review from a team as a code owner January 13, 2025 18:48
@github-actions github-actions bot added the p2 label Jan 13, 2025
@aws-cdk-automation aws-cdk-automation requested a review from a team January 13, 2025 18:48
@mergify mergify bot added the contribution/core This is a PR that came from AWS. label Jan 13, 2025
Copy link
Collaborator

@aws-cdk-automation aws-cdk-automation left a comment

Choose a reason for hiding this comment

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

The pull request linter has failed. See the aws-cdk-automation comment below for failure reasons. If you believe this pull request should receive an exemption, please comment and provide a justification.

A comment requesting an exemption should contain the text Exemption Request. Additionally, if clarification is needed add Clarification Request to a comment.

@aws-cdk-automation aws-cdk-automation added the pr/needs-cli-test-run This PR needs CLI tests run against it. label Jan 13, 2025
Copy link
Contributor

@HBobertz HBobertz left a comment

Choose a reason for hiding this comment

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

made some changes so g2g now

@HBobertz HBobertz changed the title feat(toolkit): enforce codes at compile time chore(toolkit): enforce codes at compile time Jan 13, 2025
@HBobertz HBobertz added pr-linter/exempt-test The PR linter will not require test changes pr-linter/exempt-integ-test The PR linter will not require integ test changes pr-linter/cli-integ-tested Assert that any CLI changes have been integ tested and removed pr-linter/exempt-test The PR linter will not require test changes labels Jan 13, 2025
@aws-cdk-automation aws-cdk-automation dismissed their stale review January 13, 2025 20:06

✅ Updated pull request passes all PRLinter validations. Dismissing previous PRLinter review.

@aws-cdk-automation aws-cdk-automation removed the pr/needs-cli-test-run This PR needs CLI tests run against it. label Jan 13, 2025
@HBobertz HBobertz merged commit e104e60 into bobertzh/CliIoHost Jan 13, 2025
24 of 27 checks passed
@HBobertz HBobertz deleted the mrgrain/fix-compile-time-message-code-validation branch January 13, 2025 20:09
Copy link

Comments on closed issues and PRs are hard for our team to see.
If you need help, please open a new issue that references this one.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Jan 13, 2025
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
contribution/core This is a PR that came from AWS. p2 pr-linter/cli-integ-tested Assert that any CLI changes have been integ tested pr-linter/exempt-integ-test The PR linter will not require integ test changes
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants