-
-
Notifications
You must be signed in to change notification settings - Fork 20
Fix desktop service timeout while running extension actions #267
Copy link
Copy link
Open
Labels
area:composerComposer UI and controlsComposer UI and controlsarea:extensionsExtensions integration and displayExtensions integration and displayarea:runtimeLive runtime and session lifecycleLive runtime and session lifecyclepriority:p1Important, next-tier priorityImportant, next-tier prioritytype:bugBroken behaviorBroken behavior
Description
Metadata
Metadata
Assignees
Labels
area:composerComposer UI and controlsComposer UI and controlsarea:extensionsExtensions integration and displayExtensions integration and displayarea:runtimeLive runtime and session lifecycleLive runtime and session lifecyclepriority:p1Important, next-tier priorityImportant, next-tier prioritytype:bugBroken behaviorBroken behavior
Projects
StatusShow more project fields
Backlog
Problem
While running an extension command from the composer, Howcode can show this inline error:
The screenshot showed this while
/reviewwas being run from the composer. The extension/action appears to be long-running enough that the desktop service request timeout fires before the extension flow has actually finished.Why this matters
Extension actions can legitimately take a while, especially review-style commands or native tools that do substantial work. Timing out the desktop service call makes the extension look broken even if the underlying action may still be running or recoverable.
We should revisit why this path has a timeout at all, and whether
piThreads.handleDesktopActionshould be modeled as a long-running action instead of a short request/response RPC.Expected behavior
Notes / likely areas to inspect
piThreads.handleDesktopAction/reviewaction flowAcceptance criteria
Timed out waiting for desktop service method piThreads.handleDesktopActionas the primary failure.