Skip to content

fix: prevent permission-request stalls in tool calls#488

Merged
idofrizler merged 1 commit intostagingfrom
fix/powershell-permission-stall
Feb 28, 2026
Merged

fix: prevent permission-request stalls in tool calls#488
idofrizler merged 1 commit intostagingfrom
fix/powershell-permission-stall

Conversation

@idofrizler
Copy link
Collaborator

Summary

  • generate unique permission request IDs to avoid pendingPermissions collisions
  • flush pending permissions + clear stall timers on idle/error/stall/teardown paths
  • add regression tests for permission request ID uniqueness

Validation

  • npm run build
  • npm test

Ensure pending permission requests always use unique IDs and are flushed on session teardown/error paths to avoid unresolved PowerShell tool executions.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
@idofrizler idofrizler merged commit 41ad340 into staging Feb 28, 2026
8 checks passed
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