Skip to content

[Revamp pipeline thread handling] Re-enable PS event handling #1433

Closed
@SydneyhSmith

Description

@SydneyhSmith

Currently, PSES manages its events through PSRL's PS event handling functionality, which is here.

When PSRL idles, we run PowerShell events. And in fact today's PSES adds its own events to the event handler -- it's where the extension runs all its PowerShell executions for services. Which leads to issues like PowerShell/vscode-powershell#2448.

With the async pipeline thread consumer, we are now in control of all of this, but we lose PSRL's handling of it.

We either need to:

  • Work out a way to get PSRL to handle it again, or
  • Handle it ourselves

We have to remember that events can only be processed in a nested PowerShell.

The assumption currently is that we'll handle things ourselves and do it here:

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions