fix: avoid deep-copying nodes, containers, and pods in planner inventory read - #2770
Conversation
Dependency Review✅ No vulnerabilities or license issues or OpenSSF Scorecard issues found.Scanned FilesNone |
Graphite Automations"Add anton/matt/sergey/kristina as reviwers on operator PRs" took an action on this PR • (08/20/26)2 reviewers were added to this PR based on Anton Bykov's automation. |
3435108 to
530d2f6
Compare
8303204 to
796b25d
Compare
530d2f6 to
35ea5a8
Compare
|
Claude finished @kristina-solovyova's task in 8m 7s —— View job Review:
|
35ea5a8 to
a9fd2ea
Compare
|
Claude finished @kristina-solovyova's task in 1m 53s —— View job Follow-up review: force-pushed head (
|
a9fd2ea to
416eeef
Compare
796b25d to
256aa42
Compare
…ory read The capacity-planner inventory build lists every node, WekaContainer, and pod in the cluster on each pass, and against the cached client every List deep-copied each object it returned — including node annotations carrying the KB-scale discovery.json and drive inventory. All three Lists now pass UnsafeDisableDeepCopy: no consumer retains a listed object, or any map or slice reached through one, past the call that listed it. Folds consumedNodeResourcesAndDrives into consumedNodeResources, which it differed from only by also returning allocatedNodeDrives, and extracts listInventoryInputs — the node + container listing preamble that Collect, NodeInventory and FullDrivesInventory each repeated.
256aa42 to
2db8a12
Compare
416eeef to
289d6c2
Compare

No description provided.