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

Use pretty validation output with smithy diff #1710

Closed
wants to merge 1 commit into from

Conversation

mtdowling
Copy link
Member

@mtdowling mtdowling commented Apr 2, 2023

Smithy diff now uses the pretty validation output.

The old and new models are both validated, but only build-failing errors are shown. When the original model fails, a label is added before ERROR/DANGER to show it's on the OLD model. When the new model fails, it shows a NEW label.

When running the diff with two valid models, events have a label of DIFF. The events shown here use the --severity option and default to WARNING when not set.

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

@mtdowling mtdowling requested a review from a team as a code owner April 2, 2023 03:55
Smithy diff now uses the pretty validation output.

The old and new models are both validated, but only build-failing
errors are shown. When the original model fails, a label is added
before ERROR/DANGER to show it's on the OLD model. When the new
model fails, it shows a NEW label.

When running the diff with two valid models, events have a label
of DIFF. The events shown here use the --severity option and default
to WARNING when not set.
@mtdowling mtdowling force-pushed the use-pretty-output-with-diff branch from 434a974 to dcd7a75 Compare April 2, 2023 03:59
@github-advanced-security

This comment was marked as off-topic.

@mtdowling
Copy link
Member Author

Replaced with #1712

@mtdowling mtdowling closed this Apr 3, 2023
@mtdowling mtdowling deleted the use-pretty-output-with-diff branch April 7, 2023 03:30
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.

1 participant