fix(cli): skip extra newline for command records in tail text output#173
Merged
infiniteregrets merged 1 commit intomainfrom Feb 5, 2026
Merged
fix(cli): skip extra newline for command records in tail text output#173infiniteregrets merged 1 commit intomainfrom
infiniteregrets merged 1 commit intomainfrom
Conversation
Contributor
Greptile OverviewGreptile SummaryThis PR updates the CLI The change aligns Confidence Score: 3/5
Important Files Changed
Sequence DiagramsequenceDiagram
participant U as User
participant CLI as s2 cli
participant OPS as ops::tail/ops::read
participant WR as output writer (stdout/file)
participant ERR as stderr
U->>CLI: s2 tail/read --format text
CLI->>OPS: request stream of SequencedRecord
loop for each record
OPS-->>CLI: SequencedRecord
alt record is command_record
CLI->>ERR: eprintln!(command summary)
note over CLI,WR: PR skips writing "\n" to WR for command records
else record is data
CLI->>WR: TextFormatter::write_record(record)
CLI->>WR: write_all("\n")
end
CLI->>WR: flush()
end
|
Merged
quettabit
pushed a commit
that referenced
this pull request
Feb 5, 2026
## 🤖 New release * `s2-lite`: 0.27.4 -> 0.27.5 (✓ API compatible changes) * `s2-cli`: 0.27.4 -> 0.27.5 <details><summary><i><b>Changelog</b></i></summary><p> ## `s2-lite` <blockquote> ## [0.27.5] - 2026-02-05 ### Miscellaneous Tasks - Update Cargo.lock dependencies <!-- generated by git-cliff --> </blockquote> ## `s2-cli` <blockquote> ## [0.27.5] - 2026-02-05 ### Bug Fixes - Skip extra newline for command records in tail text output ([#173](#173)) <!-- generated by git-cliff --> </blockquote> </p></details> --- This PR was generated with [release-plz](https://github.com/release-plz/release-plz/). Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
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.
No description provided.