Skip to content

Amazon Q on VS Code is a Nightmare #8791

@Riaan0326

Description

@Riaan0326

Title: [VSCode Client] Failed to execute button action: deferred tool execution not found / Persistent connection instability

Description:

Bug:
When attempting to execute a tool action via a button in the chat, the following error is thrown:

Failed to execute button action: could not find deferred tool execution for message: tooluse_cuQPefL8Rt8nzvrixDk0yi

Copy
Additional Context — Connection Instability:

Beyond the above error, the agent experience is extremely unreliable:

Approximately 9 out of 10 times when re-submitting a request, the "Working..." indicator just flickers repeatedly with no actual progress or response. The request never completes.

On the rare occasion (~1/10) that the agent does successfully connect and respond, it has completely lost context of the prior conversation — requiring the user to start over from scratch using reference .md files.

Expected Behavior:

Button actions tied to deferred tool executions should resolve correctly.

Re-submitted requests should reliably produce a response without indefinite flickering.

Conversation context should be preserved across retries within the same session.

Impact:
This makes the agentic coding workflow essentially unusable, as the user cannot rely on continuity or successful execution of multi-step tasks.

Environment:

IDE: VS Code

Extension: Amazon Q Developer

OS: Windows

amazonwebservices.amazon-q-vscode

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugWe can reproduce the issue and confirmed it is a bug.

    Type

    No type
    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