Repository navigation
Conversation
Signed-off-by: Mitch Gaffigan <mitch.gaffigan@comcast.net>
Config files only keep the first occurrence of each property. Keep the first occurrence commented so appending to the end of the file will have an effect. Signed-off-by: Mitch Gaffigan <mitch.gaffigan@comcast.net>
Signed-off-by: Mitch Gaffigan <mitch.gaffigan@comcast.net>
Signed-off-by: Mitch Gaffigan <mitch.gaffigan@comcast.net>
Signed-off-by: Mitch Gaffigan <mitch.gaffigan@comcast.net>
Signed-off-by: Mitch Gaffigan <mitch.gaffigan@comcast.net>
Signed-off-by: Mitch Gaffigan <mitch.gaffigan@comcast.net>
Signed-off-by: Mitch Gaffigan <mitch.gaffigan@comcast.net>
mgaffigan
marked this pull request as ready for review
November 25, 2026 18:18
mgaffigan
requested review from
a team,
NicoPiel,
gibson9583,
jonbartels,
kayyagari,
kpalang,
pacmano1 and
ssrowe
November 25, 2026 18:18
NicoPiel
reviewed
Nov 27, 2026
| $testExit = $LASTEXITCODE | ||
| Stop-Job $server | ||
| "::group::Server output" | ||
| Receive-Job $server 2>&1 | Out-String |
Contributor
There was a problem hiding this comment.
The pwsh shell in Actions prepends $ErrorActionPreference = 'stop' to the script. If the server job wrote anything to stderr, Receive-Job re-emits it as an error record, which then becomes terminating: the step exits 1 before exit $testExit, the ::endgroup:: is never printed, and the server's stdout is dropped too. So a green smoke run can turn the job red as soon as the JVM or a library logs a warning to stderr (it didn't happen in this run only because nothing went to stderr).
Minimal repro (pwsh 7.7):
$ErrorActionPreference = 'stop'
$server = & { sh -c 'echo out; echo err >&2' } &
Start-Sleep 2
Stop-Job $server
Receive-Job $server 2>&1 | Out-String # throws, exit code 1
exit 0Letting errors through here fixes it:
Suggested change
| Receive-Job $server 2>&1 | Out-String | |
| Receive-Job $server -ErrorAction Continue 2>&1 | Out-String |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Related #602 and #244
Fixes some windows build issues, makes sure we get notices in CI for future issues.