rad:z3gqcJUoA1n9HaHKufZs5FCSGazv5 heartwood6ed56f7029ec8f0ce19efa396fedd63da61db816
{
"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": "976756d8bf1f4e157ec8c1dc6818f670f8b4d726",
"author": {
"id": "did:key:z6MkkPvBfjP4bQmco5Dm7UGsX2ruDBieEHi8n9DVJWX5sTEz",
"alias": "lorenz"
},
"title": "cli: Migrate `rad issue` to `clap`",
"state": {
"status": "open",
"conflicts": []
},
"before": "ed8b086045ee5d7bd1327f579de7861a1cf49e3b",
"after": "6ed56f7029ec8f0ce19efa396fedd63da61db816",
"commits": [
"6ed56f7029ec8f0ce19efa396fedd63da61db816",
"b2918a34c4813be6f755d83882c6da491a055166",
"7a6cd1220ddbc771e59c17ab07cc671f6d6d38d7",
"714313fd5bf626d0753617337a247fb4ef9a36c7",
"07123fe9a944c9e8fadb22853b3c5eb52f979b47",
"7998ca703ce9c289b6cbebc39a4b1e43d4ed1ed9",
"5f8aa175e8a0a0fff9031351052b2777b23e3d0c",
"105339a8960567ea3f6dc11f6ab151961ddcf28f",
"1314f926ce77d162dd71a442736fd9c5a4d76195",
"bb2f5b6ff2f999c5c0191ba1395c75f2b46b2684",
"e8fbbfe33fae37438c64f417629b8b07da4538b6",
"0b34cd4fa00ed9222bdebd0259e1bd16f24e9170",
"a6e7c741d8acdcb035bcfa32d8cc34051102c369",
"90dd5ea2b3e49c382ecd6c020a3d14e8ad13d1b7"
],
"target": "22720e718bc8199054cca4c11f23ece43ab15b5d",
"labels": [],
"assignees": [],
"revisions": [
{
"id": "976756d8bf1f4e157ec8c1dc6818f670f8b4d726",
"author": {
"id": "did:key:z6MkkPvBfjP4bQmco5Dm7UGsX2ruDBieEHi8n9DVJWX5sTEz",
"alias": "lorenz"
},
"description": "This is a split-off of `rad patch show 0866819`, that only migrates `rad issue`.",
"base": "646d4360e7d905f0a9ec87d32c6768c5390eabf3",
"oid": "b34a818cbbcd6e822324d6082170071e1be6597d",
"timestamp": 1757588048
},
{
"id": "fddbeb7383d6a215b2fa88539e9e020b9ed9205b",
"author": {
"id": "did:key:z6MkkPvBfjP4bQmco5Dm7UGsX2ruDBieEHi8n9DVJWX5sTEz",
"alias": "lorenz"
},
"description": "Migrate `rad issue` only, remove everything auto-completion and improve help output.",
"base": "8c9966b9d97d93131e766828b9d1ecff7d561afb",
"oid": "29dc820b6b7980e6c1d4e7427c9bcbe5cc98a473",
"timestamp": 1758111300
},
{
"id": "222584aa3a415afd3c9c9239a78a9c21b611bf1e",
"author": {
"id": "did:key:z6MkkPvBfjP4bQmco5Dm7UGsX2ruDBieEHi8n9DVJWX5sTEz",
"alias": "lorenz"
},
"description": "Disallow `--reply-to` together with `--edit` in `rad issue comment`.",
"base": "7d1db6a0131e560589a4b25f5d472fdf23998a67",
"oid": "bc7bff9d01d4e9528b11e6b0cc1df5466fd3f279",
"timestamp": 1758116557
},
{
"id": "00a0fef27973701394f29a341212a20da183bfa0",
"author": {
"id": "did:key:z6MkkPvBfjP4bQmco5Dm7UGsX2ruDBieEHi8n9DVJWX5sTEz",
"alias": "lorenz"
},
"description": "- reword initial commit message\n- remove `--version` from subcommands\n- bring back old (incorrect) announcing behaviour for `rad issue comment --edit`",
"base": "646d4360e7d905f0a9ec87d32c6768c5390eabf3",
"oid": "e2444a72f031233e78932eeaf31a9937cdde781b",
"timestamp": 1758210185
},
{
"id": "98f8060be39c0dd21fbcf97a6be2c358e687a738",
"author": {
"id": "did:key:z6MkkPvBfjP4bQmco5Dm7UGsX2ruDBieEHi8n9DVJWX5sTEz",
"alias": "lorenz"
},
"description": "Improve help output and bits of the code",
"base": "646d4360e7d905f0a9ec87d32c6768c5390eabf3",
"oid": "d6a0c5d8eebf45b47687d43034300df877b62354",
"timestamp": 1758236380
},
{
"id": "98245cf65ab5c975655357d726cab0ebd9bcc8b7",
"author": {
"id": "did:key:z6MkkPvBfjP4bQmco5Dm7UGsX2ruDBieEHi8n9DVJWX5sTEz",
"alias": "lorenz"
},
"description": "cli/issue: reword argument documentation",
"base": "646d4360e7d905f0a9ec87d32c6768c5390eabf3",
"oid": "c2792a546d458d990946b3e63f0d05e5e77712b0",
"timestamp": 1758279742
},
{
"id": "cc985706e7cbcb04f1ee657210ddfa324574607d",
"author": {
"id": "did:key:z6MkkPvBfjP4bQmco5Dm7UGsX2ruDBieEHi8n9DVJWX5sTEz",
"alias": "lorenz"
},
"description": "Further refactoring\n\nThese changes refactor a couple of things:\n- First, reintroduces `--announce` being a flag that is allowed to be passed to\n the command\n- Refactor the mutual exclusivity of the `Comment` command into another enum\n that captures all these cases. This waterfalled into further refactoring of\n the command handling.",
"base": "646d4360e7d905f0a9ec87d32c6768c5390eabf3",
"oid": "c403100d580a776ed516471de660e5efe6d4130e",
"timestamp": 1758286270
},
{
"id": "de518b4970e28597c158a541af518755be561573",
"author": {
"id": "did:key:z6MkkPvBfjP4bQmco5Dm7UGsX2ruDBieEHi8n9DVJWX5sTEz",
"alias": "lorenz"
},
"description": "- remove `--announce` again\n- fix parsing error for `issue list --assigned`\n- fix default filter for `issue list`\n- add new CLI test example `examples/rad-issue-list.md`",
"base": "646d4360e7d905f0a9ec87d32c6768c5390eabf3",
"oid": "7cb409c3572f28cf0d3d1754ea47c40e7d49a5d2",
"timestamp": 1758708479
},
{
"id": "aad491c386e00cf205bcfdce6c99dde598e69c5d",
"author": {
"id": "did:key:z6MkkPvBfjP4bQmco5Dm7UGsX2ruDBieEHi8n9DVJWX5sTEz",
"alias": "lorenz"
},
"description": "Changes:\n- Remove commented out code",
"base": "646d4360e7d905f0a9ec87d32c6768c5390eabf3",
"oid": "79d6ca8dd556ec861156b96607c45215910b0625",
"timestamp": 1758709459
},
{
"id": "2022ebd50335630a6763d73c96beade8426035b5",
"author": {
"id": "did:key:z6MkkPvBfjP4bQmco5Dm7UGsX2ruDBieEHi8n9DVJWX5sTEz",
"alias": "lorenz"
},
"description": "Add changelog entry",
"base": "646d4360e7d905f0a9ec87d32c6768c5390eabf3",
"oid": "be2b0559eb55a496dc630dd1097d12413f91c71d",
"timestamp": 1758710186
},
{
"id": "2bb2d9661171fe5bab1d8bbad365ff3571edcaf6",
"author": {
"id": "did:key:z6MkkPvBfjP4bQmco5Dm7UGsX2ruDBieEHi8n9DVJWX5sTEz",
"alias": "lorenz"
},
"description": "1. Rebase\n 2. Order dependencies in `crates/radicle-cli/Cargo.toml` alphabetically.\n 3. Remove commented code.\n 4. Fix typos.\n 5. Fix changelog (line was added to changelog for previous release).",
"base": "ed8b086045ee5d7bd1327f579de7861a1cf49e3b",
"oid": "7e5279109d9393ad23fbd0ee079d84f984faac38",
"timestamp": 1758785332
},
{
"id": "1e5d195f2c7b11de0fb9d1ae1298ab1d8cf985a0",
"author": {
"id": "did:key:z6MkkPvBfjP4bQmco5Dm7UGsX2ruDBieEHi8n9DVJWX5sTEz",
"alias": "lorenz"
},
"description": "1. Review.\n 2. Fix regression of `rad issue` vanishing from `rad -h`",
"base": "ed8b086045ee5d7bd1327f579de7861a1cf49e3b",
"oid": "4740419b214d4bc4431e05acbd5d3b014fee5d5d",
"timestamp": 1758791248
},
{
"id": "f1823b2ed2dd9fdd3afdbaa6b34ec1fd25032add",
"author": {
"id": "did:key:z6MkkPvBfjP4bQmco5Dm7UGsX2ruDBieEHi8n9DVJWX5sTEz",
"alias": "lorenz"
},
"description": "Squash review commits and improve help colors.",
"base": "ed8b086045ee5d7bd1327f579de7861a1cf49e3b",
"oid": "bb2f5b6ff2f999c5c0191ba1395c75f2b46b2684",
"timestamp": 1758796397
},
{
"id": "5215b22529de2a084c4b4fa6cf1fee454389f745",
"author": {
"id": "did:key:z6MkkPvBfjP4bQmco5Dm7UGsX2ruDBieEHi8n9DVJWX5sTEz",
"alias": "lorenz"
},
"description": "- Fix list state filtering (e.g. `rad issue list --solved` was broken)\n- Allow list argsuments for empty subcommand\n\nNote: currently the list arguments are included in the main help, which is not desired. It could be worth exploring if we can make the subcommand required, and handle the list args with some custom on parsing errors for empty subcommands.",
"base": "ed8b086045ee5d7bd1327f579de7861a1cf49e3b",
"oid": "9af55b6e4dea49e83a213deec455c9846993a6e5",
"timestamp": 1758820814
},
{
"id": "acbb7324e615727e40ec0c907c915f9481f57d11",
"author": {
"id": "did:key:z6MkkPvBfjP4bQmco5Dm7UGsX2ruDBieEHi8n9DVJWX5sTEz",
"alias": "lorenz"
},
"description": "Allow list arguments for empty subcommand, but do not show them in the main help.",
"base": "ed8b086045ee5d7bd1327f579de7861a1cf49e3b",
"oid": "105339a8960567ea3f6dc11f6ab151961ddcf28f",
"timestamp": 1758876801
},
{
"id": "99f0e27a00446755dcc2197642425716097609b3",
"author": {
"id": "did:key:z6MkkPvBfjP4bQmco5Dm7UGsX2ruDBieEHi8n9DVJWX5sTEz",
"alias": "lorenz"
},
"description": "Review",
"base": "ed8b086045ee5d7bd1327f579de7861a1cf49e3b",
"oid": "6ed56f7029ec8f0ce19efa396fedd63da61db816",
"timestamp": 1758893120
}
]
}
}
{
"response": "triggered",
"run_id": {
"id": "48690548-f392-4ed6-b199-2d6badb0b8bb"
},
"info_url": "https://cci.rad.levitte.org//48690548-f392-4ed6-b199-2d6badb0b8bb.html"
}
Started at: 2025-09-26 15:25:26.823123+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/48690548-f392-4ed6-b199-2d6badb0b8bb/w/
╭────────────────────────────────────╮
│ heartwood │
│ Radicle Heartwood Protocol & Stack │
│ 123 issues · 12 patches │
╰────────────────────────────────────╯
Run `cd ./.` to go to the repository directory.
Exit code: 0
$ rad patch checkout 976756d8bf1f4e157ec8c1dc6818f670f8b4d726
✓ Switched to branch patch/976756d at revision acbb732
✓ Branch patch/976756d setup to track rad/patches/976756d8bf1f4e157ec8c1dc6818f670f8b4d726
Exit code: 0
$ git config advice.detachedHead false
Exit code: 0
$ git checkout 6ed56f7029ec8f0ce19efa396fedd63da61db816
HEAD is now at 6ed56f70 REVIEW: Do not document hidden parts of the CLI
Exit code: 0
$ git show 6ed56f7029ec8f0ce19efa396fedd63da61db816
commit 6ed56f7029ec8f0ce19efa396fedd63da61db816
Author: Lorenz Leutgeb <lorenz.leutgeb@radicle.xyz>
Date: Fri Sep 26 15:21:01 2025 +0200
REVIEW: Do not document hidden parts of the CLI
diff --git a/crates/radicle-cli/src/commands/issue/args.rs b/crates/radicle-cli/src/commands/issue/args.rs
index 1a12c529..0caf240f 100644
--- a/crates/radicle-cli/src/commands/issue/args.rs
+++ b/crates/radicle-cli/src/commands/issue/args.rs
@@ -219,6 +219,7 @@ pub(crate) struct EmptyArgs {
pub(crate) assigned: Option<Assigned>,
#[clap(flatten)]
+ #[allow(clippy::missing_docs_in_private_items)] // flattened
pub(crate) state: Option<EmptyStateArgs>,
}
@@ -226,20 +227,20 @@ pub(crate) struct EmptyArgs {
#[derive(Parser, Debug)]
#[group(id = "state", required = false, multiple = false)]
pub(crate) struct EmptyStateArgs {
- /// List all issues
#[arg(long, group = "state", hide = true)]
+ #[allow(clippy::missing_docs_in_private_items)] // hidden
all: bool,
- /// List only open issues (default)
#[arg(long, group = "state", hide = true)]
+ #[allow(clippy::missing_docs_in_private_items)] // hidden
open: bool,
- /// List only closed issues
#[arg(long, group = "state", hide = true)]
+ #[allow(clippy::missing_docs_in_private_items)] // hidden
closed: bool,
- /// List only solved issues
#[arg(long, group = "state", hide = true)]
+ #[allow(clippy::missing_docs_in_private_items)] // hidden
solved: bool,
}
@@ -253,6 +254,7 @@ pub(crate) struct ListArgs {
pub(crate) assigned: Option<Assigned>,
#[clap(flatten)]
+ #[allow(clippy::missing_docs_in_private_items)] // flattened
pub(crate) state: Option<ListStateArgs>,
}
Exit code: 0
shell: 'export RUSTDOCFLAGS=''-D warnings'' 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 48690548-f392-4ed6-b199-2d6badb0b8bb -v /opt/radcis/ci.rad.levitte.org/cci/state/48690548-f392-4ed6-b199-2d6badb0b8bb/s:/48690548-f392-4ed6-b199-2d6badb0b8bb/s:ro -v /opt/radcis/ci.rad.levitte.org/cci/state/48690548-f392-4ed6-b199-2d6badb0b8bb/w:/48690548-f392-4ed6-b199-2d6badb0b8bb/w -w /48690548-f392-4ed6-b199-2d6badb0b8bb/w -v /opt/radcis/ci.rad.levitte.org/.radicle:/${id}/.radicle:ro -e RAD_HOME=/${id}/.radicle rust:bookworm bash /48690548-f392-4ed6-b199-2d6badb0b8bb/s/script.sh
+ export 'RUSTDOCFLAGS=-D warnings'
+ RUSTDOCFLAGS='-D warnings'
+ 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
Diff in /48690548-f392-4ed6-b199-2d6badb0b8bb/w/crates/radicle-cli/src/commands/issue/args.rs:297:
impl From<EmptyStateArgs> for ListStateArgs {
fn from(args: EmptyStateArgs) -> Self {
- Self { all: args.all, open: args.open, closed: args.closed, solved: args.solved }
+ Self {
+ all: args.all,
+ open: args.open,
+ closed: args.closed,
+ solved: args.solved,
+ }
}
}
Diff in /48690548-f392-4ed6-b199-2d6badb0b8bb/w/crates/radicle-cli/src/commands/issue/args.rs:312:
impl Default for ListStateArgs {
fn default() -> Self {
- Self { all: false, open: true, closed: false, solved: false }
+ Self {
+ all: false,
+ open: true,
+ closed: false,
+ solved: false,
+ }
}
}
Exit code: 1
{
"response": "finished",
"result": "failure"
}