Skip to content

feat(cli): synth prints validation report#1633

Open
kaizencc wants to merge 1 commit into
mainfrom
synth-print-validation-report
Open

feat(cli): synth prints validation report#1633
kaizencc wants to merge 1 commit into
mainfrom
synth-print-validation-report

Conversation

@kaizencc

Copy link
Copy Markdown
Contributor

Right now, cdk synth relies on the legacy pretty-printed report written by the validation plugin logic in aws/aws-cdk. This PR aims to replace that with the modern report that cdk validate uses. A subsequent PR will be made to remove the legacy report stlye from aws/aws-cdk.

The new model is:

  • The validation plugin system that runs during synthesis creates a validation-report.json artifact detailing all validation mechanisms in one place. It does not handle printing anymore.
  • the CDK CLI handles writing to console. This means it takes the validation-report.json and both cdk synth and cdk validate writes the same style report to the console.

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

@github-actions

Copy link
Copy Markdown
Contributor

Dependency Review

✅ No vulnerabilities or license issues or OpenSSF Scorecard issues found.

Scanned Files

None

@github-actions github-actions Bot added the p2 label Jun 16, 2026
@aws-cdk-automation aws-cdk-automation requested a review from a team June 16, 2026 19:02
@codecov-commenter

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 88.73%. Comparing base (425ccb0) to head (6ff3a2d).

Additional details and impacted files
@@           Coverage Diff           @@
##             main    #1633   +/-   ##
=======================================
  Coverage   88.73%   88.73%           
=======================================
  Files          77       77           
  Lines       11359    11359           
  Branches     1584     1584           
=======================================
  Hits        10079    10079           
  Misses       1250     1250           
  Partials       30       30           
Flag Coverage Δ
suite.unit 88.73% <ø> (ø)

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Harness.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants