windmill-labs / windmill

Open-source developer platform to power your entire infra and turn scripts into webhooks, workflows and UIs. Fastest workflow engine (13x vs Airflow). Open-source alternative to Retool and Temporal.
https://windmill.dev
Other
10.91k stars 531 forks source link

make pwsh default modules loading more robust on unix #4448

Closed HugoCasa closed 1 month ago

HugoCasa commented 1 month ago

[!IMPORTANT] Improve PowerShell module loading robustness on Unix by modifying PSModulePath in handle_powershell_job() in bash_executor.rs.

  • Behavior:
    • In handle_powershell_job() in bash_executor.rs, change PSModulePath to use $PSHome/Modules instead of splitting the existing path.
    • Ensures default modules are loaded and autoloading is disabled for robustness on Unix.
  • Misc:
    • Adjusts PowerShell environment setup to prevent issues with large cache exploration, especially on cloud environments.

This description was created by Ellipsis for 520ab8eafb31ce9a607cfb652a836aec6084ef21. It will automatically update as commits are pushed.

cloudflare-workers-and-pages[bot] commented 1 month ago

Deploying windmill with  Cloudflare Pages  Cloudflare Pages

Latest commit: 520ab8e
Status:⚡️  Build in progress...

View logs