Skip to content

fix(filters): mark truncated fallback output - #2584

Closed
YOMXXX wants to merge 1 commit into
rtk-ai:developfrom
YOMXXX:fix/issue-2204-truncation-marker
Closed

YOMXXX wants to merge 1 commit into
rtk-ai:developfrom
YOMXXX:fix/issue-2204-truncation-marker

Conversation

@YOMXXX

@YOMXXX YOMXXX commented Jun 24, 2026

Copy link
Copy Markdown
Contributor

Summary

  • add visible recovery hints when rtk git log reaches RTK-injected default caps
  • use parser passthrough truncation markers for ruff, ESLint, Pylint, and golangci-lint JSON parse fallbacks
  • add regression tests for hidden truncation in git log caps and parse-fail fallback paths

Fixes #2204

Verification

  • cargo +1.93.0 fmt --check
  • git diff --check
  • cargo +1.93.0 test parse_failure_marks_truncation -- --nocapture
  • cargo +1.93.0 test filter_log_output -- --nocapture
  • cargo +1.93.0 clippy --all-targets
  • cargo +1.93.0 test --all -- --skip small_grep_not_worse_than_plain

@YOMXXX

YOMXXX commented Jun 25, 2026

Copy link
Copy Markdown
Contributor Author

Status note: the red benchmark check is not caused by this PR's truncation-marker change. The failing row is curl text: CI compares curl -s https://httpbin.org/robots.txt at 8 tokens with rtk curl https://httpbin.org/robots.txt at 40 tokens, so the external network fixture can make the raw output smaller than the RTK path and trip the negative-savings gate.

I split the benchmark fixture fix into #2596, which replaces the httpbin curl benchmark with local file:// fixtures and is green. Once #2596 lands, rerunning this PR should clear benchmark; all other checks here are green.

@YOMXXX

YOMXXX commented Jul 19, 2026

Copy link
Copy Markdown
Contributor Author

CI follow-up: the red benchmark here is the shared curl fixture failure, not this PR's code path. I rebased and force-pushed #2596 (benchmark curl local fixtures) onto current develop; its new CI run is green, including benchmark.\n\nNext step for this PR: once #2596 lands, rerun CI / rebase on current develop so the benchmark uses the local file:// curl fixtures instead of the unstable external robots.txt response.\n\nCurrent extra state checked from GitHub: PR #2533 and #2570 are also conflicting with develop; #2584 is mergeable but still blocked by review/branch status.

@YOMXXX
YOMXXX force-pushed the fix/issue-2204-truncation-marker branch from 6c95493 to 9098898 Compare July 19, 2026 12:44
@YOMXXX

YOMXXX commented Jul 19, 2026

Copy link
Copy Markdown
Contributor Author

Ready for review/merge. Rebased onto current develop and the fresh CI run is green, including benchmark and all platform tests. Scope remains the visible truncation markers for capped fallback/filter output.

@rtk-release-bot

Copy link
Copy Markdown
Contributor

This pull request has been automatically marked as stale due to 90 days of inactivity. If this pull request is still relevant, please leave any comment (for example, "bump"), and we'll keep it open. Your contribution is very much appreciated — we're sorry we haven't been able to review it yet.

@rtk-release-bot

Copy link
Copy Markdown
Contributor

Closing this pull request after a prolonged period of inactivity. If this is still relevant, please ask for it to be reopened. Thank you!

@rtk-release-bot rtk-release-bot Bot closed this Oct 26, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

passthrough_max_chars truncates output silently (no marker) — git log shows 50 of 252 commits, misleads scope

1 participant