Repository navigation
fix(sync): capture build and hook child output - #152
Merged
Merged
Conversation
Build programs and hooks now run with stdout/stderr captured instead of writing through to the terminal. The sync renderer reports each command as a row with scope and duration under its section, and shows captured output only for failed commands. Interactive conflict and trust prompts suspend the progress display while they read input. Replaces indicatif with console for the progress renderer.
Warning formatters return the bare message; the plain-line emitters prefix it, and the sync view renders it without stripping. JSON warning messages no longer carry the prefix.
srnnkls
marked this pull request as ready for review
November 25, 2026 20:57
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.
Summary
src/sync/child.rs) instead of writing through to the terminal.src/cli/render/sync_view.rs) groups the run into Sources, Targets, Hooks and Warnings sections; each build (under Sources) and hook is a row with scope and duration; failed commands show their captured output below the row.- b.md no longer in the linked source's offer.phora:prefix, so--jsonwarningmessagefields no longer start with it.indicatifreplaced byconsole; goldens, scrut docs and the README hook example follow the new output.