PowerShell / DSC

This repo is for the DSC v3 project
MIT License
133 stars 22 forks source link

Disable large trace in PSAdapter #472

Closed anmenaga closed 1 week ago

anmenaga commented 1 week ago

PR Summary

Current command_resource.rs code has a bug where if stderr pipe is filled before stdout, then a hang happens. This can happen if large traces are written by a resource process. An example is PSAdapter cache processing code when a module with lots of files is present on the system (e.g. SqlServerDsc).

This will be auto-fixed by fixing #46 (changing to async child process execution); Meanwhile, as a temporary workaround, this PR disables problematic trace line in PSAdapter.