rad:z3gqcJUoA1n9HaHKufZs5FCSGazv5 heartwood25712ceb0423c05f48f27588b95b769d6f6b1edd
{
"request": "trigger",
"version": 1,
"event_type": "patch",
"repository": {
"id": "rad:z3gqcJUoA1n9HaHKufZs5FCSGazv5",
"name": "heartwood",
"description": "Radicle Heartwood Protocol & Stack",
"private": false,
"default_branch": "master",
"delegates": [
"did:key:z6MksFqXN3Yhqk8pTJdUGLwATkRfQvwZXPqR2qMEhbS9wzpT",
"did:key:z6MktaNvN1KVFMkSRAiN4qK5yvX1zuEEaseeX5sffhzPZRZW",
"did:key:z6MkireRatUThvd3qzfKht1S44wpm4FEWSSa4PRMTSQZ3voM",
"did:key:z6MkgFq6z5fkF2hioLLSNu1zP2qEL1aHXHZzGH1FLFGAnBGz",
"did:key:z6MkkPvBfjP4bQmco5Dm7UGsX2ruDBieEHi8n9DVJWX5sTEz"
]
},
"action": "Updated",
"patch": {
"id": "79daf0e6dbb18c54b8e8a6a7bdaeeaef764c5183",
"author": {
"id": "did:key:z6Mku263TDxoptFHqPNaz8aFeuc3kyJhcQKJPPVB9wkBgR76",
"alias": "flepied"
},
"title": "cli: use a pager on list commands",
"state": {
"status": "open",
"conflicts": []
},
"before": "11fc98c9c9c4c681d265e765df05c2f9d503ddc9",
"after": "25712ceb0423c05f48f27588b95b769d6f6b1edd",
"commits": [
"25712ceb0423c05f48f27588b95b769d6f6b1edd"
],
"target": "11fc98c9c9c4c681d265e765df05c2f9d503ddc9",
"labels": [],
"assignees": [],
"revisions": [
{
"id": "79daf0e6dbb18c54b8e8a6a7bdaeeaef764c5183",
"author": {
"id": "did:key:z6Mku263TDxoptFHqPNaz8aFeuc3kyJhcQKJPPVB9wkBgR76",
"alias": "flepied"
},
"description": "",
"base": "55cdd880bfee08124d5b6a38cc05036402c7ab6e",
"oid": "03f4733394f67bb142b12f91bf70747a44c47950",
"timestamp": 1756655004
},
{
"id": "9665554130b558d6eccc78ebfea54c095f6c83b4",
"author": {
"id": "did:key:z6Mku263TDxoptFHqPNaz8aFeuc3kyJhcQKJPPVB9wkBgR76",
"alias": "flepied"
},
"description": "rebased on master",
"base": "f00d1d67432882bef11fc940601f071efe55c88d",
"oid": "8ab3e770b97ef8a52d31fbe02e60df9973332206",
"timestamp": 1757007944
},
{
"id": "d8d3d678e8544ea8c71315a7d7977d3261ee5e30",
"author": {
"id": "did:key:z6Mku263TDxoptFHqPNaz8aFeuc3kyJhcQKJPPVB9wkBgR76",
"alias": "flepied"
},
"description": "Some small fixups.",
"base": "f00d1d67432882bef11fc940601f071efe55c88d",
"oid": "b883ed105515f64d7db5a5aeb1b691f255377cd5",
"timestamp": 1757074236
},
{
"id": "20cc1897a7203e3d05f05da3a812ab1b961232ad",
"author": {
"id": "did:key:z6Mku263TDxoptFHqPNaz8aFeuc3kyJhcQKJPPVB9wkBgR76",
"alias": "flepied"
},
"description": "rebased on master",
"base": "11fc98c9c9c4c681d265e765df05c2f9d503ddc9",
"oid": "25712ceb0423c05f48f27588b95b769d6f6b1edd",
"timestamp": 1757424133
}
]
}
}
{
"response": "triggered",
"run_id": {
"id": "acb0a823-08cb-4356-8151-7279bd79fd23"
},
"info_url": "https://cci.rad.levitte.org//acb0a823-08cb-4356-8151-7279bd79fd23.html"
}
Started at: 2025-09-09 15:22:52.016992+02:00
Commands:
$ rad clone rad:z3gqcJUoA1n9HaHKufZs5FCSGazv5 .
✓ Creating checkout in ./...
✓ Remote cloudhead@z6MksFqXN3Yhqk8pTJdUGLwATkRfQvwZXPqR2qMEhbS9wzpT added
✓ Remote-tracking branch cloudhead@z6MksFqXN3Yhqk8pTJdUGLwATkRfQvwZXPqR2qMEhbS9wzpT/master created for z6MksFqXN3Yhqk8pTJdUGLwATkRfQvwZXPqR2qMEhbS9wzpT
✓ Remote cloudhead@z6MktaNvN1KVFMkSRAiN4qK5yvX1zuEEaseeX5sffhzPZRZW added
✓ Remote-tracking branch cloudhead@z6MktaNvN1KVFMkSRAiN4qK5yvX1zuEEaseeX5sffhzPZRZW/master created for z6MktaNvN1KVFMkSRAiN4qK5yvX1zuEEaseeX5sffhzPZRZW
✓ Remote fintohaps@z6MkireRatUThvd3qzfKht1S44wpm4FEWSSa4PRMTSQZ3voM added
✓ Remote-tracking branch fintohaps@z6MkireRatUThvd3qzfKht1S44wpm4FEWSSa4PRMTSQZ3voM/master created for z6MkireRatUThvd3qzfKht1S44wpm4FEWSSa4PRMTSQZ3voM
✓ Remote erikli@z6MkgFq6z5fkF2hioLLSNu1zP2qEL1aHXHZzGH1FLFGAnBGz added
✓ Remote-tracking branch erikli@z6MkgFq6z5fkF2hioLLSNu1zP2qEL1aHXHZzGH1FLFGAnBGz/master created for z6MkgFq6z5fkF2hioLLSNu1zP2qEL1aHXHZzGH1FLFGAnBGz
✓ Remote lorenz@z6MkkPvBfjP4bQmco5Dm7UGsX2ruDBieEHi8n9DVJWX5sTEz added
✓ Remote-tracking branch lorenz@z6MkkPvBfjP4bQmco5Dm7UGsX2ruDBieEHi8n9DVJWX5sTEz/master created for z6MkkPvBfjP4bQmco5Dm7UGsX2ruDBieEHi8n9DVJWX5sTEz
✓ Repository successfully cloned under /opt/radcis/ci.rad.levitte.org/cci/state/acb0a823-08cb-4356-8151-7279bd79fd23/w/
╭────────────────────────────────────╮
│ heartwood │
│ Radicle Heartwood Protocol & Stack │
│ 116 issues · 16 patches │
╰────────────────────────────────────╯
Run `cd ./.` to go to the repository directory.
Exit code: 0
$ rad patch checkout 79daf0e6dbb18c54b8e8a6a7bdaeeaef764c5183
✓ Switched to branch patch/79daf0e at revision 20cc189
✓ Branch patch/79daf0e setup to track rad/patches/79daf0e6dbb18c54b8e8a6a7bdaeeaef764c5183
Exit code: 0
$ git config advice.detachedHead false
Exit code: 0
$ git checkout 25712ceb0423c05f48f27588b95b769d6f6b1edd
HEAD is now at 25712ceb cli: use a pager on list commands
Exit code: 0
$ git show 25712ceb0423c05f48f27588b95b769d6f6b1edd
commit 25712ceb0423c05f48f27588b95b769d6f6b1edd
Author: Frederic Lepied <flepied@gmail.com>
Date: Sat Aug 30 21:51:02 2025 +0200
cli: use a pager on list commands
diff --git a/crates/radicle-cli/src/commands/issue.rs b/crates/radicle-cli/src/commands/issue.rs
index 8465cbae..51331893 100644
--- a/crates/radicle-cli/src/commands/issue.rs
+++ b/crates/radicle-cli/src/commands/issue.rs
@@ -823,7 +823,8 @@ where
.into(),
]);
}
- table.print();
+
+ term::print_with_pager(table)?;
Ok(())
}
diff --git a/crates/radicle-cli/src/commands/ls.rs b/crates/radicle-cli/src/commands/ls.rs
index e4398ec6..036165c1 100644
--- a/crates/radicle-cli/src/commands/ls.rs
+++ b/crates/radicle-cli/src/commands/ls.rs
@@ -5,8 +5,6 @@ use radicle::storage::{ReadStorage, RepositoryInfo};
use crate::terminal as term;
use crate::terminal::args::{Args, Error, Help};
-use term::Element;
-
pub const HELP: Help = Help {
name: "ls",
description: "List repositories",
@@ -157,7 +155,7 @@ pub fn run(options: Options, ctx: impl term::Context) -> anyhow::Result<()> {
]);
table.divider();
table.extend(rows);
- table.print();
+ term::print_with_pager(table)?;
}
Ok(())
diff --git a/crates/radicle-cli/src/commands/node.rs b/crates/radicle-cli/src/commands/node.rs
index 1b9a7da4..23207243 100644
--- a/crates/radicle-cli/src/commands/node.rs
+++ b/crates/radicle-cli/src/commands/node.rs
@@ -14,7 +14,6 @@ use radicle::prelude::RepoId;
use crate::terminal as term;
use crate::terminal::args::{Args, Error, Help};
-use crate::terminal::Element as _;
#[path = "node/commands.rs"]
mod commands;
@@ -311,7 +310,7 @@ pub fn run(options: Options, ctx: impl term::Context) -> anyhow::Result<()> {
Operation::Sessions => {
let sessions = control::sessions(&node)?;
if let Some(table) = sessions {
- table.print();
+ term::print_with_pager(table)?;
}
}
Operation::Events { timeout, count } => {
diff --git a/crates/radicle-cli/src/commands/node/control.rs b/crates/radicle-cli/src/commands/node/control.rs
index 8876aba6..711d4852 100644
--- a/crates/radicle-cli/src/commands/node/control.rs
+++ b/crates/radicle-cli/src/commands/node/control.rs
@@ -304,7 +304,7 @@ pub fn status(node: &Node, profile: &Profile) -> anyhow::Result<()> {
let sessions = sessions(node)?;
if let Some(table) = sessions {
term::blank();
- table.print();
+ term::print_with_pager(table)?;
}
if profile.hints() {
diff --git a/crates/radicle-cli/src/commands/patch/list.rs b/crates/radicle-cli/src/commands/patch/list.rs
index fd2c4584..8cabb686 100644
--- a/crates/radicle-cli/src/commands/patch/list.rs
+++ b/crates/radicle-cli/src/commands/patch/list.rs
@@ -9,7 +9,6 @@ use radicle::storage::git::Repository;
use term::format::Author;
use term::table::{Table, TableOptions};
-use term::Element as _;
use crate::terminal as term;
use crate::terminal::patch as common;
@@ -86,7 +85,7 @@ pub fn run(
Err(e) => errors.push((patch.title(), id, e.to_string())),
}
}
- table.print();
+ term::print_with_pager(table)?;
if !errors.is_empty() {
for (title, id, error) in errors {
diff --git a/crates/radicle-cli/src/commands/remote.rs b/crates/radicle-cli/src/commands/remote.rs
index ec64b054..f0797d9f 100644
--- a/crates/radicle-cli/src/commands/remote.rs
+++ b/crates/radicle-cli/src/commands/remote.rs
@@ -209,20 +209,20 @@ pub fn run(options: Options, ctx: impl Context) -> anyhow::Result<()> {
// Only include a blank line if we're printing both tracked and untracked
let include_blank_line = !tracked.is_empty() && !untracked.is_empty();
- list::print_tracked(tracked.iter());
+ list::print_tracked(tracked.iter())?;
if include_blank_line {
term::blank();
}
- list::print_untracked(untracked.iter());
+ list::print_untracked(untracked.iter())?;
}
ListOption::Tracked => {
let tracked = list::tracked(&working)?;
- list::print_tracked(tracked.iter());
+ list::print_tracked(tracked.iter())?;
}
ListOption::Untracked => {
let tracked = list::tracked(&working)?;
let untracked = list::untracked(rid, &profile, tracked.iter())?;
- list::print_untracked(untracked.iter());
+ list::print_untracked(untracked.iter())?;
}
},
};
diff --git a/crates/radicle-cli/src/commands/remote/list.rs b/crates/radicle-cli/src/commands/remote/list.rs
index f5c40fd2..ca5eb33a 100644
--- a/crates/radicle-cli/src/commands/remote/list.rs
+++ b/crates/radicle-cli/src/commands/remote/list.rs
@@ -5,7 +5,7 @@ use radicle::identity::{Did, RepoId};
use radicle::node::{Alias, AliasStore as _, NodeId};
use radicle::storage::ReadStorage as _;
use radicle::Profile;
-use radicle_term::{Element, Table};
+use radicle_term::Table;
use crate::git;
use crate::terminal as term;
@@ -80,7 +80,7 @@ pub fn untracked<'a>(
.collect::<Result<Vec<_>, _>>()?)
}
-pub fn print_tracked<'a>(tracked: impl Iterator<Item = &'a Tracked>) {
+pub fn print_tracked<'a>(tracked: impl Iterator<Item = &'a Tracked>) -> anyhow::Result<()> {
let mut table = Table::default();
for Tracked { direction, name } in tracked {
let Some(direction) = direction else {
@@ -101,10 +101,11 @@ pub fn print_tracked<'a>(tracked: impl Iterator<Item = &'a Tracked>) {
term::format::parens(term::format::secondary(dir.to_owned())),
]);
}
- table.print();
+ term::print_with_pager(table)?;
+ Ok(())
}
-pub fn print_untracked<'a>(untracked: impl Iterator<Item = &'a Untracked>) {
+pub fn print_untracked<'a>(untracked: impl Iterator<Item = &'a Untracked>) -> anyhow::Result<()> {
let mut t = Table::default();
for Untracked { remote, alias } in untracked {
t.push([
@@ -115,5 +116,6 @@ pub fn print_untracked<'a>(untracked: impl Iterator<Item = &'a Untracked>) {
term::format::highlight(Did::from(remote).to_string()),
])
}
- t.print();
+ term::print_with_pager(t)?;
+ Ok(())
}
diff --git a/crates/radicle-cli/src/commands/self.rs b/crates/radicle-cli/src/commands/self.rs
index cfc62081..fc9e5016 100644
--- a/crates/radicle-cli/src/commands/self.rs
+++ b/crates/radicle-cli/src/commands/self.rs
@@ -2,11 +2,11 @@ use std::ffi::OsString;
use radicle::crypto::ssh;
use radicle::node::Handle as _;
-use radicle::{Node, Profile};
+use radicle::node::Node;
+use radicle::profile::Profile;
use crate::terminal as term;
use crate::terminal::args::{Args, Error, Help};
-use crate::terminal::Element as _;
pub const HELP: Help = Help {
name: "self",
@@ -210,7 +210,7 @@ fn all(profile: &Profile) -> anyhow::Result<()> {
term::format::tertiary(profile.home.node().display()).into(),
]);
- table.print();
+ term::print_with_pager(table)?;
Ok(())
}
diff --git a/crates/radicle-cli/src/commands/sync.rs b/crates/radicle-cli/src/commands/sync.rs
index 81c962c2..f89ddea1 100644
--- a/crates/radicle-cli/src/commands/sync.rs
+++ b/crates/radicle-cli/src/commands/sync.rs
@@ -404,7 +404,7 @@ fn sync_status(
time.dim().italic().into(),
]);
}
- table.print();
+ term::print_with_pager(table)?;
if profile.hints() {
const COLUMN_WIDTH: usize = 16;
diff --git a/crates/radicle-cli/src/terminal.rs b/crates/radicle-cli/src/terminal.rs
index 86712223..4c65e81c 100644
--- a/crates/radicle-cli/src/terminal.rs
+++ b/crates/radicle-cli/src/terminal.rs
@@ -161,3 +161,11 @@ pub fn fail(_name: &str, error: &anyhow::Error) {
io::hint(hint);
}
}
+
+/// Print an element with automatic paging when there are too many lines.
+/// This function automatically detects if the content is too long for the terminal
+/// and uses a pager if necessary.
+pub fn print_with_pager(elem: impl Element) -> anyhow::Result<()> {
+ elem.print_with_pager()?;
+ Ok(())
+}
diff --git a/crates/radicle-cli/src/terminal/patch.rs b/crates/radicle-cli/src/terminal/patch.rs
index b4630cab..6b98c0c0 100644
--- a/crates/radicle-cli/src/terminal/patch.rs
+++ b/crates/radicle-cli/src/terminal/patch.rs
@@ -317,7 +317,7 @@ pub fn list_commits(commits: &[git::raw::Commit]) -> anyhow::Result<()> {
term::format::italic(String::from_utf8_lossy(message).to_string()),
]);
}
- table.print();
+ term::print_with_pager(table)?;
Ok(())
}
diff --git a/crates/radicle-term/src/element.rs b/crates/radicle-term/src/element.rs
index feee19a9..f3f63702 100644
--- a/crates/radicle-term/src/element.rs
+++ b/crates/radicle-term/src/element.rs
@@ -56,7 +56,13 @@ impl Constraint {
/// Returns [`None`] if the output device is not a terminal.
pub fn from_env() -> Option<Self> {
if io::stdout().is_terminal() {
- Some(Self::max(viewport().unwrap_or(Size::MAX)))
+ // Use our more reliable terminal size detection instead of the broken viewport() function
+ if let Some((cols, rows)) = get_terminal_size() {
+ Some(Self::max(Size::new(cols, rows)))
+ } else {
+ // Fallback to viewport if our detection fails
+ Some(Self::max(viewport().unwrap_or(Size::MAX)))
+ }
} else {
None
}
@@ -89,6 +95,32 @@ pub trait Element: fmt::Debug + Send + Sync {
}
}
+ /// Print this element to stdout, automatically using a pager if there are too many lines.
+ /// This method is preferred over `print()` when you want automatic paging behavior.
+ fn print_with_pager(&self) -> io::Result<()> {
+ // Only use pager if we're on a terminal and not in tests
+ if !io::stdout().is_terminal() || cfg!(test) {
+ // Not on a terminal or running in tests, just print normally
+ self.print();
+ return Ok(());
+ }
+
+ // Get the actual content size using UNBOUNDED constraint
+ let element_rows = self.size(Constraint::UNBOUNDED).rows;
+
+ // Try to get terminal size to determine if paging is needed
+ if let Some((_, terminal_rows)) = get_terminal_size() {
+ // Use pager if the element is too tall for the terminal
+ if element_rows > terminal_rows {
+ return crate::pager::run(self);
+ }
+ }
+
+ // Otherwise, just print normally
+ self.print();
+ Ok(())
+ }
+
/// Write using the given constraints to `stdout`.
fn write(&self, constraints: Constraint) -> io::Result<()>
where
@@ -121,6 +153,10 @@ impl Element for Box<dyn Element + '_> {
fn print(&self) {
self.deref().print()
}
+
+ fn print_with_pager(&self) -> io::Result<()> {
+ self.deref().print_with_pager()
+ }
}
impl<T: Element> Element for &T {
@@ -135,11 +171,15 @@ impl<T: Element> Element for &T {
fn print(&self) {
(*self).print()
}
+
+ fn print_with_pager(&self) -> io::Result<()> {
+ (*self).print_with_pager()
+ }
}
/// Write using the given constraints, to a writer.
pub fn write_to(
- elem: &impl Element,
+ elem: &(impl Element + ?Sized),
writer: &mut impl io::Write,
constraints: Constraint,
) -> io::Result<()> {
@@ -419,3 +459,42 @@ mod test {
);
}
}
+
+/// Get terminal size with fallback methods
+pub fn get_terminal_size() -> Option<(usize, usize)> {
+ // First try crossterm
+ if let Some(size) = crate::viewport() {
+ // Validate the size - if it's too small, it's probably wrong
+ if size.rows >= 10 && size.cols >= 20 {
+ return Some((size.cols, size.rows));
+ }
+ }
+
+ // Fallback to environment variables
+ if let (Ok(lines), Ok(cols)) = (std::env::var("LINES"), std::env::var("COLUMNS")) {
+ if let (Ok(lines), Ok(cols)) = (lines.parse::<usize>(), cols.parse::<usize>()) {
+ if lines >= 10 && cols >= 20 {
+ return Some((cols, lines));
+ }
+ }
+ }
+
+ // Fallback to stty command
+ if let Ok(output) = std::process::Command::new("stty").arg("size").output() {
+ if let Ok(output_str) = String::from_utf8(output.stdout) {
+ let parts: Vec<&str> = output_str.trim().split_whitespace().collect();
+ if parts.len() == 2 {
+ if let (Ok(lines), Ok(cols)) =
+ (parts[1].parse::<usize>(), parts[0].parse::<usize>())
+ {
+ if lines >= 10 && cols >= 20 {
+ return Some((cols, lines));
+ }
+ }
+ }
+ }
+ }
+
+ // Final fallback: assume reasonable defaults for modern terminals
+ Some((80, 24))
+}
diff --git a/crates/radicle-term/src/lib.rs b/crates/radicle-term/src/lib.rs
index 2113c6f7..2fe10bee 100644
--- a/crates/radicle-term/src/lib.rs
+++ b/crates/radicle-term/src/lib.rs
@@ -7,6 +7,7 @@ pub mod format;
pub mod hstack;
pub mod io;
pub mod label;
+pub mod pager;
pub mod spinner;
pub mod table;
pub mod textarea;
diff --git a/crates/radicle-term/src/pager.rs b/crates/radicle-term/src/pager.rs
new file mode 100644
index 00000000..9f92b809
--- /dev/null
+++ b/crates/radicle-term/src/pager.rs
@@ -0,0 +1,115 @@
+use std::io::{self, IsTerminal};
+use std::process::{Command, Stdio};
+
+use crate::element::{self, get_terminal_size, Constraint, Element};
+
+/// Output the given element through a pager, if necessary.
+/// If it fits within the screen, don't run it through a pager.
+pub fn run(elem: &(impl Element + ?Sized)) -> io::Result<()> {
+ // Only use pager if we're on a terminal and not in tests
+ if !io::stdout().is_terminal() || cfg!(test) {
+ // Not on a terminal or running in tests, just write directly to stdout
+ return element::write_to(elem, &mut io::stdout(), Constraint::UNBOUNDED);
+ }
+
+ // Note: We don't need to create a constraint here since we use UNBOUNDED when rendering to pager
+ // The pager itself handles width constraints
+
+ let Some((_, _rows)) = get_terminal_size() else {
+ return element::write_to(elem, &mut io::stdout(), Constraint::UNBOUNDED);
+ };
+
+ // Get the actual content size using UNBOUNDED constraint
+ let element_rows = elem.size(Constraint::UNBOUNDED).rows;
+
+ // Check if the element fits within the terminal
+ if let Some((_, terminal_rows)) = get_terminal_size() {
+ // If the element fits within the terminal, don't use pager
+ if element_rows <= terminal_rows {
+ return element::write_to(elem, &mut io::stdout(), Constraint::UNBOUNDED);
+ }
+ }
+
+ // Get the pager command, but validate it's a real pager
+ let pager = std::env::var("PAGER")
+ .ok()
+ .or_else(|| std::env::var("LESS").ok())
+ .or_else(|| Some("more".to_string()));
+
+ // Validate that the pager is a real pager, not a shell command
+ let pager = if let Some(ref pager_cmd) = pager {
+ if pager_cmd.contains("sh -c") || pager_cmd.contains("head") || pager_cmd.contains("cat") {
+ // PAGER appears to be a shell command, fall back to 'more' (safer with colors)
+ "more".to_string()
+ } else {
+ pager_cmd.clone()
+ }
+ } else {
+ "more".to_string()
+ };
+ let Some(parts) = shlex::split(&pager) else {
+ // Fallback to 'more' if pager parsing fails
+ let mut child = Command::new("more")
+ .stdin(Stdio::piped())
+ .stdout(Stdio::inherit())
+ .stderr(Stdio::inherit())
+ .spawn()?;
+
+ let writer = child.stdin.as_mut().unwrap();
+ let result = element::write_to(elem, writer, Constraint::UNBOUNDED);
+
+ child.wait()?;
+
+ match result {
+ Err(e) if e.kind() == io::ErrorKind::BrokenPipe => {}
+ Err(e) => return Err(e),
+ Ok(_) => {}
+ }
+
+ return Ok(());
+ };
+ let Some((program, args)) = parts.split_first() else {
+ // Fallback to 'more' if pager parsing fails
+ let mut child = Command::new("more")
+ .stdin(Stdio::piped())
+ .stdout(Stdio::inherit())
+ .stderr(Stdio::inherit())
+ .spawn()?;
+
+ let writer = child.stdin.as_mut().unwrap();
+ let result = element::write_to(elem, writer, Constraint::UNBOUNDED);
+
+ child.wait()?;
+
+ match result {
+ Err(e) if e.kind() == io::ErrorKind::BrokenPipe => {}
+ Err(e) => return Err(e),
+ Ok(_) => {}
+ }
+
+ return Ok(());
+ };
+
+ let mut child = Command::new(program)
+ .stdin(Stdio::piped())
+ .stdout(Stdio::inherit())
+ .stderr(Stdio::inherit())
+ .args(args)
+ .spawn()?;
+
+ let writer = child.stdin.as_mut().unwrap();
+ // Use UNBOUNDED constraint when rendering to pager to preserve table formatting
+ // The pager itself will handle width constraints
+ let result = element::write_to(elem, writer, Constraint::UNBOUNDED);
+
+ child.wait()?;
+
+ match result {
+ // This error is expected when the pager is exited.
+ Err(e) if e.kind() == io::ErrorKind::BrokenPipe => {}
+ Err(e) => return Err(e),
+ Ok(_) => {}
+ }
+
+ Ok(())
+}
diff --git a/crates/radicle-term/src/table.rs b/crates/radicle-term/src/table.rs
index ddc27013..c941b0fd 100644
--- a/crates/radicle-term/src/table.rs
+++ b/crates/radicle-term/src/table.rs
@@ -215,6 +215,20 @@ impl<const W: usize, T: Cell> Table<W, T> {
cols += 2 + padding;
rows += 2;
}
+
+ // If the constraint is effectively UNBOUNDED (max is Size::MAX), use a reasonable maximum width
+ // This preserves table formatting when rendering to pager without making it excessively wide
+ if c.max == Size::MAX {
+ // Use a reasonable maximum width (e.g., 120 columns) to preserve formatting
+ // but avoid making the table excessively wide
+ let max_width = 120;
+ if cols > max_width {
+ return Size::new(max_width, rows);
+ }
+ return Size::new(cols, rows);
+ }
+
+ // Otherwise, apply the constraint
Size::new(cols, rows).constrain(c)
}
}
Exit code: 0
shell: 'cargo --version rustc --version cargo fmt --check cargo clippy --all-targets --workspace -- --deny warnings cargo build --all-targets --workspace cargo doc --workspace --no-deps cargo test --workspace --no-fail-fast '
Commands:
$ podman run --name acb0a823-08cb-4356-8151-7279bd79fd23 -v /opt/radcis/ci.rad.levitte.org/cci/state/acb0a823-08cb-4356-8151-7279bd79fd23/s:/acb0a823-08cb-4356-8151-7279bd79fd23/s:ro -v /opt/radcis/ci.rad.levitte.org/cci/state/acb0a823-08cb-4356-8151-7279bd79fd23/w:/acb0a823-08cb-4356-8151-7279bd79fd23/w -w /acb0a823-08cb-4356-8151-7279bd79fd23/w -v /opt/radcis/ci.rad.levitte.org/.radicle:/${id}/.radicle:ro -e RAD_HOME=/${id}/.radicle rust:bookworm bash /acb0a823-08cb-4356-8151-7279bd79fd23/s/script.sh
time="2025-09-09T15:22:53+02:00" level=error msg="User-selected graph driver \"overlay\" overwritten by graph driver \"vfs\" from database - delete libpod local files (\"/opt/radcis/ci.rad.levitte.org/.local/share/containers/storage\") to resolve. May prevent use of images created by other tools"
time="2025-09-09T15:22:53+02:00" level=error msg="User-selected graph driver \"overlay\" overwritten by graph driver \"vfs\" from database - delete libpod local files (\"/opt/radcis/ci.rad.levitte.org/.local/share/containers/storage\") to resolve. May prevent use of images created by other tools"
+ cargo --version
info: syncing channel updates for '1.88-x86_64-unknown-linux-gnu'
info: latest update on 2025-06-26, rust version 1.88.0 (6b00bc388 2025-06-23)
info: downloading component 'cargo'
info: downloading component 'clippy'
info: downloading component 'rust-docs'
info: downloading component 'rust-src'
info: downloading component 'rust-std'
info: downloading component 'rustc'
info: downloading component 'rustfmt'
info: installing component 'cargo'
info: installing component 'clippy'
info: installing component 'rust-docs'
info: installing component 'rust-src'
info: installing component 'rust-std'
info: installing component 'rustc'
info: installing component 'rustfmt'
cargo 1.88.0 (873a06493 2025-05-10)
+ rustc --version
rustc 1.88.0 (6b00bc388 2025-06-23)
+ cargo fmt --check
+ cargo clippy --all-targets --workspace -- --deny warnings
Updating crates.io index
Downloading crates ...
Downloaded addr2line v0.24.2
Downloaded env_filter v0.1.3
Downloaded aho-corasick v1.1.3
Downloaded data-encoding v2.5.0
Downloaded base16ct v0.2.0
Downloaded sharded-slab v0.1.7
Downloaded serde_json v1.0.140
Downloaded iana-time-zone v0.1.60
Downloaded idna v1.0.3
Downloaded num-bigint-dig v0.8.4
Downloaded p384 v0.13.0
Downloaded overload v0.1.1
Downloaded outref v0.5.2
Downloaded anyhow v1.0.82
Downloaded os_info v3.12.0
Downloaded num-complex v0.4.6
Downloaded num-cmp v0.1.0
Downloaded fraction v0.15.3
Downloaded p256 v0.13.2
Downloaded bit-vec v0.8.0
Downloaded cc v1.2.2
Downloaded amplify_derive v4.0.0
Downloaded bitflags v2.9.1
Downloaded cbc v0.1.2
Downloaded rand v0.8.5
Downloaded regex-syntax v0.6.29
Downloaded serde_derive v1.0.219
Downloaded scopeguard v1.2.0
Downloaded same-file v1.0.6
Downloaded data-encoding-macro v0.1.14
Downloaded popol v3.0.0
Downloaded cyphergraphy v0.3.0
Downloaded ctr v0.9.2
Downloaded shell-words v1.1.0
Downloaded base64 v0.22.1
Downloaded radicle-surf v0.22.0
Downloaded rustix v0.38.34
Downloaded smallvec v1.13.2
Downloaded scrypt v0.11.0
Downloaded socket2 v0.5.7
Downloaded regex-automata v0.1.10
Downloaded escargot v0.5.10
Downloaded radicle-git-ext v0.8.1
Downloaded cipher v0.4.4
Downloaded blowfish v0.9.1
Downloaded socks5-client v0.4.1
Downloaded colored v2.1.0
Downloaded regex-syntax v0.8.5
Downloaded siphasher v0.3.11
Downloaded spin v0.9.8
Downloaded uuid-simd v0.8.0
Downloaded serde_derive_internals v0.29.1
Downloaded zerofrom-derive v0.1.6
Downloaded spki v0.7.3
Downloaded snapbox-macros v0.3.8
Downloaded object v0.36.7
Downloaded der v0.7.9
Downloaded idna_adapter v1.2.0
Downloaded serde v1.0.219
Downloaded document-features v0.2.11
Downloaded lexopt v0.3.0
Downloaded nonempty v0.5.0
Downloaded cfg-if v1.0.0
Downloaded colorchoice v1.0.0
Downloaded multibase v0.9.1
Downloaded test-log-macros v0.2.18
Downloaded bitflags v1.3.2
Downloaded lazy_static v1.5.0
Downloaded test-log v0.2.18
Downloaded filetime v0.2.23
Downloaded fastrand v2.1.0
Downloaded aead v0.5.2
Downloaded libm v0.2.8
Downloaded tree-sitter-html v0.23.2
Downloaded gix-command v0.4.1
Downloaded gix-quote v0.4.15
Downloaded jsonschema v0.30.0
Downloaded gix-utils v0.1.14
Downloaded gix-url v0.28.2
Downloaded num-bigint v0.4.6
Downloaded gix-chunk v0.4.11
Downloaded gix-traverse v0.43.1
Downloaded ghash v0.5.1
Downloaded tinyvec_macros v0.1.1
Downloaded version_check v0.9.4
Downloaded write16 v1.0.0
Downloaded jobserver v0.1.31
Downloaded crossbeam-utils v0.8.19
Downloaded utf8_iter v1.0.4
Downloaded tinystr v0.7.6
Downloaded typeid v1.0.3
Downloaded unicode-segmentation v1.11.0
Downloaded toml_datetime v0.7.0
Downloaded gix-trace v0.1.12
Downloaded tinyvec v1.6.0
Downloaded uuid v1.16.0
Downloaded yoke-derive v0.7.5
Downloaded walkdir v2.5.0
Downloaded streaming-iterator v0.1.9
Downloaded stable_deref_trait v1.2.0
Downloaded log v0.4.27
Downloaded typenum v1.17.0
Downloaded gix-hashtable v0.6.0
Downloaded universal-hash v0.5.1
Downloaded unicode-display-width v0.3.0
Downloaded gix-fs v0.12.1
Downloaded xattr v1.3.1
Downloaded newline-converter v0.3.0
Downloaded gix-hash v0.15.1
Downloaded tree-sitter-language v0.1.2
Downloaded tree-sitter-json v0.24.8
Downloaded thiserror-impl v1.0.69
Downloaded thiserror v2.0.12
Downloaded num v0.4.3
Downloaded tar v0.4.40
Downloaded sqlite3-sys v0.15.2
Downloaded generic-array v0.14.7
Downloaded gix-shallow v0.1.0
Downloaded libc v0.2.174
Downloaded normalize-line-endings v0.3.0
Downloaded gix-revwalk v0.17.0
Downloaded gix-ref v0.49.1
Downloaded tracing-core v0.1.34
Downloaded gix-date v0.9.4
Downloaded gix-protocol v0.47.0
Downloaded winnow v0.6.26
Downloaded icu_collections v1.5.0
Downloaded gix-odb v0.66.0
Downloaded tree-sitter-bash v0.23.3
Downloaded gix-revision v0.31.1
Downloaded zerovec v0.10.4
Downloaded io-reactor v0.5.2
Downloaded getrandom v0.2.15
Downloaded tracing-subscriber v0.3.19
Downloaded memmap2 v0.9.4
Downloaded timeago v0.4.2
Downloaded tree-sitter-c v0.23.2
Downloaded tree-sitter-css v0.23.1
Downloaded icu_provider v1.5.0
Downloaded getrandom v0.3.3
Downloaded gix-pack v0.56.0
Downloaded syn v2.0.89
Downloaded icu_normalizer v1.5.0
Downloaded mio v1.0.4
Downloaded miniz_oxide v0.8.8
Downloaded indexmap v2.2.6
Downloaded emojis v0.6.4
Downloaded jiff v0.2.1
Downloaded memchr v2.7.2
Downloaded inquire v0.7.5
Downloaded tree-sitter-go v0.23.4
Downloaded ssh-key v0.6.6
Downloaded mio v0.8.11
Downloaded gix-diff v0.49.0
Downloaded icu_locid_transform_data v1.5.1
Downloaded icu_properties v1.5.1
Downloaded tree-sitter-python v0.23.4
Downloaded tree-sitter v0.24.4
Downloaded chrono v0.4.38
Downloaded tree-sitter-typescript v0.23.2
Downloaded icu_properties_data v1.5.1
Downloaded bloomy v1.2.0
Downloaded bstr v1.9.1
Downloaded icu_locid_transform v1.5.0
Downloaded syn v1.0.109
Downloaded tree-sitter-rust v0.23.2
Downloaded tree-sitter-md v0.3.2
Downloaded sqlite3-src v0.5.1
Downloaded git2 v0.19.0
Downloaded gimli v0.31.1
Downloaded toml v0.9.5
Downloaded crossbeam-channel v0.5.15
Downloaded gix-transport v0.44.0
Downloaded tree-sitter-ruby v0.23.1
Downloaded libgit2-sys v0.17.0+1.8.1
Downloaded gix-lock v15.0.1
Downloaded toml_writer v1.0.2
Downloaded synstructure v0.13.1
Downloaded vcpkg v0.2.15
Downloaded unicode-ident v1.0.12
Downloaded tracing v0.1.41
Downloaded hashbrown v0.14.3
Downloaded netservices v0.8.0
Downloaded fancy-regex v0.14.0
Downloaded derive_more v2.0.1
Downloaded gix-validate v0.9.4
Downloaded gix-tempfile v15.0.0
Downloaded tree-sitter-toml-ng v0.6.0
Downloaded gix-object v0.46.1
Downloaded flate2 v1.1.1
Downloaded zerocopy v0.7.35
Downloaded gix-sec v0.10.12
Downloaded ssh-encoding v0.2.0
Downloaded linux-raw-sys v0.4.13
Downloaded tree-sitter-highlight v0.24.4
Downloaded yoke v0.7.5
Downloaded nonempty v0.9.0
Downloaded noise-framework v0.4.0
Downloaded gix-credentials v0.26.0
Downloaded gix-config-value v0.14.12
Downloaded git-ref-format-core v0.3.1
Downloaded zeroize v1.7.0
Downloaded tracing-log v0.2.0
Downloaded url v2.5.4
Downloaded crypto-bigint v0.5.5
Downloaded git-ref-format v0.3.1
Downloaded gix-negotiate v0.17.0
Downloaded fxhash v0.2.1
Downloaded zerovec-derive v0.10.3
Downloaded nu-ansi-term v0.46.0
Downloaded icu_locid v1.5.0
Downloaded writeable v0.5.5
Downloaded tempfile v3.10.1
Downloaded elliptic-curve v0.13.8
Downloaded group v0.13.0
Downloaded gix-refspec v0.27.0
Downloaded systemd-journal-logger v2.2.2
Downloaded gix-commitgraph v0.25.1
Downloaded git-ref-format-macro v0.3.1
Downloaded thiserror-impl v2.0.12
Downloaded icu_normalizer_data v1.5.1
Downloaded ssh-cipher v0.2.0
Downloaded aes-gcm v0.10.3
Downloaded thiserror v1.0.69
Downloaded inout v0.1.3
Downloaded derive_more-impl v2.0.1
Downloaded crossterm v0.29.0
Downloaded aes v0.8.4
Downloaded gix-features v0.39.1
Downloaded yansi v0.5.1
Downloaded diff v0.1.13
Downloaded maybe-async v0.2.10
Downloaded lock_api v0.4.11
Downloaded gix-path v0.10.15
Downloaded gix-packetline v0.18.4
Downloaded fluent-uri v0.3.2
Downloaded utf8parse v0.2.1
Downloaded litrs v0.4.1
Downloaded linux-raw-sys v0.9.4
Downloaded utf16_iter v1.0.5
Downloaded matchers v0.1.0
Downloaded thread_local v1.1.9
Downloaded unicode-width v0.1.11
Downloaded litemap v0.7.5
Downloaded subtle v2.5.0
Downloaded zerofrom v0.1.6
Downloaded vsimd v0.8.0
Downloaded gix-actor v0.33.2
Downloaded unicode-normalization v0.1.23
Downloaded bytes v1.10.1
Downloaded localtime v1.3.1
Downloaded itoa v1.0.11
Downloaded ahash v0.8.11
Downloaded sha3 v0.10.8
Downloaded gix-prompt v0.9.1
Downloaded fast-glob v0.3.3
Downloaded erased-serde v0.4.6
Downloaded either v1.11.0
Downloaded ed25519 v1.5.3
Downloaded digest v0.10.7
Downloaded crossterm v0.25.0
Downloaded ff v0.13.0
Downloaded faster-hex v0.9.0
Downloaded errno v0.3.13
Downloaded keccak v0.1.5
Downloaded dunce v1.0.5
Downloaded block-buffer v0.10.4
Downloaded crypto-common v0.1.6
Downloaded chacha20 v0.9.1
Downloaded bcrypt-pbkdf v0.10.0
Downloaded icu_provider_macros v1.5.0
Downloaded human-panic v2.0.3
Downloaded home v0.5.9
Downloaded hmac v0.12.1
Downloaded snapbox v0.4.17
Downloaded signals_receipts v0.2.0
Downloaded schemars v1.0.4
Downloaded rustix v1.0.7
Downloaded rsa v0.9.6
Downloaded regex-automata v0.4.9
Downloaded pretty_assertions v1.4.0
Downloaded email_address v0.2.9
Downloaded bytesize v2.0.1
Downloaded borrow-or-share v0.2.2
Downloaded ct-codecs v1.1.1
Downloaded bit-set v0.8.0
Downloaded data-encoding-macro-internal v0.1.12
Downloaded amplify v4.6.0
Downloaded siphasher v1.0.1
Downloaded similar v2.5.0
Downloaded signal-hook v0.3.18
Downloaded shlex v1.3.0
Downloaded signature v2.2.0
Downloaded signature v1.6.4
Downloaded serde-untagged v0.1.7
Downloaded sqlite v0.32.0
Downloaded once_cell v1.21.3
Downloaded signal-hook-registry v1.4.5
Downloaded signal-hook-mio v0.2.4
Downloaded sem_safe v0.2.0
Downloaded radicle-std-ext v0.1.0
Downloaded ppv-lite86 v0.2.17
Downloaded parking_lot_core v0.9.9
Downloaded crc32fast v1.4.0
Downloaded chacha20poly1305 v0.10.1
Downloaded arc-swap v1.7.1
Downloaded base-x v0.2.11
Downloaded amplify_syn v2.0.1
Downloaded regex v1.11.1
Downloaded phf_shared v0.11.3
Downloaded dyn-clone v1.0.17
Downloaded proc-macro-error v1.0.4
Downloaded pin-project-lite v0.2.16
Downloaded schemars_derive v1.0.4
Downloaded env_logger v0.11.8
Downloaded cypheraddr v0.4.0
Downloaded base32 v0.4.0
Downloaded ref-cast-impl v1.0.24
Downloaded quote v1.0.36
Downloaded proc-macro2 v1.0.92
Downloaded proc-macro-error-attr v1.0.4
Downloaded primeorder v0.13.6
Downloaded polyval v0.6.2
Downloaded pkg-config v0.3.30
Downloaded pkcs1 v0.7.5
Downloaded phf v0.11.3
Downloaded percent-encoding v2.3.1
Downloaded pem-rfc7468 v0.7.0
Downloaded libz-sys v1.1.16
Downloaded pbkdf2 v0.12.2
Downloaded parking_lot v0.12.3
Downloaded opaque-debug v0.3.1
Downloaded num-traits v0.2.19
Downloaded num-rational v0.4.2
Downloaded num-iter v0.1.45
Downloaded num-integer v0.1.46
Downloaded ec25519 v0.1.0
Downloaded cpufeatures v0.2.12
Downloaded block-padding v0.3.3
Downloaded base64 v0.21.7
Downloaded ascii v1.1.0
Downloaded adler2 v2.0.0
Downloaded sha2 v0.10.8
Downloaded sha1_smol v1.0.0
Downloaded serde_spanned v1.0.0
Downloaded sec1 v0.7.3
Downloaded salsa20 v0.10.2
Downloaded rfc6979 v0.4.0
Downloaded ref-cast v1.0.24
Downloaded rand_core v0.6.4
Downloaded rand_chacha v0.3.1
Downloaded qcheck-macros v1.0.0
Downloaded prodash v29.0.2
Downloaded poly1305 v0.8.0
Downloaded equivalent v1.0.1
Downloaded displaydoc v0.2.5
Downloaded convert_case v0.7.1
Downloaded const-oid v0.9.6
Downloaded byteorder v1.5.0
Downloaded bytecount v0.6.8
Downloaded anstyle-query v1.0.2
Downloaded pkcs8 v0.10.2
Downloaded cyphernet v0.5.2
Downloaded anstyle v1.0.6
Downloaded ecdsa v0.16.9
Downloaded anstream v0.6.13
Downloaded paste v1.0.15
Downloaded form_urlencoded v1.2.1
Downloaded base64ct v1.6.0
Downloaded base64 v0.13.1
Downloaded referencing v0.30.0
Downloaded backtrace v0.3.75
Downloaded anstyle-parse v0.2.3
Downloaded amplify_num v0.5.2
Downloaded p521 v0.13.3
Downloaded ryu v1.0.17
Downloaded rustc-demangle v0.1.26
Downloaded qcheck v1.0.0
Downloaded autocfg v1.2.0
Compiling libc v0.2.174
Compiling proc-macro2 v1.0.92
Compiling unicode-ident v1.0.12
Checking cfg-if v1.0.0
Compiling shlex v1.3.0
Compiling version_check v0.9.4
Compiling serde v1.0.219
Checking memchr v2.7.2
Compiling quote v1.0.36
Checking log v0.4.27
Compiling autocfg v1.2.0
Compiling syn v2.0.89
Checking getrandom v0.2.15
Compiling jobserver v0.1.31
Checking smallvec v1.13.2
Checking aho-corasick v1.1.3
Compiling cc v1.2.2
Compiling typenum v1.17.0
Checking regex-syntax v0.8.5
Compiling generic-array v0.14.7
Checking rand_core v0.6.4
Checking fastrand v2.1.0
Checking crypto-common v0.1.6
Checking bitflags v2.9.1
Compiling lock_api v0.4.11
Compiling parking_lot_core v0.9.9
Checking scopeguard v1.2.0
Checking regex-automata v0.4.9
Checking stable_deref_trait v1.2.0
Checking subtle v2.5.0
Checking parking_lot v0.12.3
Checking once_cell v1.21.3
Compiling syn v1.0.109
Checking tinyvec_macros v0.1.1
Checking tinyvec v1.6.0
Checking zeroize v1.7.0
Checking unicode-normalization v0.1.23
Compiling synstructure v0.13.1
Checking bstr v1.9.1
Checking cpufeatures v0.2.12
Checking litemap v0.7.5
Checking writeable v0.5.5
Compiling crc32fast v1.4.0
Compiling thiserror v2.0.12
Compiling icu_locid_transform_data v1.5.1
Checking block-padding v0.3.3
Compiling icu_properties_data v1.5.1
Checking inout v0.1.3
Checking block-buffer v0.10.4
Compiling icu_normalizer_data v1.5.1
Checking itoa v1.0.11
Checking hashbrown v0.14.3
Compiling pkg-config v0.3.30
Compiling serde_derive v1.0.219
Compiling zerofrom-derive v0.1.6
Compiling yoke-derive v0.7.5
Compiling zerovec-derive v0.10.3
Compiling displaydoc v0.2.5
Checking zerofrom v0.1.6
Checking yoke v0.7.5
Compiling thiserror-impl v2.0.12
Compiling icu_provider_macros v1.5.0
Checking zerovec v0.10.4
Checking digest v0.10.7
Checking tinystr v0.7.6
Checking icu_collections v1.5.0
Checking icu_locid v1.5.0
Checking cipher v0.4.4
Compiling thiserror v1.0.69
Checking adler2 v2.0.0
Checking icu_provider v1.5.0
Checking utf16_iter v1.0.5
Checking write16 v1.0.0
Checking utf8_iter v1.0.4
Checking icu_locid_transform v1.5.0
Checking miniz_oxide v0.8.8
Compiling thiserror-impl v1.0.69
Compiling rustix v0.38.34
Checking percent-encoding v2.3.1
Checking icu_properties v1.5.1
Checking linux-raw-sys v0.4.13
Checking sha2 v0.10.8
Checking form_urlencoded v1.2.1
Checking universal-hash v0.5.1
Checking opaque-debug v0.3.1
Compiling vcpkg v0.2.15
Compiling amplify_syn v2.0.1
Compiling libz-sys v1.1.16
Checking icu_normalizer v1.5.0
Compiling data-encoding v2.5.0
Checking idna_adapter v1.2.0
Checking idna v1.0.3
Checking gix-trace v0.1.12
Checking tempfile v3.10.1
Checking url v2.5.4
Compiling amplify_derive v4.0.0
Checking amplify_num v0.5.2
Compiling data-encoding-macro-internal v0.1.12
Checking signature v1.6.4
Checking ascii v1.1.0
Checking data-encoding-macro v0.1.14
Checking ed25519 v1.5.3
Checking faster-hex v0.9.0
Compiling libgit2-sys v0.17.0+1.8.1
Checking aead v0.5.2
Compiling num-traits v0.2.19
Compiling proc-macro-error-attr v1.0.4
Checking ct-codecs v1.1.1
Checking base-x v0.2.11
Checking byteorder v1.5.0
Checking multibase v0.9.1
Checking ec25519 v0.1.0
Checking poly1305 v0.8.0
Checking chacha20 v0.9.1
Checking gix-utils v0.1.14
Compiling proc-macro-error v1.0.4
Checking amplify v4.6.0
Checking cyphergraphy v0.3.0
Checking gix-hash v0.15.1
Checking same-file v1.0.6
Checking keccak v0.1.5
Compiling crossbeam-utils v0.8.19
Checking flate2 v1.1.1
Checking sha3 v0.10.8
Checking walkdir v2.5.0
Compiling git-ref-format-core v0.3.1
Checking polyval v0.6.2
Checking hmac v0.12.1
Compiling sqlite3-src v0.5.1
Checking prodash v29.0.2
Checking equivalent v1.0.1
Checking base64ct v1.6.0
Checking base32 v0.4.0
Compiling serde_json v1.0.140
Checking ppv-lite86 v0.2.17
Checking sha1_smol v1.0.0
Checking gix-features v0.39.1
Checking pem-rfc7468 v0.7.0
Checking rand_chacha v0.3.1
Checking cypheraddr v0.4.0
Checking indexmap v2.2.6
Checking pbkdf2 v0.12.2
Compiling git-ref-format-macro v0.3.1
Checking ghash v0.5.1
Checking chacha20poly1305 v0.10.1
Checking ctr v0.9.2
Checking aes v0.8.4
Checking ryu v1.0.17
Checking aes-gcm v0.10.3
Checking git-ref-format v0.3.1
Checking noise-framework v0.4.0
Checking crossbeam-channel v0.5.15
Checking socks5-client v0.4.1
Checking rand v0.8.5
Checking ssh-encoding v0.2.0
Checking blowfish v0.9.1
Checking cbc v0.1.2
Compiling ref-cast v1.0.24
Checking home v0.5.9
Checking radicle-std-ext v0.1.0
Checking gix-path v0.10.15
Checking ssh-cipher v0.2.0
Checking bcrypt-pbkdf v0.10.0
Checking cyphernet v0.5.2
Compiling ref-cast-impl v1.0.24
Checking signature v2.2.0
Checking ssh-key v0.6.6
Checking qcheck v1.0.0
Checking radicle-ssh v0.10.0 (/acb0a823-08cb-4356-8151-7279bd79fd23/w/crates/radicle-ssh)
Checking lazy_static v1.5.0
Checking dyn-clone v1.0.17
Compiling typeid v1.0.3
Checking siphasher v1.0.1
Checking nonempty v0.9.0
Compiling serde_derive_internals v0.29.1
Checking radicle-dag v0.10.0 (/acb0a823-08cb-4356-8151-7279bd79fd23/w/crates/radicle-dag)
Checking erased-serde v0.4.6
Checking jiff v0.2.1
Compiling schemars_derive v1.0.4
Checking iana-time-zone v0.1.60
Checking chrono v0.4.38
Checking gix-date v0.9.4
Checking schemars v1.0.4
Checking serde-untagged v0.1.7
Checking colored v2.1.0
Checking bytesize v2.0.1
Checking localtime v1.3.1
Checking winnow v0.6.26
Checking anstyle-query v1.0.2
Checking fast-glob v0.3.3
Checking dunce v1.0.5
Checking base64 v0.21.7
Checking tree-sitter-language v0.1.2
Checking gix-hashtable v0.6.0
Checking gix-validate v0.9.4
Checking utf8parse v0.2.1
Checking anstyle-parse v0.2.3
Checking memmap2 v0.9.4
Checking colorchoice v1.0.0
Compiling rustix v1.0.7
Checking gix-actor v0.33.2
Checking gix-object v0.46.1
Checking anstyle v1.0.6
Checking anstream v0.6.13
Checking gix-chunk v0.4.11
Checking linux-raw-sys v0.9.4
Checking gix-commitgraph v0.25.1
Checking gix-revwalk v0.17.0
Checking gix-fs v0.12.1
Checking errno v0.3.13
Checking sem_safe v0.2.0
Checking signals_receipts v0.2.0
Checking gix-tempfile v15.0.0
Compiling signal-hook v0.3.18
Checking signal-hook-registry v1.4.5
Compiling getrandom v0.3.3
Checking shell-words v1.1.0
Checking gix-command v0.4.1
Checking radicle-signals v0.11.0 (/acb0a823-08cb-4356-8151-7279bd79fd23/w/crates/radicle-signals)
Compiling tree-sitter v0.24.4
Checking mio v1.0.4
Checking mio v0.8.11
Compiling anyhow v1.0.82
Compiling unicode-segmentation v1.11.0
Compiling convert_case v0.7.1
Checking signal-hook-mio v0.2.4
Checking gix-lock v15.0.1
Checking gix-config-value v0.14.12
Checking gix-url v0.28.2
Checking sqlite3-sys v0.15.2
Checking gix-quote v0.4.15
Checking regex v1.11.1
Checking sqlite v0.32.0
Checking gix-sec v0.10.12
Checking gix-prompt v0.9.1
Checking uuid v1.16.0
Compiling xattr v1.3.1
Compiling derive_more-impl v2.0.1
Compiling filetime v0.2.23
Checking gix-traverse v0.43.1
Checking gix-revision v0.31.1
Checking gix-diff v0.49.0
Checking gix-packetline v0.18.4
Compiling object v0.36.7
Checking bitflags v1.3.2
Checking lexopt v0.3.0
Compiling litrs v0.4.1
Checking derive_more v2.0.1
Checking crossterm v0.25.0
Checking gix-transport v0.44.0
Checking gix-pack v0.56.0
Checking gix-refspec v0.27.0
Compiling document-features v0.2.11
Compiling tar v0.4.40
Checking newline-converter v0.3.0
Checking gix-credentials v0.26.0
Checking gix-shallow v0.1.0
Checking gix-ref v0.49.1
Checking gix-negotiate v0.17.0
Checking fxhash v0.2.1
Compiling maybe-async v0.2.10
Checking gimli v0.31.1
Checking streaming-iterator v0.1.9
Checking unicode-width v0.1.11
Checking arc-swap v1.7.1
Checking gix-odb v0.66.0
Checking gix-protocol v0.47.0
Checking inquire v0.7.5
Checking addr2line v0.24.2
Compiling radicle-surf v0.22.0
Checking crossterm v0.29.0
Checking unicode-display-width v0.3.0
Checking toml_datetime v0.7.0
Checking serde_spanned v1.0.0
Compiling tree-sitter-md v0.3.2
Compiling tree-sitter-css v0.23.1
Compiling tree-sitter-json v0.24.8
Compiling tree-sitter-rust v0.23.2
Compiling tree-sitter-ruby v0.23.1
Compiling tree-sitter-go v0.23.4
Compiling tree-sitter-bash v0.23.3
Compiling tree-sitter-toml-ng v0.6.0
Compiling tree-sitter-python v0.23.4
Compiling tree-sitter-c v0.23.2
Compiling tree-sitter-typescript v0.23.2
Compiling tree-sitter-html v0.23.2
Checking either v1.11.0
Checking toml_writer v1.0.2
Checking rustc-demangle v0.1.26
Checking toml v0.9.5
Checking backtrace v0.3.75
Checking snapbox-macros v0.3.8
Checking os_info v3.12.0
Checking salsa20 v0.10.2
Checking base64 v0.13.1
Compiling radicle-cli v0.16.0 (/acb0a823-08cb-4356-8151-7279bd79fd23/w/crates/radicle-cli)
Checking siphasher v0.3.11
Checking normalize-line-endings v0.3.0
Checking similar v2.5.0
Checking nonempty v0.5.0
Checking bloomy v1.2.0
Checking snapbox v0.4.17
Checking scrypt v0.11.0
Checking human-panic v2.0.3
Checking tree-sitter-highlight v0.24.4
Checking systemd-journal-logger v2.2.2
Checking popol v3.0.0
Checking bytes v1.10.1
Checking timeago v0.4.2
Checking io-reactor v0.5.2
Checking socket2 v0.5.7
Checking yansi v0.5.1
Compiling radicle-node v0.15.0 (/acb0a823-08cb-4356-8151-7279bd79fd23/w/crates/radicle-node)
Checking diff v0.1.13
Checking pretty_assertions v1.4.0
Checking netservices v0.8.0
Checking radicle-systemd v0.10.0 (/acb0a823-08cb-4356-8151-7279bd79fd23/w/crates/radicle-systemd)
Checking num-integer v0.1.46
Compiling escargot v0.5.10
Compiling qcheck-macros v1.0.0
Checking num-bigint v0.4.6
Compiling ahash v0.8.11
Compiling radicle-remote-helper v0.13.0 (/acb0a823-08cb-4356-8151-7279bd79fd23/w/crates/radicle-remote-helper)
Checking num-iter v0.1.45
Checking num-complex v0.4.6
Checking num-rational v0.4.2
Checking env_filter v0.1.3
Checking zerocopy v0.7.35
Checking bit-vec v0.8.0
Checking borrow-or-share v0.2.2
Checking fluent-uri v0.3.2
Checking bit-set v0.8.0
Checking num v0.4.3
Checking env_logger v0.11.8
Checking phf_shared v0.11.3
Compiling test-log-macros v0.2.18
Compiling paste v1.0.15
Checking outref v0.5.2
Checking vsimd v0.8.0
Checking referencing v0.30.0
Checking uuid-simd v0.8.0
Checking test-log v0.2.18
Checking phf v0.11.3
Checking fraction v0.15.3
Checking fancy-regex v0.14.0
Checking email_address v0.2.9
Checking bytecount v0.6.8
Checking base64 v0.22.1
Checking num-cmp v0.1.0
Checking emojis v0.6.4
Checking jsonschema v0.30.0
Checking git2 v0.19.0
Checking radicle-git-ext v0.8.1
Checking radicle-term v0.15.0 (/acb0a823-08cb-4356-8151-7279bd79fd23/w/crates/radicle-term)
Checking radicle-crypto v0.13.0 (/acb0a823-08cb-4356-8151-7279bd79fd23/w/crates/radicle-crypto)
error: found call to `str::trim` before `str::split_whitespace`
--> crates/radicle-term/src/element.rs:485:47
|
485 | let parts: Vec<&str> = output_str.trim().split_whitespace().collect();
| ^^^^^^^ help: remove `trim()`
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#trim_split_whitespace
= note: `-D clippy::trim-split-whitespace` implied by `-D warnings`
= help: to override `-D warnings` add `#[allow(clippy::trim_split_whitespace)]`
error: could not compile `radicle-term` (lib) due to 1 previous error
warning: build failed, waiting for other jobs to finish...
error: items after a test module
--> crates/radicle-term/src/element.rs:413:1
|
413 | mod test {
| ^^^^^^^^
...
464 | pub fn get_terminal_size() -> Option<(usize, usize)> {
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#items_after_test_module
= note: `-D clippy::items-after-test-module` implied by `-D warnings`
= help: to override `-D warnings` add `#[allow(clippy::items_after_test_module)]`
= help: move the items to before the test module was defined
error: could not compile `radicle-term` (lib test) due to 2 previous errors
Exit code: 101
{
"response": "finished",
"result": "failure"
}