Repository navigation
Conversation
ropoctl
force-pushed
the
diag-wo-echo-stderr
branch
from
September 4, 2026 06:33
f246596 to
4fd1030
Compare
ropoctl
force-pushed
the
diag-wo-echo-stderr
branch
from
September 4, 2026 09:10
4fd1030 to
8239b1c
Compare
A .wo bundle build/check/harness failure emitted only the exit code and the path to a capture file under out/command/, which never reaches the CI log — so the real sub-compiler diagnostic was invisible (a No-Silent-Fallbacks gap). The action already holds both captured streams in memory on the ToolProcessResult it gets back from run_capture_with_env, so echo whichever the tool wrote. stdout is surfaced alongside stderr because a failing sub-compiler need not write to stderr; a tool silent on both folds to the path-only message. Wired into all five wo_fail-with-capture sites (scratch rebuild, harness build, harness run, bundle build, interface check).
ropoctl
force-pushed
the
diag-wo-echo-stderr
branch
2 times, most recently
from
September 4, 2026 11:05
4fd1030 to
6681527
Compare
This was referenced Sep 5, 2026
Contributor
|
Landed on main via cherry-pick under a new hash: 388decf (build/wo: echo captured output into .wo action failures). It was load-bearing for today's Windows diagnosis — echoing the .wo build's captured stderr is what surfaced the real #1081 panic behind the opaque 'bundle build failed' message. Closing as merged-by-content; original SHA differs because it was cherry-picked, not merged. |
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.
What
.wobuild actions capture each sub-tool's stdout/stderr into files underout/command/<target>/. On failure,run_wo_bundle_build_action,run_wo_drift_action, andwo_drift_run_harnessreport only the path ofthat capture file:
The capture file is not part of the CI log, so the actual compiler diagnostic
never travels with the failure. This is a No Silent Fallbacks gap: the lane
fails, names a file nobody can see, and the real error is invisible.
Fix
Add
wo_captured_stderr(ctx, capture_path), which reads the capture file backthrough the action's
ToolFsand appends its content to the failure message.An empty or unreadable capture (or a genuinely silent tool) folds to nothing, so
the message degrades to exactly today's behavior when there is nothing to show.
Wired into all five
wo_failsites that name a.stderrpath.Why now
The Windows
pcre2-wo-buildlane fails with exit 1 and swallows the compiler'sown error, making the native-runtime failure undiagnosable from CI logs alone.
This surfaces it.
Verification
with check build.wpasses (typechecks the whole build module graph incl.build/wo.w).drop audits).
Stacked on the pcre2-wo stabilization stack so its own Windows CI lane reaches
pcre2-wo-build(post-Bug-A) and demonstrates the newly-surfaced diagnostic.