rad:z3gqcJUoA1n9HaHKufZs5FCSGazv5 heartwooda4bd226d40b7885b02d376e79dd7e688e3d498ae
{
"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:z6MkireRatUThvd3qzfKht1S44wpm4FEWSSa4PRMTSQZ3voM",
"did:key:z6MkkPvBfjP4bQmco5Dm7UGsX2ruDBieEHi8n9DVJWX5sTEz"
]
},
"action": "Created",
"patch": {
"id": "a6933889b3ef35bec00422d1a8796d5dd95686b1",
"author": {
"id": "did:key:z6MktaNvN1KVFMkSRAiN4qK5yvX1zuEEaseeX5sffhzPZRZW",
"alias": "cloudhead"
},
"title": "node: Connect to preferred seeds",
"state": {
"status": "merged",
"conflicts": []
},
"before": "ddd4bde302b7ff017a60ad4c4919b2382537f161",
"after": "a4bd226d40b7885b02d376e79dd7e688e3d498ae",
"commits": [
"a4bd226d40b7885b02d376e79dd7e688e3d498ae"
],
"target": "7e1cb406bb935c3de008d2171e8961f57b4336ea",
"labels": [],
"assignees": [],
"revisions": [
{
"id": "a6933889b3ef35bec00422d1a8796d5dd95686b1",
"author": {
"id": "did:key:z6MktaNvN1KVFMkSRAiN4qK5yvX1zuEEaseeX5sffhzPZRZW",
"alias": "cloudhead"
},
"description": "Make sure we connect to and keep connected to preferred seeds.",
"base": "ddd4bde302b7ff017a60ad4c4919b2382537f161",
"oid": "a4bd226d40b7885b02d376e79dd7e688e3d498ae",
"timestamp": 1710864804
},
{
"id": "d975854d6b36e6beb43c42ce5807590410c0a668",
"author": {
"id": "did:key:z6MktaNvN1KVFMkSRAiN4qK5yvX1zuEEaseeX5sffhzPZRZW",
"alias": "cloudhead"
},
"description": "Rebase.",
"base": "3aca2a11b0178854fe8788eb42b4c2265a0423a1",
"oid": "8b1dc8f168be7bed29b8a8b2477ee53ec358b2c3",
"timestamp": 1711021662
}
]
}
}
{
"response": "triggered",
"run_id": {
"id": "9ea77b16-1337-4548-aa1d-a9c46e0c139b"
},
"info_url": "https://cci.rad.levitte.org//9ea77b16-1337-4548-aa1d-a9c46e0c139b.html"
}
Started at: 2026-09-09 01:43:44.476873+02:00
Commands:
$ rad clone rad:z3gqcJUoA1n9HaHKufZs5FCSGazv5 .
✓ Creating checkout in ./...
✓ Remote cloudhead@z6MksFqXN3Yhqk8pTJdUGLwATkRfQvwZXPqR2qMEhbS9wzpT added
✓ Remote-tracking branch cloudhead@z6MksFqXN3Yhqk8pTJdUGLwATkRfQvwZXPqR2qMEhbS9wzpT/master created for z6MksFqXN3Yhqk8pTJdUGLwATkRfQvwZXPqR2qMEhbS9wzpT
✓ Remote fintohaps@z6MkireRatUThvd3qzfKht1S44wpm4FEWSSa4PRMTSQZ3voM added
✓ Remote-tracking branch fintohaps@z6MkireRatUThvd3qzfKht1S44wpm4FEWSSa4PRMTSQZ3voM/master created for z6MkireRatUThvd3qzfKht1S44wpm4FEWSSa4PRMTSQZ3voM
✓ 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/9ea77b16-1337-4548-aa1d-a9c46e0c139b/w/
╭────────────────────────────────────╮
│ heartwood │
│ Radicle Heartwood Protocol & Stack │
│ 189 issues · 39 patches │
╰────────────────────────────────────╯
Run `cd ./.` to go to the repository directory.
Exit code: 0
$ rad patch checkout a6933889b3ef35bec00422d1a8796d5dd95686b1
✓ Switched to branch patch/a693388 at revision a693388
✓ Branch patch/a693388 setup to track rad/patches/a6933889b3ef35bec00422d1a8796d5dd95686b1
Exit code: 0
$ git config advice.detachedHead false
Exit code: 0
$ git checkout a4bd226d40b7885b02d376e79dd7e688e3d498ae
HEAD is now at a4bd226d node: Connect to preferred seeds
Exit code: 0
$ rad patch show a6933889b3ef35bec00422d1a8796d5dd95686b1 -p
╭────────────────────────────────────────────────────────────────────────────────╮
│ Title node: Connect to preferred seeds │
│ Patch a6933889b3ef35bec00422d1a8796d5dd95686b1 │
│ Author cloudhead z6MktaN…hzPZRZW │
│ Head a4bd226d40b7885b02d376e79dd7e688e3d498ae │
│ Base ddd4bde302b7ff017a60ad4c4919b2382537f161 │
│ Target master │
│ Branches patch/a693388 │
│ Commits ahead 1, behind 1520 │
│ Status merged │
│ │
│ Make sure we connect to and keep connected to preferred seeds. │
├────────────────────────────────────────────────────────────────────────────────┤
│ a4bd226 node: Connect to preferred seeds │
├────────────────────────────────────────────────────────────────────────────────┤
│ ● Revision a693388 @ ddd4bde..a4bd226 by cloudhead z6MktaN…hzPZRZW 2 years ago │
│ └─ ✓ accepted by fintohaps z6Mkire…SQZ3voM 2 years ago │
│ ↑ Revision d975854 @ 3aca2a1..8b1dc8f by cloudhead z6MksFq…bS9wzpT 2 years ago │
│ └─ ✓ merged by cloudhead z6MksFq…bS9wzpT │
╰────────────────────────────────────────────────────────────────────────────────╯
commit a4bd226d40b7885b02d376e79dd7e688e3d498ae
Author: Alexis Sellier <self@cloudhead.io>
Date: Tue Mar 19 17:12:28 2024 +0100
node: Connect to preferred seeds
Make sure we connect to and keep connected to preferred seeds.
diff --git a/radicle-node/src/main.rs b/radicle-node/src/main.rs
index 2d5ba7d549..f1ff39882f 100644
--- a/radicle-node/src/main.rs
+++ b/radicle-node/src/main.rs
@@ -103,15 +103,19 @@ fn execute() -> anyhow::Result<()> {
log::info!(target: "node", "Node ID is {}", signer.public_key());
let config = options.config.unwrap_or_else(|| home.config());
- let config = profile::Config::load(&config)?.node;
+ let mut config = profile::Config::load(&config)?;
+
+ // Add the preferred seeds as persistent peers so that we reconnect to them automatically.
+ config.node.connect.extend(config.preferred_seeds);
+
let proxy = net::SocketAddr::new(net::Ipv4Addr::LOCALHOST.into(), 9050);
let listen: Vec<std::net::SocketAddr> = if !options.listen.is_empty() {
options.listen.clone()
} else {
- config.listen.clone()
+ config.node.listen.clone()
};
- if let Err(e) = radicle::io::set_file_limit(config.limits.max_open_files as u64) {
+ if let Err(e) = radicle::io::set_file_limit(config.node.limits.max_open_files as u64) {
log::warn!(target: "node", "Unable to set process open file limit: {e}");
}
@@ -122,7 +126,7 @@ fn execute() -> anyhow::Result<()> {
log::debug!(target: "node", "Removing existing control socket..");
fs::remove_file(home.socket()).ok();
}
- Runtime::init(home, config, listen, proxy, signals, signer)?.run()?;
+ Runtime::init(home, config.node, listen, proxy, signals, signer)?.run()?;
Ok(())
}
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 9ea77b16-1337-4548-aa1d-a9c46e0c139b -v /opt/radcis/ci.rad.levitte.org/cci/state/9ea77b16-1337-4548-aa1d-a9c46e0c139b/s:/9ea77b16-1337-4548-aa1d-a9c46e0c139b/s:ro -v /opt/radcis/ci.rad.levitte.org/cci/state/9ea77b16-1337-4548-aa1d-a9c46e0c139b/w:/9ea77b16-1337-4548-aa1d-a9c46e0c139b/w -w /9ea77b16-1337-4548-aa1d-a9c46e0c139b/w -v /opt/radcis/ci.rad.levitte.org/.radicle:/${id}/.radicle:ro -e RAD_HOME=/${id}/.radicle rust:trixie bash /9ea77b16-1337-4548-aa1d-a9c46e0c139b/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"
}