Skip to content

Feature: Posit Assistant should notify the user that Shiny apps are blocking the R session #114

Done

Description

@bastianolea

When using Posit Assistant for Shiny app dev, it's quite common to be running the app while chatting with the assistant, only for the assistant to hang waiting for its own code execution that will never resolve due to a running Shiny app blocking the session's console.

Posit Assistant should be able to realize that RStudio is running an R app and ask the user to stop it, or stop it in behalf of the user, in order to be able to run its own R code in the session's console. Otherwise, it just looks like the AI agent is hanging until the user realizes the console is being blocked by Shiny.

Activity

  1. added
    rstudio
    on Sep 21, 2026
  2. gtritchie commented on Nov 29, 2026

    @gtritchie
    Collaborator

    Tracking an RStudio-side improvement in rstudio/rstudio#19834: while agent code is waiting behind a running Shiny app, the chat pane shows that the Assistant is waiting for the R console and offers a button to stop the app. If the app keeps running, the agent gets an error that says why its code didn't run.

  3. gtritchie commented on Nov 30, 2026

    @gtritchie
    Collaborator

    Improvements incoming on RStudio (for the 2026.12 release).

    rstudio/rstudio#19836

  4. self-assigned this
    on Nov 30, 2026
  5. gtritchie commented on Nov 30, 2026

    @gtritchie
    Collaborator

    Fixed in (upcoming) RStudio 2026.12 release.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

rstudio

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions