Skip to content

ci(windows): smoke step keeps the binary's stderr lines as output - #2367

Merged
frstrtr merged 1 commit into
masterfrom
ci/windows-smoke-stderr
Nov 28, 2026
Merged

frstrtr merged 1 commit into
masterfrom
ci/windows-smoke-stderr

Conversation

@frstrtr

@frstrtr frstrtr commented Nov 28, 2026

Copy link
Copy Markdown
Owner

The Windows "Verify binary" step in build.yml runs c2pool.exe --help 2>&1 under the shell's default $ErrorActionPreference = 'Stop'. Since #2353 the binary logs [init] sha256: using <impl> on stderr at startup; PowerShell turns that stderr line into a terminating NativeCommandError and the step exits 1 (master run 46159848860, Windows x86_64).

The step now sets $ErrorActionPreference = 'Continue' before the call, as release.yml's Windows smoke steps already do. The pass rule is unchanged: the captured output must not be empty.

Tests

  • This PR's own Windows x86_64 job runs the changed step.
  • build.yml parses (yaml.safe_load).

The Windows "Verify binary" step runs c2pool.exe --help 2>&1 under the
shell's default ErrorActionPreference 'Stop'. The binary logs
"[init] sha256: using <impl>" on stderr at startup, which PowerShell turns
into a terminating NativeCommandError, so the step exits 1. The step now
sets ErrorActionPreference 'Continue' before the call, as release.yml's
smoke steps do. The pass rule is unchanged: the captured output is not
empty.
@frstrtr
frstrtr merged commit 2f19e10 into master Nov 28, 2026
40 checks passed
frstrtr added a commit that referenced this pull request Nov 29, 2026
Master since 138fe5a, the Windows smoke step that keeps the binary's
stderr lines as output (#2367) among it.
frstrtr added a commit that referenced this pull request Nov 29, 2026
The GBT poller's interrupted-request fix and master (#2367 among it).
frstrtr added a commit that referenced this pull request Nov 29, 2026
The GBT poller's interrupted-request fix and master (#2367 among it).
frstrtr added a commit that referenced this pull request Nov 29, 2026
#2369 refreshed onto master (the Windows smoke step, #2367, among it).
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant