rad:z3gqcJUoA1n9HaHKufZs5FCSGazv5 heartwood4aeba5b44b57bc64e263eeda0b89ba0a43eeef6d
{
"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": "Created",
"patch": {
"id": "940e0830e06fad3788447379e3922ebaf8ecbef0",
"author": {
"id": "did:key:z6MktMPAPAdv39oMBc4473SQtKgEUfyk88ytwNAboijwoRBR",
"alias": null
},
"title": "CLI: Fix `issue` command asking for passphrase on readonly operations",
"state": {
"status": "merged",
"conflicts": []
},
"before": "8928c5ee2628e0b4d738289b5030fc3e2a918e5e",
"after": "4aeba5b44b57bc64e263eeda0b89ba0a43eeef6d",
"commits": [
"4aeba5b44b57bc64e263eeda0b89ba0a43eeef6d"
],
"target": "6cfed884bf37cba1e0d8e97fa8b0e94df4a04b1f",
"labels": [],
"assignees": [],
"revisions": [
{
"id": "940e0830e06fad3788447379e3922ebaf8ecbef0",
"author": {
"id": "did:key:z6MktMPAPAdv39oMBc4473SQtKgEUfyk88ytwNAboijwoRBR",
"alias": null
},
"description": "Add test for rad issue readonly operations\n\nOnly require `signer` when doing a write operation",
"base": "e12bff0871a57116f057fd1a93f7ddede8c574bc",
"oid": "e436cbe89e7870b5c751f2315cf1efde3f024c16",
"timestamp": 1707215299
},
{
"id": "0b9820ac8bd5619b4de87748ef4828a5d2756454",
"author": {
"id": "did:key:z6MktMPAPAdv39oMBc4473SQtKgEUfyk88ytwNAboijwoRBR",
"alias": null
},
"description": "",
"base": "8928c5ee2628e0b4d738289b5030fc3e2a918e5e",
"oid": "d682e9c5259ecbf0a9f8194a25e3d2d1061894bd",
"timestamp": 1707215824
},
{
"id": "3874db650202ccb66e0b581dec87126455cf0ff4",
"author": {
"id": "did:key:z6MktMPAPAdv39oMBc4473SQtKgEUfyk88ytwNAboijwoRBR",
"alias": null
},
"description": "Removed tests",
"base": "8928c5ee2628e0b4d738289b5030fc3e2a918e5e",
"oid": "dd178a6b5781a9080d506b917aaa04267678c011",
"timestamp": 1707217861
},
{
"id": "8e17e78284392d5ca73cd218561d368e809e5998",
"author": {
"id": "did:key:z6MktMPAPAdv39oMBc4473SQtKgEUfyk88ytwNAboijwoRBR",
"alias": null
},
"description": "Added new line in commit message.",
"base": "8928c5ee2628e0b4d738289b5030fc3e2a918e5e",
"oid": "4aeba5b44b57bc64e263eeda0b89ba0a43eeef6d",
"timestamp": 1707220569
},
{
"id": "f1120566aabf0aa49ffc0afac66c9cc065c1ce5c",
"author": {
"id": "did:key:z6MktMPAPAdv39oMBc4473SQtKgEUfyk88ytwNAboijwoRBR",
"alias": null
},
"description": "Rebase.",
"base": "50833d88d9ce10f1f056598148a010e28d03278f",
"oid": "13d5b4f62043b65aa4b7f31e4cb328c5c826afdc",
"timestamp": 1709939034
}
]
}
}
{
"response": "triggered",
"run_id": {
"id": "bbe57b03-ba46-4557-8612-6db653c7ad27"
},
"info_url": "https://cci.rad.levitte.org//bbe57b03-ba46-4557-8612-6db653c7ad27.html"
}
Started at: 2025-10-21 20:20:18.663024+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/bbe57b03-ba46-4557-8612-6db653c7ad27/w/
╭────────────────────────────────────╮
│ heartwood │
│ Radicle Heartwood Protocol & Stack │
│ 125 issues · 15 patches │
╰────────────────────────────────────╯
Run `cd ./.` to go to the repository directory.
Exit code: 0
$ rad patch checkout 940e0830e06fad3788447379e3922ebaf8ecbef0
✓ Switched to branch patch/940e083 at revision 8e17e78
✓ Branch patch/940e083 setup to track rad/patches/940e0830e06fad3788447379e3922ebaf8ecbef0
Exit code: 0
$ git config advice.detachedHead false
Exit code: 0
$ git checkout 4aeba5b44b57bc64e263eeda0b89ba0a43eeef6d
HEAD is now at 4aeba5b4 cli: fix `issue` command asking for passphrase on readonly operations
Exit code: 0
$ git show 4aeba5b44b57bc64e263eeda0b89ba0a43eeef6d
commit 4aeba5b44b57bc64e263eeda0b89ba0a43eeef6d
Author: Christopher Fredén <me@icetan.org>
Date: Mon Feb 5 16:55:08 2024 +0100
cli: fix `issue` command asking for passphrase on readonly operations
Only require `signer` when doing a write operation
diff --git a/radicle-cli/src/commands/issue.rs b/radicle-cli/src/commands/issue.rs
index 8554ca6f..13c66fb6 100644
--- a/radicle-cli/src/commands/issue.rs
+++ b/radicle-cli/src/commands/issue.rs
@@ -411,7 +411,6 @@ impl Args for Options {
pub fn run(options: Options, ctx: impl term::Context) -> anyhow::Result<()> {
let profile = ctx.profile()?;
- let signer = term::signer(&profile)?;
let (_, rid) = radicle::rad::cwd()?;
let repo = profile.storage.repository_mut(rid)?;
let announce = options.announce
@@ -433,6 +432,7 @@ pub fn run(options: Options, ctx: impl term::Context) -> anyhow::Result<()> {
title,
description,
} => {
+ let signer = term::signer(&profile)?;
let issue = edit(&mut issues, &repo, id, title, description, &signer)?;
if !options.quiet {
term::issue::show(&issue, issue.id(), Format::Header, &profile)?;
@@ -444,6 +444,7 @@ pub fn run(options: Options, ctx: impl term::Context) -> anyhow::Result<()> {
labels,
assignees,
} => {
+ let signer = term::signer(&profile)?;
let issue = issues.create(title, description, &labels, &assignees, [], &signer)?;
if !options.quiet {
term::issue::show(&issue, issue.id(), Format::Header, &profile)?;
@@ -454,6 +455,7 @@ pub fn run(options: Options, ctx: impl term::Context) -> anyhow::Result<()> {
message,
reply_to,
} => {
+ let signer = term::signer(&profile)?;
let issue_id = id.resolve::<cob::ObjectId>(&repo.backend)?;
let mut issue = issues.get_mut(&issue_id)?;
let (body, reply_to) = prompt_comment(message, reply_to, &issue, &repo)?;
@@ -478,6 +480,7 @@ pub fn run(options: Options, ctx: impl term::Context) -> anyhow::Result<()> {
}
}
Operation::State { id, state } => {
+ let signer = term::signer(&profile)?;
let id = id.resolve(&repo.backend)?;
let mut issue = issues.get_mut(&id)?;
issue.lifecycle(state, &signer)?;
@@ -489,6 +492,7 @@ pub fn run(options: Options, ctx: impl term::Context) -> anyhow::Result<()> {
} => {
let id = id.resolve(&repo.backend)?;
if let Ok(mut issue) = issues.get_mut(&id) {
+ let signer = term::signer(&profile)?;
let comment_id = comment_id.unwrap_or_else(|| {
let (comment_id, _) = term::io::comment_select(&issue).unwrap();
*comment_id
@@ -502,6 +506,7 @@ pub fn run(options: Options, ctx: impl term::Context) -> anyhow::Result<()> {
ref labels,
ref assignees,
} => {
+ let signer = term::signer(&profile)?;
open(
title.clone(),
description.clone(),
@@ -517,6 +522,7 @@ pub fn run(options: Options, ctx: impl term::Context) -> anyhow::Result<()> {
id,
opts: AssignOptions { add, delete },
} => {
+ let signer = term::signer(&profile)?;
let id = id.resolve(&repo.backend)?;
let Ok(mut issue) = issues.get_mut(&id) else {
anyhow::bail!("Issue `{id}` not found");
@@ -533,6 +539,7 @@ pub fn run(options: Options, ctx: impl term::Context) -> anyhow::Result<()> {
id,
opts: LabelOptions { add, delete },
} => {
+ let signer = term::signer(&profile)?;
let id = id.resolve(&repo.backend)?;
let Ok(mut issue) = issues.get_mut(&id) else {
anyhow::bail!("Issue `{id}` not found");
@@ -549,6 +556,7 @@ pub fn run(options: Options, ctx: impl term::Context) -> anyhow::Result<()> {
list(&issues, &assigned, &state, &profile)?;
}
Operation::Delete { id } => {
+ let signer = term::signer(&profile)?;
let id = id.resolve(&repo.backend)?;
issues.remove(&id, &signer)?;
}
Exit code: 0
shell: 'cargo --version rustc --version cargo fmt --check cargo clippy --all-targets --workspace -- --deny clippy::all cargo build --all-targets --workspace cargo doc --workspace cargo test --workspace --no-fail-fast '
Commands:
$ podman run --name bbe57b03-ba46-4557-8612-6db653c7ad27 -v /opt/radcis/ci.rad.levitte.org/cci/state/bbe57b03-ba46-4557-8612-6db653c7ad27/s:/bbe57b03-ba46-4557-8612-6db653c7ad27/s:ro -v /opt/radcis/ci.rad.levitte.org/cci/state/bbe57b03-ba46-4557-8612-6db653c7ad27/w:/bbe57b03-ba46-4557-8612-6db653c7ad27/w -w /bbe57b03-ba46-4557-8612-6db653c7ad27/w -v /opt/radcis/ci.rad.levitte.org/.radicle:/${id}/.radicle:ro -e RAD_HOME=/${id}/.radicle rust:bookworm bash /bbe57b03-ba46-4557-8612-6db653c7ad27/s/script.sh
+ cargo --version
info: syncing channel updates for '1.74-x86_64-unknown-linux-gnu'
info: latest update on 2023-12-07, rust version 1.74.1 (a28077b28 2023-12-04)
info: downloading component 'cargo'
info: downloading component 'rust-std'
info: downloading component 'rustc'
info: installing component 'cargo'
info: installing component 'rust-std'
info: installing component 'rustc'
cargo 1.74.1 (ecb9851af 2023-10-18)
+ rustc --version
rustc 1.74.1 (a28077b28 2023-12-04)
+ cargo fmt --check
error: 'cargo-fmt' is not installed for the toolchain '1.74-x86_64-unknown-linux-gnu'.
To install, run `rustup component add --toolchain 1.74-x86_64-unknown-linux-gnu rustfmt`
Exit code: 1
{
"response": "finished",
"result": "failure"
}