-
Type:
Task
-
Status: Resolved
-
Priority:
Normal
-
Resolution: Fixed
-
Affects Version/s: None
-
Fix Version/s: None
-
Component/s: None
-
Labels:None
-
Environment:
- Intermittent error occurs on Linux (Not WSL or Windows)
-
Template:customfield_10700 300589
-
Acceptance Criteria:
- The existing unit tests should not need to be modified and should pass
-
Epic Link:
-
Team:Windows
-
Story Points:1
-
Sprint:Windows 2019-03-20, Windows 2019-03-27, Windows 2019-04-03, Windows 2019-04-10
-
QA Risk Assessment:Needs Assessment
Previously in MODULES-8358 it was found there was a slight bug in the pipe reader in that it
wasn't reading all of the data.
A workaround was put in place as part of comit https://github.com/puppetlabs/puppetlabs-powershell/pull/247/commits/b8db256080b7a7f138b1e2ab13c5e4c25375fe78 however Ethan Brown raised some valid concerns over the workaround
This ticket will track the work to look at using a different pipe reading method which isn't subject to same issues, namely:
- Just because I chose a chunk of 8K doesn't mean that that is small enough.
- Concatenation can be an inefficient method of memory allocation. There should be better ways
Conversation reference:
https://github.com/puppetlabs/puppetlabs-powershell/pull/247#discussion_r261334543
- relates to
-
MODULES-8307 powershell : SPIKE figure out options for supporting powershell and powershell core
-
- Resolved
-
-
MODULES-8358 Add PowerShell Session Manager for pwsh in the PowerShell module
-
- Resolved
-