Skip to content

fix: track active waits during retained room cleanup - #911

Merged
AlexanderZ-Band merged 3 commits into
mainfrom
feat/fixpython-track-active-waits-during-retained-room-INT-1905
Oct 22, 2026
Merged

AlexanderZ-Band merged 3 commits into
mainfrom
feat/fixpython-track-active-waits-during-retained-room-INT-1905

Conversation

@AlexanderZ-Band

Copy link
Copy Markdown
Collaborator

Why

Room cleanup must preserve accepted work actively waiting for the operation that requested cleanup. Task creation ancestry cannot represent shared initializers or successor callers.

What

Add completion-only RetainedRoom.wait_owned: track active dependencies without propagating cancellation or consuming target outcomes. Snapshot transitive dependents when cleanup is requested and preserve their exemption until each accepted operation finishes.

Scope

Shared Python retention and focused lifecycle/model regressions. Prerequisite for the ACP adaptation in #896; no Rust Core, TypeScript, dependency, or idle-retention changes. Tracks INT-1905.

@linear-code

linear-code Bot commented Oct 22, 2026

Copy link
Copy Markdown

INT-1905

@AlexanderZ-Band
AlexanderZ-Band added this pull request to stack #912 October 22, 2026 12:45
@AlexanderZ-Band
AlexanderZ-Band marked this pull request as ready for review October 22, 2026 12:46
@AlexanderZ-Band
AlexanderZ-Band added this pull request to the merge queue Oct 22, 2026
Merged via the queue into main with commit b671f89 Oct 22, 2026
35 checks passed
@AlexanderZ-Band
AlexanderZ-Band deleted the feat/fixpython-track-active-waits-during-retained-room-INT-1905 branch October 22, 2026 14:15
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.

1 participant