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: trigger transitive releases when packages update #83

Merged
merged 2 commits into from
Feb 24, 2025

Conversation

rix0rrr
Copy link
Contributor

@rix0rrr rix0rrr commented Feb 20, 2025

For packages that include other packages, like the CLI does, it should also include changes to bundled packages when looking at whether a release should be triggered.

This includes cloud-assembly-schema and cloudformation-diff into the release trigger of the CLI and all packages that include the CLI.

You'd think this could perhaps be done more declaratively, but I can't rely on storing information on the TypeScriptWorkSpace project (like "considered dependencies") because we need to pass this information to its constructor. So I'm just copy/pasting long arrays.


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

For packages that include other packages, like the CLI does, it should
also include changes to bundled packages when looking at whether a
release should be triggered.

This includes `cloud-assembly-schema` and `cloudformation-diff` into
the release trigger of the CLI and all packages that include the CLI.

You'd think this could perhaps be done more declaratively, but I can't
rely on storing information on the `TypeScriptWorkSpace` project (like
"considered dependencies") because we need to pass this information
to its constructor. So I'm just copy/pasting long arrays.
@rix0rrr rix0rrr requested a review from a team February 20, 2025 14:45
@mrgrain mrgrain added the pr/exempt-integ-test Skips the integ test steps if set. label Feb 24, 2025
@mrgrain mrgrain closed this Feb 24, 2025
auto-merge was automatically disabled February 24, 2025 12:32

Pull request was closed

@mrgrain mrgrain reopened this Feb 24, 2025
@codecov-commenter
Copy link

codecov-commenter commented Feb 24, 2025

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 85.06%. Comparing base (f25e658) to head (7164e6d).

Additional details and impacted files
@@            Coverage Diff             @@
##             main      #83      +/-   ##
==========================================
+ Coverage   84.44%   85.06%   +0.61%     
==========================================
  Files         196      196              
  Lines       35089    35089              
  Branches     4509     4578      +69     
==========================================
+ Hits        29632    29847     +215     
+ Misses       5320     5107     -213     
+ Partials      137      135       -2     
Flag Coverage Δ
suite.unit 85.06% <ø> (+0.61%) ⬆️

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

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

@aws-cdk-automation aws-cdk-automation added this pull request to the merge queue Feb 24, 2025
Merged via the queue into main with commit 55dac82 Feb 24, 2025
23 of 24 checks passed
@aws-cdk-automation aws-cdk-automation deleted the huijbers/transitive-releases branch February 24, 2025 17:29
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
pr/exempt-integ-test Skips the integ test steps if set.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants