Skip to content

fix(riff-raff-generator): Correctly add minInstancesInServiceParameters parameter#2764

Draft
akash1810 wants to merge 6 commits intomainfrom
aa/refactor-singleton
Draft

fix(riff-raff-generator): Correctly add minInstancesInServiceParameters parameter#2764
akash1810 wants to merge 6 commits intomainfrom
aa/refactor-singleton

Conversation

@akash1810
Copy link
Member

What does this change?

How to test

How can we measure success?

Have we considered potential risks?

Checklist

  • I have listed any breaking changes, along with a migration path 1
  • I have updated the documentation as required for the described changes 2

Footnotes

  1. Consider whether this is something that will mean changes to projects that have already been migrated, or to the CDK CLI tool. If changes are required, consider adding a checklist here and/or linking to related PRs.

  2. If you are adding a new construct or pattern, has new documentation been added? If you are amending defaults or changing behaviour, are the existing docs still valid?

@changeset-bot
Copy link

changeset-bot bot commented Nov 6, 2025

⚠️ No Changeset found

Latest commit: 4c2e594

Merging this PR will not cause a version bump for any packages. If these changes should not result in a new version, you're good to go. If these changes should result in a version bump, you need to add a changeset.

This PR includes no changesets

When changesets are added to this PR, you'll see the packages that this PR includes changesets for and the associated semver types

Click here to learn what changesets are, and how to add one.

Click here if you're a maintainer who wants to add a changeset to this PR

@akash1810 akash1810 force-pushed the aa/refactor-singleton branch from 17466b0 to a8f33db Compare November 6, 2025 09:24
@github-actions
Copy link
Contributor

github-actions bot commented Dec 8, 2025

This PR is stale because it has been open 30 days with no activity. Unless a comment is added or the “stale” label removed, this will be closed in 3 days

@github-actions github-actions bot added the Stale label Dec 8, 2025
@akash1810 akash1810 force-pushed the aa/refactor-singleton branch from a8f33db to 87eb1bf Compare December 12, 2025 09:24
@github-actions github-actions bot removed the Stale label Dec 15, 2025
@akash1810 akash1810 force-pushed the aa/refactor-singleton branch from 87eb1bf to e931d1d Compare January 9, 2026 14:20
@github-actions
Copy link
Contributor

github-actions bot commented Feb 9, 2026

This PR is stale because it has been open 30 days with no activity. Unless a comment is added or the “stale” label removed, this will be closed in 3 days

@github-actions github-actions bot added the Stale label Feb 9, 2026
@akash1810 akash1810 removed the Stale label Feb 9, 2026
@github-actions
Copy link
Contributor

This PR is stale because it has been open 30 days with no activity. Unless a comment is added or the “stale” label removed, this will be closed in 3 days

@github-actions github-actions bot added the Stale label Mar 12, 2026
@akash1810 akash1810 force-pushed the aa/refactor-singleton branch from e931d1d to 152d525 Compare March 12, 2026 07:08
@akash1810 akash1810 removed the Stale label Mar 12, 2026
`Construct` is a shared base type; use that to simplify some code.
@akash1810 akash1810 force-pushed the aa/refactor-singleton branch 11 times, most recently from 942ccbe to 1482886 Compare March 12, 2026 22:04
Remove nested conditional spread operations in favour of `if` statements.
See https://github.com/aws/constructs/blob/c2298f1bf89a701e1d501f279aa71d7d33b91c2b/src/construct.ts#L497-L519,
which recommends using user-defined type guards over `instanceof`.

`CfnScalingPolicy` is an auto-generated class by `aws-cdk-lib`.
The `isCfnScalingPolicy` function is an auto-generated user-defined type guard.
@akash1810 akash1810 force-pushed the aa/refactor-singleton branch 3 times, most recently from b9e5844 to 22eedc8 Compare March 13, 2026 14:42
…ly when necessary

Set `minInstancesInServiceParameters` if the `stack` has an instance of `GuHorizontallyScalingDeploymentPropertiesExperimental` added to it,
rather than calling `getInstance` which will instantiate a `GuHorizontallyScalingDeploymentPropertiesExperimental` if it doesn't exist.
@akash1810 akash1810 force-pushed the aa/refactor-singleton branch from 22eedc8 to 4c2e594 Compare March 13, 2026 18:09
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