Skip to content

Conversation

@mjr4077au
Copy link
Member

There's bugs in Out-String that can lead to strings with infinitely long trailing lines depending on how wide the output is to be. We resolve this by streaming the output to reduce memory load, and by reducing the width maximum 16-bit value, as we don't need 2147483647 columns here.

@mjr4077au mjr4077au requested a review from DanGough September 4, 2025 23:43
@mjr4077au mjr4077au self-assigned this Sep 4, 2025
@mjr4077au mjr4077au added the Type: Issue / Bug Something isn't working as expected label Sep 4, 2025
@mjr4077au mjr4077au added this to the 4.1.5 milestone Sep 4, 2025
There's bugs in `Out-String` that can lead to strings with infinitely long trailing lines depending on how wide the output is to be. We resolve this by streaming the output to reduce memory load, and by reducing the width maximum 16-bit value, as we don't need 2147483647 columns here.
@mjr4077au mjr4077au force-pushed the resolveAdtErrorRecord branch from 846d39a to dfe2b26 Compare September 5, 2025 00:00
@DanGough DanGough merged commit 0659d65 into main Sep 5, 2025
2 checks passed
@DanGough
Copy link
Contributor

DanGough commented Sep 5, 2025

This can go in 4.1.x also, if we issue a 4.1.5 before 4.2.0...

@mjr4077au mjr4077au deleted the resolveAdtErrorRecord branch September 5, 2025 10:45
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Type: Issue / Bug Something isn't working as expected

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants