Skip to content

Fix compile_dfs multi-output trace leaks - #4440

Closed
PhilipJohnBasile wants to merge 1 commit into
ml-explore:mainfrom
PhilipJohnBasile:agent/fix-3932-safe-current
Closed

Fix compile_dfs multi-output trace leaks#4440
PhilipJohnBasile wants to merge 1 commit into
ml-explore:mainfrom
PhilipJohnBasile:agent/fix-3932-safe-current

Conversation

@PhilipJohnBasile

Copy link
Copy Markdown
Contributor

Remap temporary parent references before replacing the old tape so the existing sibling-cycle breaker can reclaim unreachable trace nodes without mutating externally owned graphs.

Add compile and export leak regressions plus an externally owned capture control.

  • ☑️ I understand it is strictly prohibited to use AI to write PR description
  • AI usage disclosure:

Remap temporary parent references before replacing the old tape so the existing sibling-cycle breaker can reclaim unreachable trace nodes without mutating externally owned graphs.

Add compile and export leak regressions plus an externally owned capture control.

Co-authored-by: OpenAI Codex <noreply@openai.com>
@zcbenz zcbenz added the await verification This pull request is non-trivial and requires a human expert to verify its correctness. label Sep 1, 2026
@zcbenz

zcbenz commented Sep 3, 2026

Copy link
Copy Markdown
Member

I'm closing this in favor of #4453 which fixes the root cause, please let me know if it is missing anything.

@zcbenz zcbenz closed this Sep 3, 2026
@zcbenz zcbenz removed the await verification This pull request is non-trivial and requires a human expert to verify its correctness. label Sep 3, 2026
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.

2 participants