-
Notifications
You must be signed in to change notification settings - Fork 4.3k
Closed
Closed
Copy link
Labels
@aws-cdk/coreRelated to core CDK functionalityRelated to core CDK functionalitybugThis issue is a bug.This issue is a bug.effort/mediumMedium work item – several days of effortMedium work item – several days of effortp3
Description
Describe the bug
In #34478, FragmentedTreeWriter was introduced to prevent tree.json from exceeding 512MB. When I play around with the maxNodes value, I find that choosing a low value (5000 for my application) causes the error "Error: Could not find parent of <root node>".
Because our project is private, I unfortunately cannot provide its code. However, I'll try to create a small example that triggers the bug if I get a chance to.
At first glance, do you see any issues that may have caused this, though? @rix0rrr @QuantumNeuralCoder
Regression Issue
- Select this option if this issue appears to be a regression.
Last Known Working CDK Library Version
No response
Expected Behavior
No error
Current Behavior
There's an error as described above.
Reproduction Steps
N/A for now
Possible Solution
No response
Additional Information/Context
No response
AWS CDK Library version (aws-cdk-lib)
2.198
AWS CDK CLI version
2.1011.0 (build cd4ec06)
Node.js Version
v24.0.2
OS
Mac
Language
TypeScript
Language Version
No response
Other information
No response
Metadata
Metadata
Assignees
Labels
@aws-cdk/coreRelated to core CDK functionalityRelated to core CDK functionalitybugThis issue is a bug.This issue is a bug.effort/mediumMedium work item – several days of effortMedium work item – several days of effortp3