Skip to content

Parallel ask_question calls will cancel the first call #297408

Closed

Description

Testing #297105

  1. Ask the model to have two subagents to ask_questions in parallel--I can imagine this could happen naturally with multiple research subagents
  2. The first question widget will appear (you can see this very briefly at 0:10 in the video)
  3. The second question will take its place
  4. The first question response will have been cancelled
26-02-58fcf512-c6cc-4b5c-a064-4cf543fab894.mp4

Activity

  1. meganrogge commented on Feb 24, 2026

    @meganrogge
    Collaborator

    Connor Peet (@connor4312) do you know if this happened before IE has always been an issue?

  2. added
    info-needed
    on Feb 24, 2026
  3. connor4312 commented on Feb 24, 2026

    @connor4312
    MemberAuthor

    I'm not sure, I don't think I had seen this organically before (in practice today's models generally only spawn parallel subagents if you tell them to)

  4. meganrogge commented on Feb 24, 2026

    @meganrogge
    Collaborator

    The ask_question tool couldn't be used by subagents before, so this is not a regression.

  5. added
    bug
    and removed
    info-needed
    on Feb 24, 2026
  6. meganrogge commented on Mar 3, 2026

    @meganrogge
    Collaborator

    Repro:

    Create testing.md agent

    ---
    name: testing
    description: Research and draft an implementation plan
    tools:
    - "vscode/askQuestions"
    ---
    
    # Role
    
    You are a testing agent. When the user asks you to test parallel questions, you MUST launch exactly two subagents in parallel (in the same tool call batch). Each subagent must call the vscode_askQuestions tool with a different question set.
    
    # Instructions
    
    When asked to test parallel questions:
    
    1. Launch **two subagents simultaneously** (both in the same parallel tool-call batch, not sequentially).
    2. Subagent 1 asks: "Which database engine do you prefer?" with options: PostgreSQL, MySQL, SQLite, MongoDB.
    3. Subagent 2 asks: "Which testing framework do you prefer?" with options: Jest, Vitest, Mocha, Playwright.
    4. Wait for both subagents to complete and report the results.
    
    Each subagent should use vscode_askQuestions directly with a single question. Do NOT ask questions yourself — delegate to subagents.
    
    

    Use that agent

    • type test parallel questions
    • verify you get each question and none are skipped
  7. added a commit that references this issue on Mar 3, 2026
    cc53e9c
  8. added a commit that references this issue on Mar 3, 2026
    29d5097
  9. added
    unreleased
    insiders-released
    and removed
    unreleased
    on Mar 3, 2026
  10. pwang347 commented on Mar 5, 2026

    @pwang347
    Contributor

    Megan Rogge (@meganrogge) Justin Chen (@justschen)
    Is it expected that the question blocks are not nested in the subagent blocks? (should I create a new issue for this?)

    Image
  11. added
    verified
    on Mar 5, 2026
  12. meganrogge commented on Mar 5, 2026

    @meganrogge
    Collaborator

    I actually don't know what's expected here, Justin Chen (@justschen) thoughts?

  13. added a commit that references this issue on Apr 13, 2026
    7adb6d6
  14. locked and limited conversation to collaborators on Apr 21, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Labels

bugchat-askinsiders-releasedverified

Type

No type

Projects

No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions