Skip to content

REPL failure code decorator persists on successful code  #22811

Closed
@cwebster-99

Description

@cwebster-99

Tested on WSL and Codespaces and experienced the same issue. Code decorators appear as normal until you get a failure and then all subsequent code has a failure indicator even if successful. When using the Run Previous Command, the keyboard interrupt produces a failure decorator and then causes the similar behavior for subsequent code runs.

Repro:

  • Send code to the REPL and observe the code decorators that appear
  • Send a line that will result in a failure
  • Observe the failure decorator that appears as expected
  • Send code that should be successful
  • Observe the failure decorator that persists

Repro for run previous command bug:

  • Send a few lines of code to the REPL
  • Trigger the run previous command
  • Run a previous statement
  • Observe the failure decorator that persists

Codespaces:

repl_shell_integration_bug.mp4

WSL:
shellintegrationbug

Metadata

Metadata

Assignees

Labels

area-replbugIssue identified by VS Code Team member as probable bugon-testplanAdded to test plantriage-neededNeeds assignment to the proper sub-team

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions