Repository navigation
fix(cmux-tui-core): snapshot_written takes the snapshot's end as one value (base red: clippy too_many_arguments) - #32092
Merged
Conversation
…value (base red: clippy too_many_arguments) #31931 (e3c495d) gave snapshot_written an eighth argument (the stream-gap count), so clippy -D warnings refuses cmux-tui-core on every feat push and PR: 'this function has too many arguments (8/7)' at output_store/snapshot.rs:537. The three values that say where the written snapshot ends (generation, stream_end, gaps) are now one SnapshotEnd, the same fields Capture::Snapshot carries. No behaviour change.
Contributor
|
cmux status (one comment, edited in place; each line is updated by the job that owns it) Review App of this head (app.zip, kept 1 day)
Shipped in:
|
Contributor
Author
|
Review (independent review subagent): SHIP at 98581fa Findings (I read the diff only; I did not build or run anything, and I used the fleet steps in the PR body as the build evidence):
|
Bugbot needs on-demand usage enabledBugbot uses usage-based billing for this team and requires on-demand usage to be enabled. A team admin can enable on-demand usage in the Cursor dashboard. |
This was referenced Nov 2, 2026
This branch was previously deployed
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
Base red on feat-cmux-next:
cargo clippy -D warningsrefuses cmux-tui-core on every push and every PR since #31931 (e3c495d). The error isthis function has too many arguments (8/7)atcmux-tui/crates/cmux-tui-core/src/output_store/snapshot.rs:537, because #31931 added the stream-gap count as an eighth argument ofsnapshot_written.The three values that say where a written snapshot ends (
generation,stream_end,gaps) are now oneSnapshotEndvalue. These are the same fields thatCapture::Snapshotcarries. The one caller and the three tests pass it. There is no behaviour change, and no#[allow].Found by dogfood-ports while it ran clippy for #32055. No STATUS item or open PR owned it.
Testing
Fleet, at head 98581fa:
test output_store: step a54017098216338571b20868 passed, 44 of 44.Observed / Not run
Observed: the fleet steps above. Not run: the full cmux-tui-core suite (only the output_store filter, which covers every caller).
Changelog
none
Need help on this PR? Tag
@codesmith-botwith what you need.Summary by cubic
Fixes the clippy
too_many_argumentsfailure incmux-tui-corethat made every push and PR tofeat-cmux-nextred.snapshot_writtengrew an eighth argument, so the three values describing where a written snapshot ends (generation,stream_end,gaps) now travel as oneSnapshotEndvalue, the same fieldsCapture::Snapshotcarries. There is no behavior change; the single production caller and the three tests pass it.Written for commit 98581fa. Summary will update on new commits.