Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Modules are imported by module discovery #2664

Closed
adamdriscoll opened this issue Sep 8, 2023 · 1 comment
Closed

Modules are imported by module discovery #2664

adamdriscoll opened this issue Sep 8, 2023 · 1 comment
Labels
bug Something isn't working completed The issue has been completed but is not yet released. PowerShell Universal Issue relates to PowerShell Universal.

Comments

@adamdriscoll
Copy link
Member

Version

4.0.12

Severity

Low

Steps to Reproduce

Modules in the repository Modules directory are being imported when the configuration system is running. This is causing problems for some users. We are doing this to read metadata about the module. We should instead use Get-Module -ListAvailable to get the same metadata and not import the module.

Expected behavior

All modules in Modules are not imported into PSU

Actual behavior

All modules in Modules are imported into PSU

Additional Environment data

No response

Visuals

No response

@adamdriscoll adamdriscoll added bug Something isn't working PowerShell Universal Issue relates to PowerShell Universal. requires triage Issue has not yet been verified by the development team. labels Sep 8, 2023
@adamdriscoll adamdriscoll added this to the PowerShell Universal 4.1 milestone Sep 8, 2023
@adamdriscoll adamdriscoll added completed The issue has been completed but is not yet released. and removed requires triage Issue has not yet been verified by the development team. labels Sep 9, 2023
@adamdriscoll
Copy link
Member Author

This issue has been mentioned on Ironman Software Forums. There might be relevant details there:

https://forums.ironmansoftware.com/t/psu-4-0-12-universal-server-exe-is-crashing-every-5-minutes-from-groom-service/9673/2

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working completed The issue has been completed but is not yet released. PowerShell Universal Issue relates to PowerShell Universal.
Projects
None yet
Development

No branches or pull requests

1 participant