Skip to content

chore: include cfn-property-mixins in spec-update workflow gen step#37556

Merged
vishaalmehrishi merged 1 commit intomainfrom
fix/spec-update-cfn-property-mixins
Apr 9, 2026
Merged

chore: include cfn-property-mixins in spec-update workflow gen step#37556
vishaalmehrishi merged 1 commit intomainfrom
fix/spec-update-cfn-property-mixins

Conversation

@vishaalmehrishi
Copy link
Copy Markdown
Contributor

Issue

Fixes the recurring build failure on L1 spec update PRs (e.g. #37530) where git diff-index detects uncommitted changes in packages/@aws-cdk/cfn-property-mixins/package.json.

Reason for this change

When @aws-cdk/cfn-property-mixins graduated from mixins-preview to a standalone package in #37215, it gained its own gen script that regenerates package.json exports from the service spec database. However, the spec-update.yml workflow was never updated to include it in the gen step.

When new CloudFormation services are added (e.g. AWS::NovaAct, AWS::SecurityAgent), the gen script adds export entries to cfn-property-mixins/package.json. Since these changes aren't included in the automation commit, the PR build fails the git diff-index check.

This is the same class of issue previously fixed in #36300 for @aws-cdk/mixins-preview.

Description of changes

Added --scope @aws-cdk/cfn-property-mixins to the gen step in .github/workflows/spec-update.yml, and added a comment explaining why all three scopes are required.

Description of how you validated changes

Confirmed the root cause by examining the build logs for PR #37530 which show exactly cfn-property-mixins/package.json with 2 uncommitted insertions.

Checklist


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

The spec-update workflow was missing @aws-cdk/cfn-property-mixins in its
gen step. When new services are added (e.g. NovaAct, SecurityAgent), the
cfn-property-mixins gen script updates package.json exports, but since
those changes weren't included in the commit, the PR build fails with
uncommitted changes detected by git diff-index.

This is the same class of issue fixed in #36300 for mixins-preview.
@github-actions github-actions bot added the p2 label Apr 9, 2026
@aws-cdk-automation aws-cdk-automation requested a review from a team April 9, 2026 09:29
@mergify mergify bot added the contribution/core This is a PR that came from AWS. label Apr 9, 2026
@mergify mergify bot temporarily deployed to automation April 9, 2026 09:29 Inactive
@mergify mergify bot temporarily deployed to automation April 9, 2026 09:29 Inactive
Copy link
Copy Markdown
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.

(This review is outdated)

@vishaalmehrishi vishaalmehrishi changed the title fix: include cfn-property-mixins in spec-update workflow gen step chore: include cfn-property-mixins in spec-update workflow gen step Apr 9, 2026
@aws-cdk-automation aws-cdk-automation dismissed their stale review April 9, 2026 09:41

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

@mergify
Copy link
Copy Markdown
Contributor

mergify bot commented Apr 9, 2026

Thank you for contributing! Your pull request will be updated from main and then merged automatically (do not update manually, and be sure to allow changes to be pushed to your fork).

@mergify
Copy link
Copy Markdown
Contributor

mergify bot commented Apr 9, 2026

Merge Queue Status

  • Entered queue2026-04-09 10:13 UTC · Rule: default-squash
  • 🟠 Preparing checks
  • ⏳ Merge · ETA: 2026-04-09 10:14 UTC 🚀

@vishaalmehrishi vishaalmehrishi merged commit 6a3dc69 into main Apr 9, 2026
46 of 49 checks passed
@vishaalmehrishi vishaalmehrishi deleted the fix/spec-update-cfn-property-mixins branch April 9, 2026 10:46
@github-actions
Copy link
Copy Markdown
Contributor

github-actions bot commented Apr 9, 2026

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 Apr 9, 2026
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

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants