Repository navigation
fix: preserve native output in pipelines - #4382
lindicaphxag-tech wants to merge 14 commits into
Conversation
📊 Automated PR Analysis
SummaryThis PR changes the pipeline rewrite engine so that producer and intermediate stages of a shell pipeline are always left raw (native stdout), only rewriting a final grep/rg stage when safe. It removes the previously added producer-stage rewriting logic and its associated safety-check helpers, and updates the discover README and regression tests accordingly. Review Checklist
Linked issues: #4364 Analyzed automatically by wshm · This is an automated analysis, not a human review. |
|
Validation on current head 5c0d5ea: cargo fmt --all -- --check passes; the changed areas pass cargo test --bin rtk discover:: --quiet (627 tests) and cargo test --bin rtk hooks::hook_cmd --quiet (142 tests). A full Windows run passed 3,784 tests with one unrelated ind exit-code assertion differing because C:\Windows\System32\find.exe is selected instead of POSIX find; the changed suites are green. Could a maintainer review whether leaving pipeline producer/intermediate output native is the right boundary for #4364? I can adjust if needed. |
…stream Preserve the existing rtk-ai#4382 commit history while importing current develop and retaining its shell-wrapper and command-dispatch changes. Only the four files originally modified by rtk-ai#4382 differ from the current develop tree. Validation: upstream-based isolated candidate branch; native CI pending.
…ster (rtk-ai#4364) Reapply rtk-ai#4382 source/tests/docs on latest upstream master, preserving newer lexer imports. Fork integration branch only; validate before updating PR.
Preserve the original PR history and resolve the lexer import changes while retaining native pipeline producer semantics, tests and documentation.
72b2aa8 to
dffb38d
Compare
…tk-ai#4364) Reapply the complete rtk-ai#4382 patch on the actual PR target branch, retaining newer develop lexer imports; independent validation branch.
Resolve diverged discover lexer imports against current upstream develop. Preserve the original PR commits and six-file pipeline behavior/tests/docs.
Summary
grepandrgstages.Fixes #4364.
Validation
cargo +stable fmt --all -- --checkcargo +stable test discover::registry::tests::(456 passed)cargo +stable test test_claude_pipeline_preserves_producer_output_for_consumer(passed)cargo +stable test: 3772 passed, 8 ignored, 13 failed because this Windows environment cannot spawn the Unix shell commands required by existingcore::shell/core::streamtests.