Skip to content

fix: revert "fix(core): stack.node.addDependency gets slower as stacks grow (#38314)" - #38417

Merged
mergify[bot] merged 2 commits into
mainfrom
mrgrain/revert/dependency-change
Jul 28, 2026
Merged

mergify[bot] merged 2 commits into
mainfrom
mrgrain/revert/dependency-change

Conversation

@mrgrain

@mrgrain mrgrain commented Jul 27, 2026 •

Copy link
Copy Markdown
Collaborator

This reverts commit 0728618.

Issue #38406

Closes #38406

Reason for this change

#38314 introduced a bug that blows up DependsOn clauses.

Description of changes

Reverts the functional changes of #38314, but keeps the refactors.

Describe any new or updated permissions being added

N/A

Description of how you validated changes

It's a revert.

Checklist


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

@mrgrain
mrgrain requested a review from a team as a code owner July 27, 2026 15:20
@github-actions github-actions Bot added effort/medium Medium work item – several days of effort p0 labels Jul 27, 2026
@aws-cdk-automation
aws-cdk-automation requested a review from a team July 27, 2026 15:20
@mergify mergify Bot added the contribution/core This is a PR that came from AWS. label Jul 27, 2026
@mergify
mergify Bot temporarily deployed to automation July 27, 2026 15:20 Inactive
@mergify
mergify Bot temporarily deployed to automation July 27, 2026 15:20 Inactive

@aws-cdk-automation aws-cdk-automation left a comment •

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

(This review is outdated)

@mrgrain mrgrain added the pr-linter/exempt-test The PR linter will not require test changes label Jul 27, 2026
@mrgrain mrgrain added the pr-linter/exempt-integ-test The PR linter will not require integ test changes label Jul 27, 2026
@aws-cdk-automation
aws-cdk-automation dismissed their stale review July 27, 2026 15:26

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

@mrgrain
mrgrain force-pushed the mrgrain/revert/dependency-change branch from c892053 to 5a7e5f4 Compare July 27, 2026 17:20
@mrgrain
mrgrain force-pushed the mrgrain/revert/dependency-change branch from 5a7e5f4 to ac0e26c Compare July 27, 2026 17:21
@mrgrain
mrgrain force-pushed the mrgrain/revert/dependency-change branch from 860371c to 22c3656 Compare July 28, 2026 07:20
@mrgrain
mrgrain force-pushed the mrgrain/revert/dependency-change branch from 22c3656 to 552685f Compare July 28, 2026 07:23
@mrgrain
mrgrain force-pushed the mrgrain/revert/dependency-change branch from 552685f to d07cb2b Compare July 28, 2026 07:26
@mrgrain
mrgrain force-pushed the mrgrain/revert/dependency-change branch from d07cb2b to 2a034b0 Compare July 28, 2026 07:31
@mrgrain
mrgrain force-pushed the mrgrain/revert/dependency-change branch from 2a034b0 to e7c18ba Compare July 28, 2026 07:33
@mrgrain mrgrain added the pr/do-not-merge This PR should not be merged at this time. label Jul 28, 2026
@mrgrain mrgrain removed the pr/do-not-merge This PR should not be merged at this time. label Jul 28, 2026
@mergify

mergify Bot commented Jul 28, 2026

Copy link
Copy Markdown
Contributor

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

mergify Bot commented Jul 28, 2026 •

Copy link
Copy Markdown
Contributor

Merge Queue Status

  • ✅ Entered queue — 2026-07-28 08:26 UTC · Rule: default-squash · triggered by rule automatic merge
  • ✅ Checks skipped · PR is already up-to-date
  • ✅ Merged — 2026-07-28 08:27 UTC · at e7c18ba3a134fd644fc2c7588a9a55f8483ffca5 · squash

This pull request spent 21 seconds in the queue, including 3 seconds running CI.

Required conditions to merge

@mergify
mergify Bot merged commit 3b1df74 into main Jul 28, 2026
37 of 38 checks passed
@mergify
mergify Bot deleted the mrgrain/revert/dependency-change branch July 28, 2026 08:27
@github-actions

Copy link
Copy Markdown
Contributor

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 Jul 28, 2026

This branch was previously deployed

1 inactive deployment
automation — e7c18ba3 Deployed Jul 28, 2026 by mrgrain via validate-pr #356387
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. effort/medium Medium work item – several days of effort p0 pr-linter/exempt-integ-test The PR linter will not require integ test changes pr-linter/exempt-test The PR linter will not require test changes

Projects

None yet

Development

Successfully merging this pull request may close these issues.

core: node.addDependency(construct) DependsOn size regresses ~33x between 2.259.0 and 2.262.1 (suspect #38314)

3 participants