Skip to content

fix(GuLoadBalancedAppExperimental): Validate weighting configuration - #2996

Merged
akash1810 merged 1 commit into
mainfrom
aa/validate-weighting
Oct 14, 2026
Merged

akash1810 merged 1 commit into
mainfrom
aa/validate-weighting

Conversation

@akash1810

@akash1810 akash1810 commented Oct 13, 2026 •

Copy link
Copy Markdown
Member

What does this change?

If a target is set to receive traffic, ensure it has some compute.

How to test

See added test.

How can we measure success?

Reduced chance of PRs such as guardian/dotcom-rendering#16922 and guardian/dotcom-rendering#16757 which accidentally edited the wrong "minimum" value.

Have we considered potential risks?

None.

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? ↩

@akash1810
akash1810 requested a review from a team as a code owner October 13, 2026 07:04
@akash1810 akash1810 added the hotfix Departmental tracking: hotfix (replaces 'fix') label Oct 13, 2026
@changeset-bot

changeset-bot Bot commented Oct 13, 2026 •

Copy link
Copy Markdown

🦋 Changeset detected

Latest commit: d0da032

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 1 package
Name Type
@guardian/cdk Patch

Not sure what this means? Click here to learn what changesets are.

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

Comment thread src/experimental/patterns/gu-load-balanced-app.test.ts
… if a target is set to receive traffic, ensure it has some compute.
@akash1810
akash1810 force-pushed the aa/validate-weighting branch from c158c00 to d0da032 Compare October 14, 2026 08:59

@connoromalleyatwork connoromalleyatwork left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice!

@akash1810
akash1810 merged commit d9fe317 into main Oct 14, 2026
9 checks passed
@akash1810
akash1810 deleted the aa/validate-weighting branch October 14, 2026 09:09
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

hotfix Departmental tracking: hotfix (replaces 'fix')

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants