Repository navigation
fix: include "Finished" line in cargo build/check success output - #763
Merged
FlorianBruniaux merged 1 commit intoMar 28, 2026
Conversation
Contributor
|
Hello, thanks for contributing with this fix, Please target develop branch and read CONTRIBUTING.md so you can pass all checks, |
mvanhorn
force-pushed
the
osc/759-include-finished-line-in-cargo-output
branch
from
March 22, 2026 02:16
3d8e6e5 to
4a06317
Compare
Contributor
Author
|
Rebased onto develop and retargeted the PR base. Thanks for the heads up on CONTRIBUTING.md. |
Contributor
|
Hey We are cleaning up the codebase and improving the project structure for better onboarding. As part of this effort, PR #826 reorganizes No logic changes — only file moves and import path updates. What you need to doRebase your branch on git fetch origin && git rebase origin/developGit detects renames automatically. If you get import conflicts, update the paths: use crate::git; // now: use crate::cmds::git::git;
use crate::tracking; // now: use crate::core::tracking;
use crate::config; // now: use crate::core::config;
use crate::init; // now: use crate::hooks::init;
use crate::gain; // now: use crate::analytics::gain;Need help rebasing? Tag @aeppling |
Co-Authored-By: Claude Opus 4.6 <[email protected]>
mvanhorn
force-pushed
the
osc/759-include-finished-line-in-cargo-output
branch
from
March 26, 2026 18:58
4a06317 to
72b1e59
Compare
Contributor
Author
|
Rebased onto develop in 72b1e59. |
Contributor
Author
|
Thanks for the quick review! |
thehoff
pushed a commit
to thehoff/contextcrawler
that referenced
this pull request
May 14, 2026
…line-in-cargo-output Correct. The Finished line carries useful signal (build time + profile). Defensive implementation with Option fallback.
thehoff
pushed a commit
to thehoff/contextcrawler
that referenced
this pull request
May 14, 2026
…line-in-cargo-output Correct. The Finished line carries useful signal (build time + profile). Defensive implementation with Option fallback.
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
Preserves the cargo
Finished ...line in the filtered success output forrtk cargo buildandrtk cargo check. Previously, success output only showedcargo build (0 crates compiled)which was ambiguous - LLMs couldn't tell if the build succeeded or if there were errors.Why this matters
Per #759, Claude interpreted
cargo build (0 crates compiled)as potentially erroneous and tried workarounds (rtk proxy cargo check,RUSTFLAGS="-D warnings" rtk proxy cargo check), consuming extra tokens. Claude expected to see theFinished dev profile ...message as a clear success signal.Changes
src/cargo_cmd.rs: Infilter_cargo_build(), capture theFinishedline instead of skipping it, and append it to the success summary. The output now looks like:Testing
All 38
cargo_cmdtests pass (cargo test cargo_cmd). The change only affects the success path - error/warning output is unchanged.Fixes #759
This contribution was developed with AI assistance (Claude Code).