Skip to content

ACP permission request can hang after cancel #1881

Description

@zerob13

Issue

ACP permission requests can remain pending if the user cancels/stops generation while the provider is awaiting a permission decision.

Impact

The ACP prompt coroutine can stay suspended on an unresolved permission promise, leaving provider/runtime state behind until process cleanup.

Expected fix

Cancel pending ACP permission promises on timeout and when the runtime clears active provider permissions for a session.

Validation

Add focused tests for ACP permission timeout cleanup and runtime session cleanup.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions