Skip to content

Copilot 1.0.20 Does Not Close Child Pwsh.exe Earlier Then On Exit #2573

@znamenap

Description

@znamenap

Describe the bug

I've let run the github speckit over the night and in the mornig have found 197 child processes made by copilot.exe.
I'm assuminig it is a bug while handling the results.
I'm assuming also the amount of the private bytes signifiies for a bug also.

Image Image

This is the command line of the pwsh.exe
pwsh.exe -NoProfile -NoLogo -NoExit -Command "try { Set-PSReadLineOption -PredictionSource None -BellStyle None -HistorySaveStyle SaveNothing -MaximumHistoryCount 0 } catch { Set-PSReadLineOption -HistorySaveStyle SaveNothing }"

I did not observe this with 1.0.17

Affected version

GitHub Copilot CLI 1.0.20.

Steps to reproduce the behavior

I'm not certain if this is reproducible, I'll keep en eye on it during the day if it happen again.

Expected behavior

Copilot should end the process just after it finished collected results and ensure the child process is gone.

Additional context

Windows 11 / Windows Terminal Preview / pwsh.exe 7.5.5

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No fields configured for Bug.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions