gaelcolas / gaelcolas/Sampler

Bootstrap in a separate thread?

Open
#169 0 comments 0 reactions 0 assignees View on GitHub
enhancement help wanted
Dominant language
PowerShell
Stars
243
Forks
46
Avg merge
1h 41m
Merged PRs (30d)
1

Description

Loading required modules can be a problem when you Save-Module a module that loads a DLL in the session, such as powershell-yaml.
When the Module is already present (i.e. during resolveDependency), it then loads the module and dll (for parsing build.yaml), and fail to redownload the module we want because it also tries to redownload the module it dpends on...
Quite annoying, something to explore...

Contributor guide

Open the contributing guide

Research direction

Start by tracing resolveDependency and the Save-Module flow described in the issue, especially how loading powershell-yaml and its DLL affects dependency resolution. Clarify whether isolated or separate-thread bootstrapping is viable, then verify that an already-present dependency is not unnecessarily downloaded again while build.yaml parsing still works.

Written by the indexing model from the issue text.

Assessment

Tech stack
powershell
Domain
build-system, devops
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.