rad:z3gqcJUoA1n9HaHKufZs5FCSGazv5 heartwoodb1214b30b8a1e05130c8bfa65f4c15768a697341
{
"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": "01e2e755b4b6540f560993cef5483ecf6fffd2ff",
"author": {
"id": "did:key:z6MkkPvBfjP4bQmco5Dm7UGsX2ruDBieEHi8n9DVJWX5sTEz",
"alias": null
},
"title": "cli/sync: Rewrite Announcement in Two Phases",
"state": {
"status": "archived",
"conflicts": []
},
"before": "f30760d6bb86d2978a5ed4df8ee45b9aa97778b4",
"after": "b1214b30b8a1e05130c8bfa65f4c15768a697341",
"commits": [
"b1214b30b8a1e05130c8bfa65f4c15768a697341"
],
"target": "3fc92f83fe089263c470b328414d923227cf0e4a",
"labels": [],
"assignees": [],
"revisions": [
{
"id": "01e2e755b4b6540f560993cef5483ecf6fffd2ff",
"author": {
"id": "did:key:z6MkkPvBfjP4bQmco5Dm7UGsX2ruDBieEHi8n9DVJWX5sTEz",
"alias": null
},
"description": "The code for announcing changes is rewritten. It is now separated into\ntwo phases, such that first, announcements are made to preferred seeds,\nand only then, to other seeds, to meet desired replication target.\n\nThe primary reason is that in order for an announcement process to be\nconsidered successful, there are two conditions, and both have to be\nmet:\n 1. All preferred seeds must be in sync.\n 2. Replication target must be met.\n\nUp to now, the two conditions were correctly recognized, but it was hard\nto follow for the user, since they were both tracked in a pass.\n\nAlong the way I improved the messages quite a bit. It is now possible to\nobtain progress information, such as how many seeds are already in sync,\nas the process of announcement unfolds.\n\nI took care to use the terminology \"announce\", \"sync\" and \"seed\"\nprecisely.\n\nThis is motivated by\n\n issue/022227e32a410d39118c35f7909d3512e980bc29\n\nbut since my understanding of the situation improved after working with\nthe code, I deviated from my original (much too verbose), proposal.\n\nWhat I originally wanted is more or less what one gets with `--debug`.",
"base": "f30760d6bb86d2978a5ed4df8ee45b9aa97778b4",
"oid": "d9969fe2c8aae55fdb836adf42444d35dd41748b",
"timestamp": 1746482583
}
]
}
}
{
"response": "triggered",
"run_id": {
"id": "ed8606bd-6a52-4974-b83e-50dfeeb66a53"
},
"info_url": "https://cci.rad.levitte.org//ed8606bd-6a52-4974-b83e-50dfeeb66a53.html"
}
Started at: 2026-09-08 06:43:17.833031+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/ed8606bd-6a52-4974-b83e-50dfeeb66a53/w/
╭────────────────────────────────────╮
│ heartwood │
│ Radicle Heartwood Protocol & Stack │
│ 189 issues · 38 patches │
╰────────────────────────────────────╯
Run `cd ./.` to go to the repository directory.
Exit code: 0
$ rad patch checkout 01e2e755b4b6540f560993cef5483ecf6fffd2ff
✓ Switched to branch patch/01e2e75 at revision 01e2e75
✓ Branch patch/01e2e75 setup to track rad/patches/01e2e755b4b6540f560993cef5483ecf6fffd2ff
Exit code: 0
$ git config advice.detachedHead false
Exit code: 0
$ git checkout b1214b30b8a1e05130c8bfa65f4c15768a697341
HEAD is now at b1214b30 cli/sync: Rewrite Announcement in Two Phases
Exit code: 0
$ rad patch show 01e2e755b4b6540f560993cef5483ecf6fffd2ff -p
╭────────────────────────────────────────────────────────────────────────────╮
│ Title cli/sync: Rewrite Announcement in Two Phases │
│ Patch 01e2e755b4b6540f560993cef5483ecf6fffd2ff │
│ Author lorenz z6MkkPv…WX5sTEz │
│ Head d9969fe2c8aae55fdb836adf42444d35dd41748b │
│ Base f30760d6bb86d2978a5ed4df8ee45b9aa97778b4 │
│ Target master │
│ Branches patch/01e2e75 │
│ Commits ahead 1, behind 1078 │
│ Status archived │
│ │
│ The code for announcing changes is rewritten. It is now separated into │
│ two phases, such that first, announcements are made to preferred seeds, │
│ and only then, to other seeds, to meet desired replication target. │
│ │
│ The primary reason is that in order for an announcement process to be │
│ considered successful, there are two conditions, and both have to be │
│ met: │
│ 1. All preferred seeds must be in sync. │
│ 2. Replication target must be met. │
│ │
│ Up to now, the two conditions were correctly recognized, but it was hard │
│ to follow for the user, since they were both tracked in a pass. │
│ │
│ Along the way I improved the messages quite a bit. It is now possible to │
│ obtain progress information, such as how many seeds are already in sync, │
│ as the process of announcement unfolds. │
│ │
│ I took care to use the terminology "announce", "sync" and "seed" │
│ precisely. │
│ │
│ This is motivated by │
│ │
│ issue/022227e32a410d39118c35f7909d3512e980bc29 │
│ │
│ but since my understanding of the situation improved after working with │
│ the code, I deviated from my original (much too verbose), proposal. │
│ │
│ What I originally wanted is more or less what one gets with `--debug`. │
├────────────────────────────────────────────────────────────────────────────┤
│ d9969fe cli/sync: Rewrite Announcement in Two Phases │
├────────────────────────────────────────────────────────────────────────────┤
│ ● Revision 01e2e75 @ f30760d..d9969fe by lorenz z6MkkPv…WX5sTEz 1 year ago │
╰────────────────────────────────────────────────────────────────────────────╯
commit d9969fe2c8aae55fdb836adf42444d35dd41748b
Author: Lorenz Leutgeb <lorenz@leutgeb.xyz>
Date: Mon May 5 23:53:02 2025 +0200
cli/sync: Rewrite Announcement in Two Phases
The code for announcing changes is rewritten. It is now separated into
two phases, such that first, announcements are made to preferred seeds,
and only then, to other seeds, to meet desired replication target.
The primary reason is that in order for an announcement process to be
considered successful, there are two conditions, and both have to be
met:
1. All preferred seeds must be in sync.
2. Replication target must be met.
Up to now, the two conditions were correctly recognized, but it was hard
to follow for the user, since they were both tracked in a pass.
Along the way I improved the messages quite a bit. It is now possible to
obtain progress information, such as how many seeds are already in sync,
as the process of announcement unfolds.
I took care to use the terminology "announce", "sync" and "seed"
precisely.
This is motivated by
issue/022227e32a410d39118c35f7909d3512e980bc29
but since my understanding of the situation improved after working with
the code, I deviated from my original (much too verbose), proposal.
What I originally wanted is more or less what one gets with `--debug`.
diff --git a/radicle-cli/examples/git/git-push-amend.md b/radicle-cli/examples/git/git-push-amend.md
index a547341d6..4b3f15807 100644
--- a/radicle-cli/examples/git/git-push-amend.md
+++ b/radicle-cli/examples/git/git-push-amend.md
@@ -21,7 +21,7 @@ $ git commit --amend -m "Neue Änderungen" --allow-empty -q
``` ~alice (stderr)
$ git push rad master -f
✓ Canonical head updated to 9170c8795d3a78f0381a0ffafb20ea69fb0f5b6b
-✓ Synced with 1 node(s)
+✓ Announced to 1 seed(s) to meet replication target.
To rad://z42hL2jL4XNk6K8oHQaSWfMgCL7ji/z6MknSLrJoTcukLrE435hVNQT4JUhbvWLX4kUzqkEStBU8Vi
+ fb25886...9170c87 master -> master (forced update)
```
diff --git a/radicle-cli/examples/git/git-push-converge.md b/radicle-cli/examples/git/git-push-converge.md
index 62d90aeef..2cf6f5cf8 100644
--- a/radicle-cli/examples/git/git-push-converge.md
+++ b/radicle-cli/examples/git/git-push-converge.md
@@ -92,7 +92,7 @@ $ git push rad -f
warn: could not determine canonical tip for `refs/heads/master`
warn: no commit found with at least 3 vote(s) (threshold not met)
warn: it is recommended to find a commit to agree upon
-✓ Synced with 2 node(s)
+✓ Announced to 2 seed(s) to meet replication target.
To rad://z42hL2jL4XNk6K8oHQaSWfMgCL7ji/z6MknSLrJoTcukLrE435hVNQT4JUhbvWLX4kUzqkEStBU8Vi
d09e634..0f9bd80 master -> master
```
@@ -116,7 +116,7 @@ become the canonical `master`.
``` ~bob (stderr)
$ git push rad
✓ Canonical head updated to 3a75f66dd0020c9a0355cc6ec21f15de989e2001
-✓ Synced with 2 node(s)
+✓ Announced to 2 seed(s) to meet replication target.
To rad://z42hL2jL4XNk6K8oHQaSWfMgCL7ji/z6Mkt67GdsW7715MEfRuP4pSZxJRJh6kj6Y48WRqVv4N1tRk
2a37862..0f9bd80 master -> master
```
@@ -137,7 +137,7 @@ HEAD is now at 0f9bd80 Merge remote-tracking branch 'eve/master'
``` ~eve (stderr)
$ git push rad
✓ Canonical head updated to 0f9bd8035c04b3f73f5408e73e8454879b20800b
-✓ Synced with 2 node(s)
+✓ Announced to 2 seed(s) to meet replication target.
To rad://z42hL2jL4XNk6K8oHQaSWfMgCL7ji/z6Mkux1aUQD2voWWukVb5nNUR7thrHveQG4pDQua8nVhib7Z
3a75f66..0f9bd80 master -> master
```
diff --git a/radicle-cli/examples/git/git-push-rollback.md b/radicle-cli/examples/git/git-push-rollback.md
index b0c478455..3db11cbbc 100644
--- a/radicle-cli/examples/git/git-push-rollback.md
+++ b/radicle-cli/examples/git/git-push-rollback.md
@@ -35,7 +35,7 @@ Fast-forward
``` ~alice (stderr)
$ git push rad
✓ Canonical head updated to 319a7dc3b195368ded4b099f8c90bbb80addccd3
-✓ Synced with 1 node(s)
+✓ Announced to 1 seed(s) to meet replication target.
To rad://z42hL2jL4XNk6K8oHQaSWfMgCL7ji/z6MknSLrJoTcukLrE435hVNQT4JUhbvWLX4kUzqkEStBU8Vi
f2de534..319a7dc master -> master
```
@@ -54,7 +54,7 @@ push and the new canonical head becomes the previous commit again:
``` ~alice (stderr)
$ git push rad -f
✓ Canonical head updated to f2de534b5e81d7c6e2dcaf58c3dd91573c0a0354
-✓ Synced with 1 node(s)
+✓ Announced to 1 seed(s) to meet replication target.
To rad://z42hL2jL4XNk6K8oHQaSWfMgCL7ji/z6MknSLrJoTcukLrE435hVNQT4JUhbvWLX4kUzqkEStBU8Vi
+ 319a7dc...f2de534 master -> master (forced update)
```
diff --git a/radicle-cli/examples/git/git-push.md b/radicle-cli/examples/git/git-push.md
index 632639825..b9f0228e4 100644
--- a/radicle-cli/examples/git/git-push.md
+++ b/radicle-cli/examples/git/git-push.md
@@ -59,7 +59,7 @@ f2de534b5e81d7c6e2dcaf58c3dd91573c0a0354 refs/heads/master
```
$ rad sync --announce
-✓ Synced with 1 node(s)
+✓ Announced to 1 seed(s) to meet replication target.
```
Note that it is forbidden to delete the default/canonical branch:
diff --git a/radicle-cli/examples/git/git-tag.md b/radicle-cli/examples/git/git-tag.md
index 96b74e9f7..84f88103e 100644
--- a/radicle-cli/examples/git/git-tag.md
+++ b/radicle-cli/examples/git/git-tag.md
@@ -12,7 +12,7 @@ $ git tag v1.0 -a -m "Release v1.0"
``` ~alice (stderr)
$ git push rad v1.0
-✓ Synced with 1 node(s)
+✓ Announced to 1 seed(s) to meet replication target.
To rad://z42hL2jL4XNk6K8oHQaSWfMgCL7ji/z6MknSLrJoTcukLrE435hVNQT4JUhbvWLX4kUzqkEStBU8Vi
* [new tag] v1.0 -> v1.0
```
@@ -63,7 +63,7 @@ Updated tag 'v1.0' (was be18ed6)
``` ~alice (stderr)
$ git push rad v1.0 -f
-✓ Synced with 1 node(s)
+✓ Announced to 1 seed(s) to meet replication target.
To rad://z42hL2jL4XNk6K8oHQaSWfMgCL7ji/z6MknSLrJoTcukLrE435hVNQT4JUhbvWLX4kUzqkEStBU8Vi
+ be18ed6...9dbdebc v1.0 -> v1.0 (forced update)
```
diff --git a/radicle-cli/examples/rad-id-collaboration.md b/radicle-cli/examples/rad-id-collaboration.md
index d36892e2a..faccdd35b 100644
--- a/radicle-cli/examples/rad-id-collaboration.md
+++ b/radicle-cli/examples/rad-id-collaboration.md
@@ -53,14 +53,14 @@ $ rad sync
✓ Fetching rad:z42hL2jL4XNk6K8oHQaSWfMgCL7ji from z6MkuPZ…xEuaPUp@[..]..
✓ Fetching rad:z42hL2jL4XNk6K8oHQaSWfMgCL7ji from z6MkvVv…Z1Ct4tD@[..]..
✓ Fetched repository from 2 seed(s)
-✓ Synced with 1 node(s)
+✓ Announced to 1 seed(s) to meet replication target.
$ rad id update --repo rad:z42hL2jL4XNk6K8oHQaSWfMgCL7ji --title "Add Bob" --description "" --threshold 2 --delegate did:key:z6Mkt67GdsW7715MEfRuP4pSZxJRJh6kj6Y48WRqVv4N1tRk --no-confirm -q
069e7d58faa9a7473d27f5510d676af33282796f
$ rad sync
✓ Fetching rad:z42hL2jL4XNk6K8oHQaSWfMgCL7ji from z6MkuPZ…xEuaPUp@[..]..
✓ Fetching rad:z42hL2jL4XNk6K8oHQaSWfMgCL7ji from z6MkvVv…Z1Ct4tD@[..]..
✓ Fetched repository from 2 seed(s)
-✓ Synced with 3 node(s)
+✓ Announced to 3 seed(s) to meet replication target.
```
Bob can confirm that he was made a delegate by fetching the update:
@@ -70,7 +70,7 @@ $ rad sync
✓ Fetching rad:z42hL2jL4XNk6K8oHQaSWfMgCL7ji from z6MkuPZ…xEuaPUp@[..]..
✓ Fetching rad:z42hL2jL4XNk6K8oHQaSWfMgCL7ji from z6MkvVv…Z1Ct4tD@[..]..
✓ Fetched repository from 2 seed(s)
-✓ Synced with 1 node(s)
+✓ Announced to 1 seed(s) to meet replication target.
$ rad inspect --delegates
did:key:z6MknSLrJoTcukLrE435hVNQT4JUhbvWLX4kUzqkEStBU8Vi (alice)
did:key:z6Mkt67GdsW7715MEfRuP4pSZxJRJh6kj6Y48WRqVv4N1tRk (bob)
@@ -110,7 +110,7 @@ $ rad sync
✓ Fetching rad:z42hL2jL4XNk6K8oHQaSWfMgCL7ji from z6MkvVv…Z1Ct4tD@[..]..
✓ Fetching rad:z42hL2jL4XNk6K8oHQaSWfMgCL7ji from z6MkuPZ…xEuaPUp@[..]..
✓ Fetched repository from 2 seed(s)
-✓ Synced with 3 node(s)
+✓ Announced to 3 seed(s) to meet replication target.
```
Notice how there was no need to follow Eve right away in this case?
@@ -160,7 +160,7 @@ $ rad sync --timeout 3
✓ Fetching rad:z42hL2jL4XNk6K8oHQaSWfMgCL7ji from z6MkvVv…Z1Ct4tD@[..]..
✓ Fetching rad:z42hL2jL4XNk6K8oHQaSWfMgCL7ji from z6MkuPZ…xEuaPUp@[..]..
✓ Fetched repository from 2 seed(s)
-✓ Synced with 3 node(s)
+✓ Announced to 3 seed(s) to meet replication target.
$ rad inspect rad:z42hL2jL4XNk6K8oHQaSWfMgCL7ji --sigrefs
z6MknSLrJoTcukLrE435hVNQT4JUhbvWLX4kUzqkEStBU8Vi 1f716870f890be0c13fdd0af9f527af849fec792
z6Mkt67GdsW7715MEfRuP4pSZxJRJh6kj6Y48WRqVv4N1tRk c40018821dc1b41cad75e91e0c9d00827e815324
@@ -176,7 +176,7 @@ $ rad sync
✓ Fetching rad:z42hL2jL4XNk6K8oHQaSWfMgCL7ji from z6MkvVv…Z1Ct4tD@[..]..
✓ Fetching rad:z42hL2jL4XNk6K8oHQaSWfMgCL7ji from z6MkuPZ…xEuaPUp@[..]..
✓ Fetched repository from 2 seed(s)
-✓ Synced with 3 node(s)
+✓ Announced to 3 seed(s) to meet replication target.
$ rad sync status
╭─────────────────────────────────────────────────────────────────────────────────────────────────╮
│ ● Node Address Status Tip Timestamp │
diff --git a/radicle-cli/examples/rad-id-threshold-soft-fork.md b/radicle-cli/examples/rad-id-threshold-soft-fork.md
index eb9f18fc8..c6b3c5a65 100644
--- a/radicle-cli/examples/rad-id-threshold-soft-fork.md
+++ b/radicle-cli/examples/rad-id-threshold-soft-fork.md
@@ -13,7 +13,7 @@ $ rad issue open --title "Add Bob as a delegate" --description "We agreed to add
│ We agreed to add me as a delegate, so I am creating an issue │
│ to track that work │
╰──────────────────────────────────────────────────────────────╯
-✓ Synced with 1 node(s)
+✓ Announced to 1 seed(s) to meet replication target.
```
and if we inspect Alice's references, then we will see the following:
diff --git a/radicle-cli/examples/rad-id-threshold.md b/radicle-cli/examples/rad-id-threshold.md
index 482f1b9a9..391a68c53 100644
--- a/radicle-cli/examples/rad-id-threshold.md
+++ b/radicle-cli/examples/rad-id-threshold.md
@@ -71,7 +71,7 @@ To rad://z42hL2jL4XNk6K8oHQaSWfMgCL7ji/z6MknSLrJoTcukLrE435hVNQT4JUhbvWLX4kUzqkE
``` ~alice
$ rad sync -a
-✓ Synced with 1 node(s)
+✓ Announced to 1 seed(s) to meet replication target.
```
``` ~alice
diff --git a/radicle-cli/examples/rad-inbox.md b/radicle-cli/examples/rad-inbox.md
index 13a714a8c..a9dbeab4b 100644
--- a/radicle-cli/examples/rad-inbox.md
+++ b/radicle-cli/examples/rad-inbox.md
@@ -7,7 +7,7 @@ Your inbox is empty.
``` ~bob
$ cd heartwood
$ rad issue open --title "No license file" --description "..." -q
-✓ Synced with 1 node(s)
+✓ Announced to 1 seed(s) to meet replication target.
$ git commit -m "Change copyright" --allow-empty -q
$ git push rad HEAD:bob/copy
$ cd ..
@@ -113,7 +113,7 @@ Now let's do an identity update.
$ rad id update --title "Modify description" --description "Use website" --payload xyz.radicle.project description '"https://radicle.xyz"' -q
[..]
$ rad sync -a
-✓ Synced with 1 node(s)
+✓ Announced to 1 seed(s) to meet replication target.
```
``` ~bob
diff --git a/radicle-cli/examples/rad-init-private-clone.md b/radicle-cli/examples/rad-init-private-clone.md
index 89f94965e..60e6414f0 100644
--- a/radicle-cli/examples/rad-init-private-clone.md
+++ b/radicle-cli/examples/rad-init-private-clone.md
@@ -18,7 +18,7 @@ the refs.
$ rad id update --title "Allow Bob" --description "" --allow did:key:z6Mkt67GdsW7715MEfRuP4pSZxJRJh6kj6Y48WRqVv4N1tRk -q
...
$ rad sync --announce --timeout 3
-✓ Synced with 1 node(s)
+✓ Announced to 1 seed(s) to meet replication target.
```
Bob can now fetch the private repo without specifying a seed, because he knows
diff --git a/radicle-cli/examples/rad-patch-checkout-force.md b/radicle-cli/examples/rad-patch-checkout-force.md
index ff88d7eb7..7de744726 100644
--- a/radicle-cli/examples/rad-patch-checkout-force.md
+++ b/radicle-cli/examples/rad-patch-checkout-force.md
@@ -14,7 +14,7 @@ $ git commit -v -m "Define power requirements"
``` ~alice (stderr)
$ git push rad -o patch.message="Define power requirements" -o patch.message="See details." HEAD:refs/patches
✓ Patch aa45913e757cacd46972733bddee5472c78fa32a opened
-✓ Synced with 1 node(s)
+✓ Announced to 1 seed(s) to meet replication target.
To rad://z42hL2jL4XNk6K8oHQaSWfMgCL7ji/z6MknSLrJoTcukLrE435hVNQT4JUhbvWLX4kUzqkEStBU8Vi
* [new reference] HEAD -> refs/patches
```
@@ -50,7 +50,7 @@ To compare against your previous revision aa45913, run:
git range-diff f2de534[..] 3e674d1[..] 27857ec[..]
-✓ Synced with 1 node(s)
+✓ Announced to 1 seed(s) to meet replication target.
To rad://z42hL2jL4XNk6K8oHQaSWfMgCL7ji/z6MknSLrJoTcukLrE435hVNQT4JUhbvWLX4kUzqkEStBU8Vi
3e674d1..27857ec flux-capacitor-power -> patches/aa45913e757cacd46972733bddee5472c78fa32a
```
diff --git a/radicle-cli/examples/rad-patch-delete.md b/radicle-cli/examples/rad-patch-delete.md
index 062890218..896e44cc8 100644
--- a/radicle-cli/examples/rad-patch-delete.md
+++ b/radicle-cli/examples/rad-patch-delete.md
@@ -11,7 +11,7 @@ $ git commit -m "Introduce license"
``` ~alice (stderr)
$ git push rad -o patch.draft -o patch.message="Define LICENSE for project" HEAD:refs/patches
✓ Patch 6c61ef1716ad8a5c11e04dd7a3fec51e01fba70b drafted
-✓ Synced with 2 node(s)
+✓ Announced to 2 seed(s) to meet replication target.
To rad://z42hL2jL4XNk6K8oHQaSWfMgCL7ji/z6MknSLrJoTcukLrE435hVNQT4JUhbvWLX4kUzqkEStBU8Vi
* [new reference] HEAD -> refs/patches
```
@@ -26,7 +26,7 @@ $ rad patch comment 6c61ef1 -m "I think we should use MIT"
│ bob (you) now 833db19 │
│ I think we should use MIT │
╰───────────────────────────╯
-✓ Synced with 2 node(s)
+✓ Announced to 2 seed(s) to meet replication target.
```
``` ~alice
@@ -53,7 +53,7 @@ $ rad patch comment 6c61ef1 --reply-to 833db19 -m "Thanks, I'll add it!"
│ alice (you) now 1803a38 │
│ Thanks, I'll add it! │
╰─────────────────────────╯
-✓ Synced with 2 node(s)
+✓ Announced to 2 seed(s) to meet replication target.
```
``` ~alice
@@ -73,7 +73,7 @@ To compare against your previous revision 6c61ef1, run:
git range-diff f2de534[..] 717c900[..] 1cc8cd9[..]
-✓ Synced with 2 node(s)
+✓ Announced to 2 seed(s) to meet replication target.
To rad://z42hL2jL4XNk6K8oHQaSWfMgCL7ji/z6MknSLrJoTcukLrE435hVNQT4JUhbvWLX4kUzqkEStBU8Vi
717c900..1cc8cd9 prepare-license -> patches/6c61ef1716ad8a5c11e04dd7a3fec51e01fba70b
```
@@ -81,7 +81,7 @@ To rad://z42hL2jL4XNk6K8oHQaSWfMgCL7ji/z6MknSLrJoTcukLrE435hVNQT4JUhbvWLX4kUzqkE
``` ~bob
$ rad patch review 6c61ef1 --accept -m "LGTM!"
✓ Patch 6c61ef1 accepted
-✓ Synced with 2 node(s)
+✓ Announced to 2 seed(s) to meet replication target.
$ rad patch show 6c61ef1 -v
╭─────────────────────────────────────────────────────────────────────╮
│ Title Define LICENSE for project │
@@ -103,7 +103,7 @@ $ rad patch show 6c61ef1 -v
``` ~bob
$ rad patch delete 6c61ef1
-✓ Synced with 2 node(s)
+✓ Announced to 2 seed(s) to meet replication target.
```
``` ~alice
@@ -131,7 +131,7 @@ Alice should no longer have the patch:
``` ~alice
$ rad patch delete 6c61ef1
-✓ Synced with 2 node(s)
+✓ Announced to 2 seed(s) to meet replication target.
```
``` ~seed (fails)
diff --git a/radicle-cli/examples/rad-patch-open-explore.md b/radicle-cli/examples/rad-patch-open-explore.md
index dee835714..af73e2ad2 100644
--- a/radicle-cli/examples/rad-patch-open-explore.md
+++ b/radicle-cli/examples/rad-patch-open-explore.md
@@ -5,7 +5,8 @@ $ git checkout -b changes -q
$ git commit --allow-empty -q -m "Changes"
$ git push rad HEAD:refs/patches
✓ Patch acab0ec777a97d013f30be5d5d1aec32562ecb02 opened
-✓ Synced with 1 node(s)
+✓ Announced to preferred 1 seed(s).
+! No other seeds to announce to.
https://app.radicle.xyz/nodes/[..]/rad:z3yXbb1sR6UG6ixxV2YF9jUP7ABra/patches/acab0ec777a97d013f30be5d5d1aec32562ecb02
@@ -23,7 +24,8 @@ To compare against your previous revision acab0ec, run:
git range-diff f2de534[..] e12525d[..] b2b6432[..]
-✓ Synced with 1 node(s)
+✓ Announced to preferred 1 seed(s).
+! No other seeds to announce to.
https://app.radicle.xyz/nodes/[..]/rad:z3yXbb1sR6UG6ixxV2YF9jUP7ABra/patches/acab0ec777a97d013f30be5d5d1aec32562ecb02
@@ -39,7 +41,8 @@ $ git merge changes -q
$ git push rad master
✓ Patch acab0ec777a97d013f30be5d5d1aec32562ecb02 merged
✓ Canonical head updated to b2b6432af93f8fe188e32d400263021b602cfec8
-✓ Synced with 1 node(s)
+✓ Announced to preferred 1 seed(s).
+! No other seeds to announce to.
https://app.radicle.xyz/nodes/[..]/rad:z3yXbb1sR6UG6ixxV2YF9jUP7ABra/tree/b2b6432af93f8fe188e32d400263021b602cfec8
diff --git a/radicle-cli/examples/rad-patch-pull-update.md b/radicle-cli/examples/rad-patch-pull-update.md
index 6eef5e71c..e058af8d4 100644
--- a/radicle-cli/examples/rad-patch-pull-update.md
+++ b/radicle-cli/examples/rad-patch-pull-update.md
@@ -42,7 +42,7 @@ our fork:
``` ~bob (stderr)
$ cd heartwood
$ git push rad master
-✓ Synced with 1 node(s)
+✓ Announced to 1 seed(s) to meet replication target.
To rad://zhbMU4DUXrzB8xT6qAJh6yZ7bFMK/z6Mkt67GdsW7715MEfRuP4pSZxJRJh6kj6Y48WRqVv4N1tRk
* [new branch] master -> master
```
@@ -54,7 +54,7 @@ $ git checkout -b bob/feature -q
$ git commit --allow-empty -m "Bob's commit #1" -q
$ git push rad -o sync -o patch.message="Bob's patch" HEAD:refs/patches
✓ Patch 55b9721ed7f6bfec38f43729e9b6631c5dc812fb opened
-✓ Synced with 1 node(s)
+✓ Announced to 1 seed(s) to meet replication target.
To rad://zhbMU4DUXrzB8xT6qAJh6yZ7bFMK/z6Mkt67GdsW7715MEfRuP4pSZxJRJh6kj6Y48WRqVv4N1tRk
* [new reference] HEAD -> refs/patches
```
@@ -87,7 +87,7 @@ To compare against your previous revision 55b9721, run:
git range-diff f2de534[..] bdcdb30[..] cad2666[..]
-✓ Synced with 1 node(s)
+✓ Announced to 1 seed(s) to meet replication target.
To rad://zhbMU4DUXrzB8xT6qAJh6yZ7bFMK/z6Mkt67GdsW7715MEfRuP4pSZxJRJh6kj6Y48WRqVv4N1tRk
bdcdb30..cad2666 bob/feature -> patches/55b9721ed7f6bfec38f43729e9b6631c5dc812fb
```
diff --git a/radicle-cli/examples/rad-push-and-pull-patches.md b/radicle-cli/examples/rad-push-and-pull-patches.md
index 0d3654439..14691d1ae 100644
--- a/radicle-cli/examples/rad-push-and-pull-patches.md
+++ b/radicle-cli/examples/rad-push-and-pull-patches.md
@@ -37,7 +37,7 @@ To compare against your previous revision d004b67, run:
git range-diff f2de534[..] 8d5f1ba[..] c2aaf1c[..]
-✓ Synced with 1 node(s)
+✓ Announced to 1 seed(s) to meet replication target.
To rad://z42hL2jL4XNk6K8oHQaSWfMgCL7ji/z6MknSLrJoTcukLrE435hVNQT4JUhbvWLX4kUzqkEStBU8Vi
* [new branch] patch/d004b67 -> patches/d004b67355456c46de10c0d287e4a791ad1a6945
```
@@ -60,7 +60,7 @@ To compare against your previous revision d004b67, run:
git range-diff f2de534[..] 8d5f1ba[..] d9f8caf[..]
-✓ Synced with 1 node(s)
+✓ Announced to 1 seed(s) to meet replication target.
To rad://z42hL2jL4XNk6K8oHQaSWfMgCL7ji/z6MknSLrJoTcukLrE435hVNQT4JUhbvWLX4kUzqkEStBU8Vi
c2aaf1c..d9f8caf patch/d004b67 -> patches/d004b67355456c46de10c0d287e4a791ad1a6945
```
diff --git a/radicle-cli/examples/rad-sync.md b/radicle-cli/examples/rad-sync.md
index 851b0382d..613cd5c71 100644
--- a/radicle-cli/examples/rad-sync.md
+++ b/radicle-cli/examples/rad-sync.md
@@ -26,7 +26,7 @@ wait for nodes to announce that they have fetched those refs.
```
$ rad sync --announce
-✓ Synced with 2 node(s)
+✓ Announced to 2 seed(s) to meet replication target.
```
Now, when we run `rad sync status` again, we can see that `bob` and
@@ -48,7 +48,7 @@ be up to date.
```
$ rad sync --announce
-✓ Nothing to announce, already in sync with 2 node(s) (see `rad sync status`)
+✓ All preferred seeds are in sync, and the replication target is met. Nothing to announce.
```
We can also use the `--fetch` option to only fetch objects:
@@ -67,7 +67,7 @@ $ rad sync --fetch --announce
✓ Fetching rad:z42hL2jL4XNk6K8oHQaSWfMgCL7ji from z6Mkux1…nVhib7Z@[..]..
✓ Fetching rad:z42hL2jL4XNk6K8oHQaSWfMgCL7ji from z6Mkt67…v4N1tRk@[..]..
✓ Fetched repository from 2 seed(s)
-✓ Nothing to announce, already in sync with 2 node(s) (see `rad sync status`)
+✓ All preferred seeds are in sync, and the replication target is met. Nothing to announce.
```
It's also possible to use the `--seed` flag to only sync with a specific node:
@@ -89,11 +89,11 @@ $ rad issue open --title "Test `rad sync --replicas`" --description "Check that
$ rad sync --replicas 1
✓ Fetching rad:z42hL2jL4XNk6K8oHQaSWfMgCL7ji from z6Mkux1…nVhib7Z@[..]..
✓ Fetched repository from 1 seed(s)
-✓ Synced with 1 node(s)
+✓ Announced to 2 seed(s) to meet replication target (1 succeeded, 0 failed).
```
-Note that we see `✓ Fetched repository from 1 seed(s)` and `✓ Synced
-with 1 node(s)`. This does not necessarily mean that only `bob` or
+Note that we see `✓ Fetched repository from 1 seed(s)` and announced to only
+with 1 seed. This does not necessarily mean that only `bob` or
`eve` were synchronized with, since they both could have received the
announcement of the new changes. However, it does mean that we only
wait for at least 1 of the nodes to have fetched the changes from us.
diff --git a/radicle-cli/examples/workflow/4-patching-contributor.md b/radicle-cli/examples/workflow/4-patching-contributor.md
index 181072c93..a7cb06c4b 100644
--- a/radicle-cli/examples/workflow/4-patching-contributor.md
+++ b/radicle-cli/examples/workflow/4-patching-contributor.md
@@ -91,5 +91,5 @@ And let's leave a quick comment for our team:
```
$ rad patch comment e4934b6d9dbe01ce3c7fbb5b77a80d5f1dacdc46 --message 'I cannot wait to get back to the 90s!' -q
8c66f87afadc7c7c857f8bb92973c25f64e75776
-✓ Synced with 1 node(s)
+✓ Announced to 1 seed(s) to meet replication target.
```
diff --git a/radicle-cli/examples/workflow/5-patching-maintainer.md b/radicle-cli/examples/workflow/5-patching-maintainer.md
index 85078ed30..a5a785d5a 100644
--- a/radicle-cli/examples/workflow/5-patching-maintainer.md
+++ b/radicle-cli/examples/workflow/5-patching-maintainer.md
@@ -76,7 +76,7 @@ Great, all fixed up, lets accept and merge the code.
```
$ rad patch review e4934b6 --revision 9d62420 --accept
✓ Patch e4934b6 accepted
-✓ Synced with 1 node(s)
+✓ Announced to 1 seed(s) to meet replication target.
$ git checkout master
Your branch is up to date with 'rad/master'.
$ git merge patch/e4934b6
@@ -92,7 +92,7 @@ Fast-forward
$ git push rad master
✓ Patch e4934b6d9dbe01ce3c7fbb5b77a80d5f1dacdc46 merged at revision 9d62420
✓ Canonical head updated to f567f695d25b4e8fb63b5f5ad2a584529826e908
-✓ Synced with 1 node(s)
+✓ Announced to 1 seed(s) to meet replication target.
To rad://z42hL2jL4XNk6K8oHQaSWfMgCL7ji/z6MknSLrJoTcukLrE435hVNQT4JUhbvWLX4kUzqkEStBU8Vi
f2de534..f567f69 master -> master
```
@@ -134,5 +134,5 @@ patch, marking it as solved:
```
$ rad issue state 9037b7a --solved
✓ Issue 9037b7a is now solved
-✓ Synced with 1 node(s)
+✓ Announced to 1 seed(s) to meet replication target.
```
diff --git a/radicle-cli/src/node.rs b/radicle-cli/src/node.rs
index 3bd4f7adc..4fdce827b 100644
--- a/radicle-cli/src/node.rs
+++ b/radicle-cli/src/node.rs
@@ -180,116 +180,320 @@ fn announce_<R: ReadRepository>(
let rid = repo.id();
let doc = repo.identity_doc()?;
let mut settings = settings.with_profile(profile);
- let unsynced: Vec<_> = if doc.is_public() {
- // All seeds.
- let all = node.seeds(rid)?;
- if all.is_empty() {
- term::info!(&mut reporting.completion; "No seeds found for {rid}.");
- return Ok(AnnounceResult::default());
- }
- // Seeds in sync with us.
- let synced = all
+
+ let seeds = node.seeds(rid)?;
+ let me = radicle::identity::Did::from(profile.id());
+
+ // Note that we filter out `me` from the candidate set,
+ // as we do not count want to sync with outselves and we
+ // do not count ourselves towards the replication target.
+ let candidates: BTreeSet<NodeId> = if doc.is_public() {
+ seeds
.iter()
- .filter(|s| s.is_synced())
- .map(|s| s.nid)
- .collect::<BTreeSet<_>>();
- // Replicas not counting our local replica.
- let replicas = synced.iter().filter(|nid| *nid != profile.id()).count();
- // Maximum replication factor we can achieve.
- let max_replicas = all.iter().filter(|s| &s.nid != profile.id()).count();
- // If the seeds we specified in the sync settings are all synced.
- let is_seeds_synced = settings.seeds.iter().all(|s| synced.contains(s));
- // If we met our desired replica count. Note that this can never exceed the maximum count.
- let is_replicas_synced = replicas >= settings.replicas.min(max_replicas);
-
- // Nothing to do if we've met our sync state.
- if is_seeds_synced && is_replicas_synced {
- term::success!(
- &mut reporting.completion;
- "Nothing to announce, already in sync with {replicas} node(s) (see `rad sync status`)"
- );
- return Ok(AnnounceResult::default());
- }
- // Return nodes we can announce to. They don't have to be connected directly.
- all.iter()
- .filter(|s| !s.is_synced() && &s.nid != profile.id())
- .map(|s| s.nid)
+ .filter_map(|seed| (seed.nid != *me).then_some(seed.nid))
.collect()
} else {
node.sessions()?
.into_iter()
- .filter(|s| s.state.is_connected() && doc.is_visible_to(&s.nid.into()))
- .map(|s| s.nid)
+ .filter_map(|session| {
+ (session.nid != *me
+ && session.state.is_connected()
+ && doc.is_visible_to(&session.nid.into()))
+ .then_some(session.nid)
+ })
.collect()
};
- if unsynced.is_empty() {
- term::info!(&mut reporting.completion; "No seeds to announce to for {rid}. (see `rad sync status`)");
+ if candidates.is_empty() {
+ term::info!(&mut reporting.completion; "No candidate seeds found to announce {rid} to.");
+ if !doc.is_public() && profile.config.cli.hints {
+ term::hint_write(&mut reporting.completion, "This is a private repository. It can only be synced with connected nodes to which it is visible.").ok();
+ if let Some(visible_to) = doc.visible_to() {
+ term::hint_write(
+ &mut reporting.completion,
+ "The repository is currently visible to:",
+ )
+ .ok();
+ visible_to.iter().filter(|did| **did != me).for_each(|n| {
+ term::hint_write(&mut reporting.completion, format!(" - {}", format::dim(n)))
+ .ok();
+ });
+ }
+ }
return Ok(AnnounceResult::default());
}
+
+ let (synced, unsynced) = candidates
+ .iter()
+ .filter(|nid| !settings.seeds.contains(nid))
+ .partition::<BTreeSet<_>, _>(|s| seeds.get(s).is_some_and(|s| s.is_synced()));
+
+ let (preferred_synced, preferred_unsynced) = settings
+ .seeds
+ .iter()
+ .partition::<BTreeSet<_>, _>(|s| seeds.get(s).is_some_and(|s| s.is_synced()));
+
+ // Replicas not counting our local replica.
+ let replicas = synced.len() + preferred_synced.len();
+
+ // Maximum replication factor we can achieve.
+ let max_replicas = unsynced.len() + preferred_unsynced.len();
+
// Cap the replicas to the maximum achievable.
// Nb. It's impossible to know if a replica follows our node. This means that if we announce
// only our refs, and the replica doesn't follow us, it won't fetch from us.
- settings.replicas = settings.replicas.min(unsynced.len());
-
- let mut spinner = term::spinner_to(
- format!("Found {} seed(s)..", unsynced.len()),
- reporting.completion.clone(),
- reporting.progress.clone(),
- );
- let result = node.announce(
- rid,
- unsynced,
- settings.timeout,
- |event, replicas| match event {
- node::AnnounceEvent::Announced => ControlFlow::Continue(()),
- node::AnnounceEvent::RefsSynced { remote, time } => {
- spinner.message(format!(
- "Synced with {} in {}..",
- format::dim(remote),
- format::dim(format!("{time:?}"))
- ));
-
- // We're done syncing when both of these conditions are met:
- //
- // 1. We've matched or exceeded our target replica count.
- // 2. We've synced with one of the seeds specified manually.
- if replicas.len() >= settings.replicas
- && (settings.seeds.is_empty()
- || settings.seeds.iter().any(|s| replicas.contains_key(s)))
- {
- ControlFlow::Break(())
+ settings.replicas = settings.replicas.min(max_replicas);
+
+ // If we met our desired replica count. Note that this can never exceed the maximum count.
+ let is_replicas_synced = replicas >= settings.replicas;
+
+ // If the seeds we specified in the sync settings are all synced.
+ let is_seeds_synced = preferred_unsynced.is_empty();
+
+ if is_seeds_synced && is_replicas_synced {
+ term::success!(
+ &mut reporting.completion;
+ "All preferred seeds are {}, and the replication target {}. Nothing to announce.",
+ format::positive("in sync"),
+ format::positive("is met"),
+ );
+ if profile.config.cli.hints {
+ term::hint_write(
+ &mut reporting.completion,
+ "For further information, run `rad sync status`.",
+ )
+ .ok();
+ }
+ return Ok(AnnounceResult::default());
+ }
+
+ Ok(
+ (if preferred_unsynced.is_empty() && !preferred_synced.is_empty() {
+ term::success!(
+ &mut reporting.completion;
+ "Preferred seeds are in sync."
+ );
+ AnnounceResult::default()
+ } else if preferred_unsynced.is_empty() && preferred_synced.is_empty() {
+ AnnounceResult::default()
+ } else {
+ // We first sync with preferred seeds.
+ let preferred_len = preferred_synced.len() + preferred_unsynced.len();
+ let mut spinner = term::spinner_to(
+ format!(
+ "Announcing to {} preferred seed(s) ({} {}, {} {}) …",
+ preferred_len,
+ format::secondary(preferred_synced.len()),
+ format::positive("succeeded"),
+ format::secondary(preferred_unsynced.len()),
+ format::negative("pending")
+ ),
+ reporting.completion.clone(),
+ reporting.progress.clone(),
+ );
+
+ let (mut preferred_synced, mut preferred_unsynced) =
+ (preferred_synced, preferred_unsynced);
+ let result = node.announce(
+ rid,
+ preferred_unsynced.clone(),
+ settings.timeout,
+ |event, _| match event {
+ node::AnnounceEvent::Announced => ControlFlow::Continue(()),
+ node::AnnounceEvent::RefsSynced { remote, time } => {
+ preferred_unsynced.remove(&remote);
+ preferred_synced.insert(remote);
+
+ spinner.message(format!(
+ "Announcing to {} preferred seed(s) ({} {}, {} {}) … {}",
+ preferred_len,
+ format::secondary(preferred_synced.len()),
+ format::positive("succeeded"),
+ format::secondary(preferred_unsynced.len()),
+ format::negative("pending"),
+ format::italic(format!(
+ "[{} {}]",
+ format::primary(term::format::node(&remote)),
+ format::dim(format!("in {time:?}"))
+ ))
+ ));
+
+ if preferred_unsynced.is_empty() {
+ ControlFlow::Break(())
+ } else {
+ ControlFlow::Continue(())
+ }
+ }
+ },
+ )?;
+
+ spinner.message(format!(
+ "{} to preferred {} seed(s){}.",
+ if preferred_unsynced.is_empty() {
+ "Announced"
} else {
- ControlFlow::Continue(())
+ "Failed to announce"
+ },
+ preferred_len,
+ if preferred_synced.len() * preferred_unsynced.len() == 0 {
+ "".to_string()
+ } else {
+ format!(
+ " ({} {}, {} {})",
+ format::secondary(preferred_synced.len()),
+ format::positive("succeeded"),
+ format::secondary(preferred_unsynced.len()),
+ format::negative("failed")
+ )
}
+ ));
+
+ if !preferred_unsynced.is_empty() {
+ spinner.failed();
+ } else {
+ spinner.finish();
}
- },
- )?;
- if result.synced.is_empty() {
- spinner.failed();
- } else {
- spinner.message(format!("Synced with {} node(s)", result.synced.len()));
- spinner.finish();
+ // We expect that the users keeps `settings.seeds` (even if filled with
+ // preferred seeds from config file) to a reasonable size. Then, it is
+ // much more important to know syncing with which nodes *failed* then
+ // for which it *succeeded*. Anyway, the debug flag will give a full
+ // picture.
+ if reporting.debug {
+ for (seed, time) in &result.synced {
+ term::success!(
+ &mut reporting.completion;
+ "{}",
+ format::dim(format!(
+ "Announced to preferred seed {} in {time:?}.",
+ term::format::primary(term::format::node(seed))
+ ))
+ );
+ }
+ }
- if reporting.debug {
- for (seed, time) in &result.synced {
- writeln!(
- &mut reporting.completion,
- " {}",
- term::format::dim(format!("Synced with {seed} in {time:?}")),
- )
- .ok();
+ for seed in &result.timed_out {
+ term::notice!(&mut reporting.completion; "Preferred seed {} {}.", term::format::primary(term::format::node(seed)), format::negative("timed out"));
}
- }
- }
- for seed in &result.timed_out {
- if settings.seeds.contains(seed) {
- term::notice!(&mut reporting.completion; "Seed {seed} timed out..");
- }
- }
- if result.synced.is_empty() {
- return Err(SyncError::AllSeedsTimedOut);
- }
- Ok(result)
+
+ if !reporting.debug && !preferred_unsynced.is_empty() {
+ term::notice!(&mut reporting.completion; "For more details, run `rad sync status`.");
+ }
+
+ result
+ }) + if is_replicas_synced {
+ term::success!(
+ &mut reporting.completion;
+ "Found {} replica(s), meeting target of {}.",
+ format::primary(replicas),
+ format::primary(settings.replicas)
+ );
+ AnnounceResult::default()
+ } else if unsynced.is_empty() {
+ term::notice!(
+ &mut reporting.completion;
+ "No other seeds to announce to.",
+ );
+ AnnounceResult::default()
+ } else {
+ // We then attempt to sync with all others.
+ let unsynced_len = unsynced.len();
+
+ let mut spinner = term::spinner_to(
+ format!(
+ "Announcing to {} seed(s) to meet replication target ({} {}, {} {}) …",
+ unsynced_len,
+ format::secondary(replicas),
+ format::positive("succeeded"),
+ format::secondary(settings.replicas - replicas),
+ format::negative("pending")
+ ),
+ reporting.completion.clone(),
+ reporting.progress.clone(),
+ );
+
+ let mut replicas = replicas;
+
+ let result =
+ node.announce(
+ rid,
+ unsynced,
+ settings.timeout,
+ |event, replica_map| match event {
+ node::AnnounceEvent::Announced => ControlFlow::Continue(()),
+ node::AnnounceEvent::RefsSynced { remote, time } => {
+ replicas = replica_map.len();
+ spinner.message(format!(
+ "Announcing to {} seed(s) to meet replication target ({} {}, {} {}) … {}",
+ unsynced_len,
+ format::secondary(replicas),
+ format::positive("succeeded"),
+ format::secondary(settings.replicas - replicas),
+ format::negative("pending"),
+ format::italic(format!(
+ "[{} {}]",
+ format::primary(term::format::node(&remote)),
+ format::dim(format!("in {time:?}"))
+ ))
+ ));
+
+ if replicas >= settings.replicas {
+ ControlFlow::Break(())
+ } else {
+ ControlFlow::Continue(())
+ }
+ }
+ },
+ )?;
+
+ spinner.message(format!(
+ "{} to {} seed(s) to meet replication target{}.",
+ if replicas >= settings.replicas {
+ "Announced"
+ } else {
+ "Failed to announce"
+ },
+ unsynced_len,
+ if settings.replicas == unsynced_len
+ && replicas * (settings.replicas - replicas) == 0
+ {
+ "".to_string()
+ } else {
+ format!(
+ " ({} {}, {} {})",
+ format::secondary(replicas),
+ format::positive("succeeded"),
+ format::secondary(settings.replicas - replicas),
+ format::negative("failed")
+ )
+ }
+ ));
+
+ if replicas >= settings.replicas {
+ spinner.finish();
+ } else {
+ spinner.failed();
+ }
+
+ if reporting.debug {
+ for (seed, time) in &result.synced {
+ term::success!(
+ &mut reporting.completion;
+ "{}",
+ format::dim(format!(
+ "Announced to seed {} in {time:?}.",
+ term::format::primary(term::format::node(seed))
+ ))
+ );
+ }
+ for seed in &result.timed_out {
+ term::notice!(&mut reporting.completion; "Seed {} {}.", term::format::primary(term::format::node(seed)), format::negative("timed out"));
+ }
+ } else if !&result.timed_out.is_empty() {
+ term::notice!(&mut reporting.completion; "{} seed(s) {}. For more details, run `rad sync` with the `--debug` flag, or run `rad sync status`.", &result.timed_out.len(), format::negative("timed out"));
+ }
+
+ result
+ },
+ )
}
diff --git a/radicle-term/src/io.rs b/radicle-term/src/io.rs
index 13d77f4a5..8d98be833 100644
--- a/radicle-term/src/io.rs
+++ b/radicle-term/src/io.rs
@@ -197,6 +197,10 @@ pub fn hint(hint: impl fmt::Display) {
println!("{ERROR_HINT_PREFIX} {}", format::hint(hint));
}
+pub fn hint_write(write: &mut impl io::Write, hint: impl fmt::Display) -> io::Result<()> {
+ writeln!(write, "{ERROR_HINT_PREFIX} {}", format::hint(hint))
+}
+
pub fn ask<D: fmt::Display>(prompt: D, default: bool) -> bool {
let prompt = prompt.to_string();
diff --git a/radicle/src/identity/doc.rs b/radicle/src/identity/doc.rs
index 1beb36007..042d0317c 100644
--- a/radicle/src/identity/doc.rs
+++ b/radicle/src/identity/doc.rs
@@ -752,6 +752,13 @@ impl Doc {
}
}
+ pub fn visible_to(&self) -> Option<&BTreeSet<Did>> {
+ match &self.visibility {
+ Visibility::Public => None,
+ Visibility::Private { allow } => Some(allow),
+ }
+ }
+
/// Validate `signature` using this document's delegates, against a given
/// document blob.
pub fn verify_signature(
diff --git a/radicle/src/node.rs b/radicle/src/node.rs
index 669fa8322..adff8a34a 100644
--- a/radicle/src/node.rs
+++ b/radicle/src/node.rs
@@ -764,6 +764,10 @@ impl Seeds {
pub fn with(self, rng: fastrand::Rng) -> Self {
Self(self.0.with(rng))
}
+
+ pub fn get(&self, nid: &NodeId) -> Option<&Seed> {
+ self.0.get(nid)
+ }
}
impl From<Seeds> for Vec<Seed> {
@@ -799,6 +803,16 @@ impl AnnounceResult {
}
}
+impl std::ops::Add for AnnounceResult {
+ type Output = Self;
+
+ fn add(mut self, AnnounceResult { timed_out, synced }: Self) -> Self {
+ self.timed_out.extend(timed_out);
+ self.synced.extend(synced);
+ self
+ }
+}
+
/// A sync event, emitted by [`Node::announce`].
#[derive(Debug)]
pub enum AnnounceEvent {
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 ed8606bd-6a52-4974-b83e-50dfeeb66a53 -v /opt/radcis/ci.rad.levitte.org/cci/state/ed8606bd-6a52-4974-b83e-50dfeeb66a53/s:/ed8606bd-6a52-4974-b83e-50dfeeb66a53/s:ro -v /opt/radcis/ci.rad.levitte.org/cci/state/ed8606bd-6a52-4974-b83e-50dfeeb66a53/w:/ed8606bd-6a52-4974-b83e-50dfeeb66a53/w -w /ed8606bd-6a52-4974-b83e-50dfeeb66a53/w -v /opt/radcis/ci.rad.levitte.org/.radicle:/${id}/.radicle:ro -e RAD_HOME=/${id}/.radicle rust:trixie bash /ed8606bd-6a52-4974-b83e-50dfeeb66a53/s/script.sh
+ cargo --version
info: syncing channel updates for '1.85-x86_64-unknown-linux-gnu'
info: latest update on 2025-03-18, rust version 1.85.1 (4eb161250 2025-03-15)
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.85.1 (d73d2caf9 2024-12-31)
+ rustc --version
rustc 1.85.1 (4eb161250 2025-03-15)
+ cargo fmt --check
+ cargo clippy --all-targets --workspace -- --deny warnings
Updating crates.io index
Downloading crates ...
Downloaded adler2 v2.0.0
Downloaded amplify_num v0.5.2
Downloaded aead v0.5.2
Downloaded amplify_derive v4.0.0
Downloaded rfc6979 v0.4.0
Downloaded amplify v4.6.0
Downloaded rand_core v0.6.4
Downloaded rand v0.8.5
Downloaded der v0.7.9
Downloaded snapbox-macros v0.3.8
Downloaded sqlite3-sys v0.15.2
Downloaded spki v0.7.3
Downloaded sqlite v0.32.0
Downloaded termion v3.0.0
Downloaded gix-hash v0.15.1
Downloaded byteorder v1.5.0
Downloaded gix-negotiate v0.17.0
Downloaded gix-chunk v0.4.11
Downloaded gix-lock v15.0.1
Downloaded faster-hex v0.9.0
Downloaded gix-fs v0.12.1
Downloaded radicle-git-ext v0.8.0
Downloaded gix-trace v0.1.12
Downloaded similar v2.5.0
Downloaded newline-converter v0.3.0
Downloaded version_check v0.9.4
Downloaded utf8parse v0.2.1
Downloaded gix-features v0.39.1
Downloaded gix-revision v0.31.1
Downloaded percent-encoding v2.3.1
Downloaded ecdsa v0.16.9
Downloaded phf_shared v0.11.3
Downloaded icu_provider_macros v1.5.0
Downloaded keccak v0.1.5
Downloaded zerofrom-derive v0.1.6
Downloaded socks5-client v0.4.1
Downloaded siphasher v0.3.11
Downloaded icu_locid_transform v1.5.0
Downloaded gix-quote v0.4.15
Downloaded termion v2.0.3
Downloaded qcheck-macros v1.0.0
Downloaded num-iter v0.1.44
Downloaded gix-sec v0.10.12
Downloaded numtoa v0.1.0
Downloaded noise-framework v0.4.0
Downloaded unicode-ident v1.0.12
Downloaded netservices v0.8.0
Downloaded nonempty v0.5.0
Downloaded icu_locid v1.5.0
Downloaded opaque-debug v0.3.1
Downloaded ppv-lite86 v0.2.17
Downloaded home v0.5.9
Downloaded tinyvec v1.6.0
Downloaded normalize-line-endings v0.3.0
Downloaded litemap v0.7.5
Downloaded quote v1.0.36
Downloaded num-integer v0.1.46
Downloaded lock_api v0.4.11
Downloaded jobserver v0.1.31
Downloaded tar v0.4.40
Downloaded polyval v0.6.2
Downloaded once_cell v1.19.0
Downloaded gix-traverse v0.43.1
Downloaded gix-ref v0.49.1
Downloaded p256 v0.13.2
Downloaded num-traits v0.2.18
Downloaded icu_normalizer_data v1.5.1
Downloaded icu_properties v1.5.1
Downloaded icu_provider v1.5.0
Downloaded icu_collections v1.5.0
Downloaded indexmap v2.2.6
Downloaded memchr v2.7.2
Downloaded gix-pack v0.56.0
Downloaded num-bigint-dig v0.8.4
Downloaded p521 v0.13.3
Downloaded tree-sitter-python v0.23.4
Downloaded winnow v0.6.26
Downloaded tree-sitter v0.24.4
Downloaded vcpkg v0.2.15
Downloaded icu_properties_data v1.5.1
Downloaded p384 v0.13.0
Downloaded tree-sitter-c v0.23.2
Downloaded syn v1.0.109
Downloaded tree-sitter-md v0.3.2
Downloaded tree-sitter-rust v0.23.2
Downloaded bstr v1.9.1
Downloaded syn v2.0.89
Downloaded rustix v0.38.34
Downloaded regex-syntax v0.8.5
Downloaded tree-sitter-bash v0.23.3
Downloaded git2 v0.19.0
Downloaded hashbrown v0.14.3
Downloaded radicle-surf v0.22.0
Downloaded tree-sitter-ruby v0.23.1
Downloaded idna v1.0.3
Downloaded zerovec v0.10.4
Downloaded regex-automata v0.4.9
Downloaded regex v1.11.1
Downloaded chrono v0.4.38
Downloaded serde_json v1.0.116
Downloaded prodash v29.0.2
Downloaded libm v0.2.8
Downloaded inquire v0.7.5
Downloaded emojis v0.6.4
Downloaded jiff v0.2.1
Downloaded libc v0.2.155
Downloaded unicode-normalization v0.1.23
Downloaded cyphernet v0.5.2
Downloaded unicode-segmentation v1.11.0
Downloaded tree-sitter-go v0.23.4
Downloaded icu_normalizer v1.5.0
Downloaded sha3 v0.10.8
Downloaded tree-sitter-typescript v0.23.2
Downloaded pretty_assertions v1.4.0
Downloaded ssh-key v0.6.6
Downloaded cc v1.2.2
Downloaded proc-macro2 v1.0.92
Downloaded serde v1.0.219
Downloaded hmac v0.12.1
Downloaded zeroize v1.7.0
Downloaded base64 v0.21.7
Downloaded log v0.4.21
Downloaded url v2.5.4
Downloaded gix-protocol v0.47.0
Downloaded parking_lot v0.12.1
Downloaded gix-packetline v0.18.4
Downloaded gix-tempfile v15.0.0
Downloaded proc-macro-error v1.0.4
Downloaded miniz_oxide v0.8.8
Downloaded crossbeam-channel v0.5.15
Downloaded group v0.13.0
Downloaded gix-path v0.10.15
Downloaded poly1305 v0.8.0
Downloaded pkcs8 v0.10.2
Downloaded thiserror v2.0.12
Downloaded crypto-bigint v0.5.5
Downloaded chacha20poly1305 v0.10.1
Downloaded io-reactor v0.5.2
Downloaded gix-refspec v0.27.0
Downloaded primeorder v0.13.6
Downloaded pkg-config v0.3.30
Downloaded arc-swap v1.7.1
Downloaded nonempty v0.9.0
Downloaded flate2 v1.1.1
Downloaded pkcs1 v0.7.5
Downloaded gix-transport v0.44.0
Downloaded linux-raw-sys v0.4.13
Downloaded gix-validate v0.9.4
Downloaded gix-utils v0.1.14
Downloaded localtime v1.3.1
Downloaded gix-url v0.28.2
Downloaded maybe-async v0.2.10
Downloaded qcheck v1.0.0
Downloaded parking_lot_core v0.9.9
Downloaded popol v3.0.0
Downloaded pem-rfc7468 v0.7.0
Downloaded elliptic-curve v0.13.8
Downloaded gix-shallow v0.1.0
Downloaded itoa v1.0.11
Downloaded snapbox v0.4.17
Downloaded walkdir v2.5.0
Downloaded tree-sitter-css v0.23.1
Downloaded tempfile v3.10.1
Downloaded radicle-std-ext v0.1.0
Downloaded icu_locid_transform_data v1.5.1
Downloaded typenum v1.17.0
Downloaded gix-revwalk v0.17.0
Downloaded libgit2-sys v0.17.0+1.8.1
Downloaded gix-object v0.46.1
Downloaded base64 v0.13.1
Downloaded proc-macro-error-attr v1.0.4
Downloaded phf v0.11.3
Downloaded yoke v0.7.5
Downloaded tree-sitter-toml-ng v0.6.0
Downloaded ec25519 v0.1.0
Downloaded base64 v0.22.1
Downloaded anyhow v1.0.82
Downloaded inout v0.1.3
Downloaded idna_adapter v1.2.0
Downloaded zerovec-derive v0.10.3
Downloaded yansi v0.5.1
Downloaded writeable v0.5.5
Downloaded unicode-width v0.1.11
Downloaded tinystr v0.7.6
Downloaded thiserror-impl v1.0.69
Downloaded thiserror v1.0.69
Downloaded synstructure v0.13.1
Downloaded streaming-iterator v0.1.9
Downloaded shlex v1.3.0
Downloaded gix-diff v0.49.0
Downloaded getrandom v0.2.15
Downloaded diff v0.1.13
Downloaded tree-sitter-html v0.23.2
Downloaded timeago v0.4.2
Downloaded thiserror-impl v2.0.12
Downloaded serde_derive v1.0.219
Downloaded sem_safe v0.2.0
Downloaded scrypt v0.11.0
Downloaded scopeguard v1.2.0
Downloaded sqlite3-src v0.5.1
Downloaded zerofrom v0.1.6
Downloaded yoke-derive v0.7.5
Downloaded utf16_iter v1.0.5
Downloaded tree-sitter-json v0.24.8
Downloaded ssh-encoding v0.2.0
Downloaded signature v1.6.4
Downloaded write16 v1.0.0
Downloaded ssh-cipher v0.2.0
Downloaded pbkdf2 v0.12.2
Downloaded memmap2 v0.9.4
Downloaded lexopt v0.3.0
Downloaded iana-time-zone v0.1.60
Downloaded displaydoc v0.2.5
Downloaded anstyle-parse v0.2.3
Downloaded anstream v0.6.13
Downloaded gix-commitgraph v0.25.1
Downloaded gix-command v0.4.1
Downloaded ff v0.13.0
Downloaded ascii v1.1.0
Downloaded subtle v2.5.0
Downloaded stable_deref_trait v1.2.0
Downloaded either v1.11.0
Downloaded tinyvec_macros v0.1.1
Downloaded block-padding v0.3.3
Downloaded multibase v0.9.1
Downloaded lazy_static v1.5.0
Downloaded xattr v1.3.1
Downloaded utf8_iter v1.0.4
Downloaded universal-hash v0.5.1
Downloaded unicode-display-width v0.3.0
Downloaded tree-sitter-language v0.1.2
Downloaded tree-sitter-highlight v0.24.4
Downloaded gix-credentials v0.26.0
Downloaded ed25519 v1.5.3
Downloaded bloomy v1.2.0
Downloaded same-file v1.0.6
Downloaded escargot v0.5.10
Downloaded digest v0.10.7
Downloaded cbc v0.1.2
Downloaded anstyle-query v1.0.2
Downloaded gix-prompt v0.9.1
Downloaded dyn-clone v1.0.17
Downloaded gix-actor v0.33.2
Downloaded form_urlencoded v1.2.1
Downloaded fastrand v2.1.0
Downloaded anstyle v1.0.6
Downloaded generic-array v0.14.7
Downloaded base16ct v0.2.0
Downloaded cfg-if v1.0.0
Downloaded git-ref-format-macro v0.3.0
Downloaded git-ref-format-core v0.3.0
Downloaded git-ref-format v0.3.0
Downloaded autocfg v1.2.0
Downloaded errno v0.3.9
Downloaded cypheraddr v0.4.0
Downloaded base32 v0.4.0
Downloaded gix-date v0.9.4
Downloaded gix-config-value v0.14.12
Downloaded equivalent v1.0.1
Downloaded data-encoding v2.5.0
Downloaded bytesize v2.0.1
Downloaded blowfish v0.9.1
Downloaded base-x v0.2.11
Downloaded sec1 v0.7.3
Downloaded ryu v1.0.17
Downloaded fxhash v0.2.1
Downloaded cyphergraphy v0.3.0
Downloaded crc32fast v1.4.0
Downloaded spin v0.9.8
Downloaded sha1_smol v1.0.0
Downloaded ghash v0.5.1
Downloaded ct-codecs v1.1.1
Downloaded socket2 v0.5.7
Downloaded shell-words v1.1.0
Downloaded rsa v0.9.6
Downloaded salsa20 v0.10.2
Downloaded gix-odb v0.66.0
Downloaded crossbeam-utils v0.8.19
Downloaded colored v2.1.0
Downloaded cipher v0.4.4
Downloaded block-buffer v0.10.4
Downloaded bitflags v2.5.0
Downloaded bcrypt-pbkdf v0.10.0
Downloaded smallvec v1.13.2
Downloaded siphasher v1.0.1
Downloaded signature v2.2.0
Downloaded signals_receipts v0.2.0
Downloaded sha2 v0.10.8
Downloaded gix-hashtable v0.6.0
Downloaded libz-sys v1.1.16
Downloaded filetime v0.2.23
Downloaded crypto-common v0.1.6
Downloaded cpufeatures v0.2.12
Downloaded colorchoice v1.0.0
Downloaded amplify_syn v2.0.1
Downloaded ctr v0.9.2
Downloaded const-oid v0.9.6
Downloaded chacha20 v0.9.1
Downloaded base64ct v1.6.0
Downloaded data-encoding-macro-internal v0.1.12
Downloaded aho-corasick v1.1.3
Downloaded rand_chacha v0.3.1
Downloaded data-encoding-macro v0.1.14
Downloaded aes-gcm v0.10.3
Downloaded aes v0.8.4
Compiling libc v0.2.155
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
Checking memchr v2.7.2
Compiling typenum v1.17.0
Checking getrandom v0.2.15
Compiling jobserver v0.1.31
Compiling generic-array v0.14.7
Compiling quote v1.0.36
Compiling cc v1.2.2
Compiling syn v2.0.89
Checking aho-corasick v1.1.3
Checking regex-syntax v0.8.5
Compiling serde v1.0.219
Checking rand_core v0.6.4
Checking smallvec v1.13.2
Checking crypto-common v0.1.6
Checking log v0.4.21
Checking fastrand v2.1.0
Compiling autocfg v1.2.0
Checking bitflags v2.5.0
Checking regex-automata v0.4.9
Checking subtle v2.5.0
Compiling syn v1.0.109
Checking once_cell v1.19.0
Checking stable_deref_trait v1.2.0
Checking zeroize v1.7.0
Checking cpufeatures v0.2.12
Checking tinyvec_macros v0.1.1
Checking tinyvec v1.6.0
Compiling crc32fast v1.4.0
Compiling synstructure v0.13.1
Checking bstr v1.9.1
Checking unicode-normalization v0.1.23
Checking block-padding v0.3.3
Compiling icu_locid_transform_data v1.5.1
Checking writeable v0.5.5
Checking litemap v0.7.5
Checking inout v0.1.3
Checking block-buffer v0.10.4
Compiling icu_properties_data v1.5.1
Compiling pkg-config v0.3.30
Checking digest v0.10.7
Compiling serde_derive v1.0.219
Compiling zerofrom-derive v0.1.6
Compiling yoke-derive v0.7.5
Compiling zerovec-derive v0.10.3
Checking zerofrom v0.1.6
Compiling displaydoc v0.2.5
Checking yoke v0.7.5
Compiling icu_provider_macros v1.5.0
Checking zerovec v0.10.4
Checking cipher v0.4.4
Compiling icu_normalizer_data v1.5.1
Checking tinystr v0.7.6
Checking icu_collections v1.5.0
Checking icu_locid v1.5.0
Compiling thiserror v1.0.69
Compiling thiserror-impl v1.0.69
Checking icu_provider v1.5.0
Checking utf16_iter v1.0.5
Checking icu_locid_transform v1.5.0
Checking utf8_iter v1.0.4
Checking write16 v1.0.0
Compiling rustix v0.38.34
Checking icu_properties v1.5.1
Checking sha2 v0.10.8
Checking itoa v1.0.11
Checking linux-raw-sys v0.4.13
Checking percent-encoding v2.3.1
Checking hashbrown v0.14.3
Checking form_urlencoded v1.2.1
Checking universal-hash v0.5.1
Compiling vcpkg v0.2.15
Checking opaque-debug v0.3.1
Compiling amplify_syn v2.0.1
Checking icu_normalizer v1.5.0
Checking idna_adapter v1.2.0
Checking idna v1.0.3
Compiling data-encoding v2.5.0
Checking url v2.5.4
Compiling libz-sys v1.1.16
Checking byteorder v1.5.0
Compiling amplify_derive v4.0.0
Checking amplify_num v0.5.2
Compiling data-encoding-macro-internal v0.1.12
Checking ascii v1.1.0
Checking signature v1.6.4
Checking ed25519 v1.5.3
Checking tempfile v3.10.1
Checking data-encoding-macro v0.1.14
Compiling libgit2-sys v0.17.0+1.8.1
Checking aead v0.5.2
Compiling proc-macro-error-attr v1.0.4
Checking ct-codecs v1.1.1
Checking base-x v0.2.11
Checking multibase v0.9.1
Checking ec25519 v0.1.0
Checking poly1305 v0.8.0
Checking chacha20 v0.9.1
Compiling proc-macro-error v1.0.4
Checking keccak v0.1.5
Compiling git-ref-format-core v0.3.0
Checking sha3 v0.10.8
Checking amplify v4.6.0
Checking polyval v0.6.2
Checking cyphergraphy v0.3.0
Compiling sqlite3-src v0.5.1
Checking hmac v0.12.1
Checking base64ct v1.6.0
Checking base32 v0.4.0
Checking ppv-lite86 v0.2.17
Compiling thiserror v2.0.12
Checking pem-rfc7468 v0.7.0
Checking rand_chacha v0.3.1
Checking cypheraddr v0.4.0
Checking pbkdf2 v0.12.2
Compiling git-ref-format-macro v0.3.0
Checking ghash v0.5.1
Checking chacha20poly1305 v0.10.1
Checking aes v0.8.4
Checking ctr v0.9.2
Compiling thiserror-impl v2.0.12
Compiling crossbeam-utils v0.8.19
Checking aes-gcm v0.10.3
Checking git-ref-format v0.3.0
Checking noise-framework v0.4.0
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
Checking radicle-std-ext v0.1.0
Checking ssh-cipher v0.2.0
Checking bcrypt-pbkdf v0.10.0
Checking cyphernet v0.5.2
Checking signature v2.2.0
Checking ssh-key v0.6.6
Checking crossbeam-channel v0.5.15
Checking qcheck v1.0.0
Checking radicle-ssh v0.9.0 (/ed8606bd-6a52-4974-b83e-50dfeeb66a53/w/radicle-ssh)
Compiling num-traits v0.2.18
Checking equivalent v1.0.1
Compiling serde_json v1.0.116
Checking indexmap v2.2.6
Checking ryu v1.0.17
Checking tree-sitter-language v0.1.2
Checking siphasher v1.0.1
Checking nonempty v0.9.0
Compiling lock_api v0.4.11
Checking radicle-dag v0.10.0 (/ed8606bd-6a52-4974-b83e-50dfeeb66a53/w/radicle-dag)
Compiling parking_lot_core v0.9.9
Compiling anyhow v1.0.82
Checking lazy_static v1.5.0
Checking anstyle-query v1.0.2
Checking gix-trace v0.1.12
Checking scopeguard v1.2.0
Checking iana-time-zone v0.1.60
Checking chrono v0.4.38
Checking colored v2.1.0
Checking localtime v1.3.1
Checking bytesize v2.0.1
Checking utf8parse v0.2.1
Checking base64 v0.21.7
Checking anstyle-parse v0.2.3
Checking parking_lot v0.12.1
Checking faster-hex v0.9.0
Checking sem_safe v0.2.0
Checking errno v0.3.9
Checking anstyle v1.0.6
Checking colorchoice v1.0.0
Checking signals_receipts v0.2.0
Checking anstream v0.6.13
Checking gix-utils v0.1.14
Checking adler2 v2.0.0
Checking miniz_oxide v0.8.8
Checking snapbox-macros v0.3.8
Checking gix-hash v0.15.1
Checking same-file v1.0.6
Checking normalize-line-endings v0.3.0
Checking similar v2.5.0
Checking walkdir v2.5.0
Checking flate2 v1.1.1
Checking snapbox v0.4.17
Checking radicle-signals v0.11.0 (/ed8606bd-6a52-4974-b83e-50dfeeb66a53/w/radicle-signals)
Checking prodash v29.0.2
Compiling tree-sitter v0.24.4
Checking sha1_smol v1.0.0
Checking gix-features v0.39.1
Checking diff v0.1.13
Checking unicode-segmentation v1.11.0
Checking yansi v0.5.1
Checking numtoa v0.1.0
Checking pretty_assertions v1.4.0
Compiling xattr v1.3.1
Compiling filetime v0.2.23
Checking home v0.5.9
Compiling escargot v0.5.10
Checking lexopt v0.3.0
Checking gix-path v0.10.15
Compiling tar v0.4.40
Checking termion v2.0.3
Checking newline-converter v0.3.0
Checking fxhash v0.2.1
Checking regex v1.11.1
Checking streaming-iterator v0.1.9
Checking unicode-width v0.1.11
Checking dyn-clone v1.0.17
Checking inquire v0.7.5
Compiling radicle-surf v0.22.0
Checking termion v3.0.0
Checking unicode-display-width v0.3.0
Compiling tree-sitter-rust v0.23.2
Compiling tree-sitter-c v0.23.2
Compiling tree-sitter-css v0.23.1
Compiling tree-sitter-md v0.3.2
Compiling tree-sitter-toml-ng v0.6.0
Compiling tree-sitter-json v0.24.8
Compiling tree-sitter-ruby v0.23.1
Compiling tree-sitter-go v0.23.4
Compiling tree-sitter-html v0.23.2
Compiling tree-sitter-typescript v0.23.2
Compiling tree-sitter-python v0.23.4
Compiling tree-sitter-bash v0.23.3
Checking sqlite3-sys v0.15.2
Checking sqlite v0.32.0
Checking base64 v0.13.1
Checking nonempty v0.5.0
Compiling radicle-cli v0.12.1 (/ed8606bd-6a52-4974-b83e-50dfeeb66a53/w/radicle-cli)
Checking tree-sitter-highlight v0.24.4
Checking timeago v0.4.2
Checking jiff v0.2.1
Checking winnow v0.6.26
Checking gix-hashtable v0.6.0
Checking gix-validate v0.9.4
Checking memmap2 v0.9.4
Checking gix-chunk v0.4.11
Checking gix-commitgraph v0.25.1
Checking gix-fs v0.12.1
Checking gix-tempfile v15.0.0
Checking shell-words v1.1.0
Checking gix-command v0.4.1
Checking gix-lock v15.0.1
Checking gix-config-value v0.14.12
Checking gix-url v0.28.2
Checking gix-quote v0.4.15
Checking gix-sec v0.10.12
Checking gix-prompt v0.9.1
Checking gix-packetline v0.18.4
Checking gix-credentials v0.26.0
Checking gix-transport v0.44.0
Checking gix-shallow v0.1.0
Compiling maybe-async v0.2.10
Checking arc-swap v1.7.1
Checking popol v3.0.0
Checking either v1.11.0
Checking gix-date v0.9.4
Checking io-reactor v0.5.2
Checking gix-actor v0.33.2
Checking salsa20 v0.10.2
Checking socket2 v0.5.7
Checking gix-object v0.46.1
Checking siphasher v0.3.11
Compiling radicle-node v0.10.0 (/ed8606bd-6a52-4974-b83e-50dfeeb66a53/w/radicle-node)
Checking bloomy v1.2.0
Checking netservices v0.8.0
Checking scrypt v0.11.0
Checking radicle-systemd v0.9.0 (/ed8606bd-6a52-4974-b83e-50dfeeb66a53/w/radicle-systemd)
Compiling qcheck-macros v1.0.0
Checking gix-revwalk v0.17.0
Checking gix-diff v0.49.0
Checking gix-revision v0.31.1
Checking gix-traverse v0.43.1
Checking gix-refspec v0.27.0
Checking gix-pack v0.56.0
Checking gix-negotiate v0.17.0
Checking gix-ref v0.49.1
Compiling radicle-remote-helper v0.10.0 (/ed8606bd-6a52-4974-b83e-50dfeeb66a53/w/radicle-remote-helper)
Checking phf_shared v0.11.3
Checking phf v0.11.3
Checking gix-protocol v0.47.0
Checking emojis v0.6.4
Checking gix-odb v0.66.0
Checking git2 v0.19.0
Checking radicle-git-ext v0.8.0
Checking radicle-term v0.12.0 (/ed8606bd-6a52-4974-b83e-50dfeeb66a53/w/radicle-term)
Checking radicle-crypto v0.11.0 (/ed8606bd-6a52-4974-b83e-50dfeeb66a53/w/radicle-crypto)
Checking radicle-cob v0.13.0 (/ed8606bd-6a52-4974-b83e-50dfeeb66a53/w/radicle-cob)
Checking radicle-crdt v0.1.0 (/ed8606bd-6a52-4974-b83e-50dfeeb66a53/w/radicle-crdt)
Checking radicle v0.14.0 (/ed8606bd-6a52-4974-b83e-50dfeeb66a53/w/radicle)
Checking radicle-cli-test v0.10.0 (/ed8606bd-6a52-4974-b83e-50dfeeb66a53/w/radicle-cli-test)
Checking radicle-fetch v0.10.0 (/ed8606bd-6a52-4974-b83e-50dfeeb66a53/w/radicle-fetch)
Checking radicle-tools v0.9.0 (/ed8606bd-6a52-4974-b83e-50dfeeb66a53/w/radicle-tools)
Finished `dev` profile [unoptimized + debuginfo] target(s) in 41.71s
+ cargo build --all-targets --workspace
Compiling cfg-if v1.0.0
Compiling libc v0.2.155
Compiling shlex v1.3.0
Compiling memchr v2.7.2
Compiling typenum v1.17.0
Compiling regex-syntax v0.8.5
Compiling generic-array v0.14.7
Compiling jobserver v0.1.31
Compiling getrandom v0.2.15
Compiling aho-corasick v1.1.3
Compiling cc v1.2.2
Compiling rand_core v0.6.4
Compiling smallvec v1.13.2
Compiling serde v1.0.219
Compiling regex-automata v0.4.9
Compiling crypto-common v0.1.6
Compiling fastrand v2.1.0
Compiling log v0.4.21
Compiling bitflags v2.5.0
Compiling subtle v2.5.0
Compiling zerofrom v0.1.6
Compiling stable_deref_trait v1.2.0
Compiling once_cell v1.19.0
Compiling yoke v0.7.5
Compiling zeroize v1.7.0
Compiling zerovec v0.10.4
Compiling cpufeatures v0.2.12
Compiling tinyvec_macros v0.1.1
Compiling tinyvec v1.6.0
Compiling block-padding v0.3.3
Compiling writeable v0.5.5
Compiling litemap v0.7.5
Compiling tinystr v0.7.6
Compiling icu_locid v1.5.0
Compiling unicode-normalization v0.1.23
Compiling inout v0.1.3
Compiling block-buffer v0.10.4
Compiling adler2 v2.0.0
Compiling miniz_oxide v0.8.8
Compiling icu_provider v1.5.0
Compiling bstr v1.9.1
Compiling digest v0.10.7
Compiling cipher v0.4.4
Compiling icu_locid_transform_data v1.5.1
Compiling crc32fast v1.4.0
Compiling icu_locid_transform v1.5.0
Compiling icu_properties_data v1.5.1
Compiling icu_collections v1.5.0
Compiling icu_normalizer_data v1.5.1
Compiling utf16_iter v1.0.5
Compiling icu_properties v1.5.1
Compiling utf8_iter v1.0.4
Compiling write16 v1.0.0
Compiling thiserror v1.0.69
Compiling sha2 v0.10.8
Compiling linux-raw-sys v0.4.13
Compiling percent-encoding v2.3.1
Compiling itoa v1.0.11
Compiling hashbrown v0.14.3
Compiling form_urlencoded v1.2.1
Compiling rustix v0.38.34
Compiling universal-hash v0.5.1
Compiling opaque-debug v0.3.1
Compiling libz-sys v1.1.16
Compiling icu_normalizer v1.5.0
Compiling byteorder v1.5.0
Compiling idna_adapter v1.2.0
Compiling amplify_num v0.5.2
Compiling idna v1.0.3
Compiling ascii v1.1.0
Compiling url v2.5.4
Compiling signature v1.6.4
Compiling data-encoding v2.5.0
Compiling ed25519 v1.5.3
Compiling amplify v4.6.0
Compiling data-encoding-macro v0.1.14
Compiling tempfile v3.10.1
Compiling libgit2-sys v0.17.0+1.8.1
Compiling aead v0.5.2
Compiling base-x v0.2.11
Compiling ct-codecs v1.1.1
Compiling multibase v0.9.1
Compiling ec25519 v0.1.0
Compiling poly1305 v0.8.0
Compiling chacha20 v0.9.1
Compiling keccak v0.1.5
Compiling cyphergraphy v0.3.0
Compiling sha3 v0.10.8
Compiling polyval v0.6.2
Compiling git-ref-format-core v0.3.0
Compiling hmac v0.12.1
Compiling sqlite3-src v0.5.1
Compiling base64ct v1.6.0
Compiling base32 v0.4.0
Compiling ppv-lite86 v0.2.17
Compiling cypheraddr v0.4.0
Compiling rand_chacha v0.3.1
Compiling pem-rfc7468 v0.7.0
Compiling git-ref-format-macro v0.3.0
Compiling pbkdf2 v0.12.2
Compiling ghash v0.5.1
Compiling chacha20poly1305 v0.10.1
Compiling ctr v0.9.2
Compiling aes v0.8.4
Compiling thiserror v2.0.12
Compiling git-ref-format v0.3.0
Compiling noise-framework v0.4.0
Compiling aes-gcm v0.10.3
Compiling ssh-encoding v0.2.0
Compiling rand v0.8.5
Compiling socks5-client v0.4.1
Compiling blowfish v0.9.1
Compiling cbc v0.1.2
Compiling radicle-std-ext v0.1.0
Compiling ssh-cipher v0.2.0
Compiling bcrypt-pbkdf v0.10.0
Compiling cyphernet v0.5.2
Compiling crossbeam-utils v0.8.19
Compiling signature v2.2.0
Compiling ssh-key v0.6.6
Compiling crossbeam-channel v0.5.15
Compiling qcheck v1.0.0
Compiling radicle-ssh v0.9.0 (/ed8606bd-6a52-4974-b83e-50dfeeb66a53/w/radicle-ssh)
Compiling equivalent v1.0.1
Compiling indexmap v2.2.6
Compiling tree-sitter-language v0.1.2
Compiling ryu v1.0.17
Compiling num-traits v0.2.18
Compiling serde_json v1.0.116
Compiling siphasher v1.0.1
Compiling nonempty v0.9.0
Compiling radicle-dag v0.10.0 (/ed8606bd-6a52-4974-b83e-50dfeeb66a53/w/radicle-dag)
Compiling lazy_static v1.5.0
Compiling iana-time-zone v0.1.60
Compiling gix-trace v0.1.12
Compiling scopeguard v1.2.0
Compiling anstyle-query v1.0.2
Compiling lock_api v0.4.11
Compiling chrono v0.4.38
Compiling parking_lot_core v0.9.9
Compiling colored v2.1.0
Compiling bytesize v2.0.1
Compiling localtime v1.3.1
Compiling utf8parse v0.2.1
Compiling base64 v0.21.7
Compiling anstyle-parse v0.2.3
Compiling parking_lot v0.12.1
Compiling anyhow v1.0.82
Compiling faster-hex v0.9.0
Compiling errno v0.3.9
Compiling sem_safe v0.2.0
Compiling colorchoice v1.0.0
Compiling anstyle v1.0.6
Compiling signals_receipts v0.2.0
Compiling anstream v0.6.13
Compiling gix-utils v0.1.14
Compiling snapbox-macros v0.3.8
Compiling gix-hash v0.15.1
Compiling similar v2.5.0
Compiling same-file v1.0.6
Compiling normalize-line-endings v0.3.0
Compiling walkdir v2.5.0
Compiling snapbox v0.4.17
Compiling radicle-signals v0.11.0 (/ed8606bd-6a52-4974-b83e-50dfeeb66a53/w/radicle-signals)
Compiling prodash v29.0.2
Compiling flate2 v1.1.1
Compiling tree-sitter v0.24.4
Compiling sha1_smol v1.0.0
Compiling gix-features v0.39.1
Compiling yansi v0.5.1
Compiling numtoa v0.1.0
Compiling unicode-segmentation v1.11.0
Compiling diff v0.1.13
Compiling pretty_assertions v1.4.0
Compiling xattr v1.3.1
Compiling filetime v0.2.23
Compiling home v0.5.9
Compiling lexopt v0.3.0
Compiling gix-path v0.10.15
Compiling tar v0.4.40
Compiling newline-converter v0.3.0
Compiling termion v2.0.3
Compiling fxhash v0.2.1
Compiling regex v1.11.1
Compiling unicode-width v0.1.11
Compiling dyn-clone v1.0.17
Compiling streaming-iterator v0.1.9
Compiling inquire v0.7.5
Compiling radicle-surf v0.22.0
Compiling escargot v0.5.10
Compiling unicode-display-width v0.3.0
Compiling termion v3.0.0
Compiling tree-sitter-rust v0.23.2
Compiling tree-sitter-c v0.23.2
Compiling tree-sitter-css v0.23.1
Compiling tree-sitter-go v0.23.4
Compiling tree-sitter-python v0.23.4
Compiling tree-sitter-json v0.24.8
Compiling tree-sitter-md v0.3.2
Compiling tree-sitter-toml-ng v0.6.0
Compiling tree-sitter-html v0.23.2
Compiling tree-sitter-typescript v0.23.2
Compiling tree-sitter-ruby v0.23.1
Compiling tree-sitter-bash v0.23.3
Compiling sqlite3-sys v0.15.2
Compiling sqlite v0.32.0
Compiling radicle-cli v0.12.1 (/ed8606bd-6a52-4974-b83e-50dfeeb66a53/w/radicle-cli)
Compiling base64 v0.13.1
Compiling nonempty v0.5.0
Compiling tree-sitter-highlight v0.24.4
Compiling timeago v0.4.2
Compiling jiff v0.2.1
Compiling winnow v0.6.26
Compiling gix-hashtable v0.6.0
Compiling gix-validate v0.9.4
Compiling memmap2 v0.9.4
Compiling gix-chunk v0.4.11
Compiling gix-commitgraph v0.25.1
Compiling gix-fs v0.12.1
Compiling shell-words v1.1.0
Compiling gix-command v0.4.1
Compiling gix-tempfile v15.0.0
Compiling gix-url v0.28.2
Compiling gix-lock v15.0.1
Compiling gix-config-value v0.14.12
Compiling gix-quote v0.4.15
Compiling gix-sec v0.10.12
Compiling gix-prompt v0.9.1
Compiling gix-packetline v0.18.4
Compiling gix-date v0.9.4
Compiling gix-actor v0.33.2
Compiling gix-object v0.46.1
Compiling gix-transport v0.44.0
Compiling gix-revwalk v0.17.0
Compiling gix-revision v0.31.1
Compiling gix-traverse v0.43.1
Compiling gix-diff v0.49.0
Compiling gix-refspec v0.27.0
Compiling gix-negotiate v0.17.0
Compiling gix-pack v0.56.0
Compiling gix-ref v0.49.1
Compiling gix-credentials v0.26.0
Compiling gix-shallow v0.1.0
Compiling arc-swap v1.7.1
Compiling gix-odb v0.66.0
Compiling gix-protocol v0.47.0
Compiling popol v3.0.0
Compiling either v1.11.0
Compiling io-reactor v0.5.2
Compiling salsa20 v0.10.2
Compiling socket2 v0.5.7
Compiling radicle-node v0.10.0 (/ed8606bd-6a52-4974-b83e-50dfeeb66a53/w/radicle-node)
Compiling siphasher v0.3.11
Compiling bloomy v1.2.0
Compiling netservices v0.8.0
Compiling scrypt v0.11.0
Compiling radicle-systemd v0.9.0 (/ed8606bd-6a52-4974-b83e-50dfeeb66a53/w/radicle-systemd)
Compiling radicle-remote-helper v0.10.0 (/ed8606bd-6a52-4974-b83e-50dfeeb66a53/w/radicle-remote-helper)
Compiling phf_shared v0.11.3
Compiling phf v0.11.3
Compiling emojis v0.6.4
Compiling git2 v0.19.0
Compiling radicle-git-ext v0.8.0
Compiling radicle-term v0.12.0 (/ed8606bd-6a52-4974-b83e-50dfeeb66a53/w/radicle-term)
Compiling radicle-crypto v0.11.0 (/ed8606bd-6a52-4974-b83e-50dfeeb66a53/w/radicle-crypto)
Compiling radicle-cob v0.13.0 (/ed8606bd-6a52-4974-b83e-50dfeeb66a53/w/radicle-cob)
Compiling radicle-crdt v0.1.0 (/ed8606bd-6a52-4974-b83e-50dfeeb66a53/w/radicle-crdt)
Compiling radicle v0.14.0 (/ed8606bd-6a52-4974-b83e-50dfeeb66a53/w/radicle)
Compiling radicle-cli-test v0.10.0 (/ed8606bd-6a52-4974-b83e-50dfeeb66a53/w/radicle-cli-test)
Compiling radicle-fetch v0.10.0 (/ed8606bd-6a52-4974-b83e-50dfeeb66a53/w/radicle-fetch)
Compiling radicle-tools v0.9.0 (/ed8606bd-6a52-4974-b83e-50dfeeb66a53/w/radicle-tools)
Finished `dev` profile [unoptimized + debuginfo] target(s) in 1m 08s
+ cargo doc --workspace --no-deps
Compiling syn v1.0.109
Checking radicle-ssh v0.9.0 (/ed8606bd-6a52-4974-b83e-50dfeeb66a53/w/radicle-ssh)
Checking radicle-dag v0.10.0 (/ed8606bd-6a52-4974-b83e-50dfeeb66a53/w/radicle-dag)
Checking radicle-signals v0.11.0 (/ed8606bd-6a52-4974-b83e-50dfeeb66a53/w/radicle-signals)
Compiling radicle-cli v0.12.1 (/ed8606bd-6a52-4974-b83e-50dfeeb66a53/w/radicle-cli)
Checking radicle-term v0.12.0 (/ed8606bd-6a52-4974-b83e-50dfeeb66a53/w/radicle-term)
Compiling radicle-node v0.10.0 (/ed8606bd-6a52-4974-b83e-50dfeeb66a53/w/radicle-node)
Checking radicle-systemd v0.9.0 (/ed8606bd-6a52-4974-b83e-50dfeeb66a53/w/radicle-systemd)
Documenting radicle-term v0.12.0 (/ed8606bd-6a52-4974-b83e-50dfeeb66a53/w/radicle-term)
Documenting radicle-signals v0.11.0 (/ed8606bd-6a52-4974-b83e-50dfeeb66a53/w/radicle-signals)
Documenting radicle-ssh v0.9.0 (/ed8606bd-6a52-4974-b83e-50dfeeb66a53/w/radicle-ssh)
Documenting radicle-dag v0.10.0 (/ed8606bd-6a52-4974-b83e-50dfeeb66a53/w/radicle-dag)
Documenting radicle-systemd v0.9.0 (/ed8606bd-6a52-4974-b83e-50dfeeb66a53/w/radicle-systemd)
Compiling amplify_syn v2.0.1
Compiling proc-macro-error v1.0.4
Compiling data-encoding-macro-internal v0.1.12
Compiling amplify_derive v4.0.0
Compiling git-ref-format-macro v0.3.0
Checking git-ref-format v0.3.0
Checking data-encoding-macro v0.1.14
Checking radicle-git-ext v0.8.0
Checking multibase v0.9.1
Checking radicle-surf v0.22.0
Checking amplify v4.6.0
Checking cyphergraphy v0.3.0
Checking io-reactor v0.5.2
Checking cypheraddr v0.4.0
Checking noise-framework v0.4.0
Checking socks5-client v0.4.1
Checking cyphernet v0.5.2
Checking radicle-crypto v0.11.0 (/ed8606bd-6a52-4974-b83e-50dfeeb66a53/w/radicle-crypto)
Checking netservices v0.8.0
Documenting radicle-crypto v0.11.0 (/ed8606bd-6a52-4974-b83e-50dfeeb66a53/w/radicle-crypto)
Checking radicle-cob v0.13.0 (/ed8606bd-6a52-4974-b83e-50dfeeb66a53/w/radicle-cob)
Documenting radicle-cob v0.13.0 (/ed8606bd-6a52-4974-b83e-50dfeeb66a53/w/radicle-cob)
Documenting radicle-crdt v0.1.0 (/ed8606bd-6a52-4974-b83e-50dfeeb66a53/w/radicle-crdt)
Checking radicle v0.14.0 (/ed8606bd-6a52-4974-b83e-50dfeeb66a53/w/radicle)
Documenting radicle v0.14.0 (/ed8606bd-6a52-4974-b83e-50dfeeb66a53/w/radicle)
Checking radicle-cli-test v0.10.0 (/ed8606bd-6a52-4974-b83e-50dfeeb66a53/w/radicle-cli-test)
Checking radicle-fetch v0.10.0 (/ed8606bd-6a52-4974-b83e-50dfeeb66a53/w/radicle-fetch)
Documenting radicle-cli-test v0.10.0 (/ed8606bd-6a52-4974-b83e-50dfeeb66a53/w/radicle-cli-test)
Documenting radicle-fetch v0.10.0 (/ed8606bd-6a52-4974-b83e-50dfeeb66a53/w/radicle-fetch)
Documenting radicle-cli v0.12.1 (/ed8606bd-6a52-4974-b83e-50dfeeb66a53/w/radicle-cli)
Documenting radicle-node v0.10.0 (/ed8606bd-6a52-4974-b83e-50dfeeb66a53/w/radicle-node)
Documenting radicle-remote-helper v0.10.0 (/ed8606bd-6a52-4974-b83e-50dfeeb66a53/w/radicle-remote-helper)
Checking radicle-remote-helper v0.10.0 (/ed8606bd-6a52-4974-b83e-50dfeeb66a53/w/radicle-remote-helper)
Documenting radicle-tools v0.9.0 (/ed8606bd-6a52-4974-b83e-50dfeeb66a53/w/radicle-tools)
Finished `dev` profile [unoptimized + debuginfo] target(s) in 8.80s
Generated /ed8606bd-6a52-4974-b83e-50dfeeb66a53/w/target/doc/radicle/index.html and 22 other files
+ cargo test --workspace --no-fail-fast
Finished `test` profile [unoptimized + debuginfo] target(s) in 0.11s
Running unittests src/lib.rs (target/debug/deps/radicle-cbcedab996359b3f)
running 171 tests
test canonical::formatter::test::ascii_control_characters ... ok
test canonical::formatter::test::securesystemslib_asserts ... ok
test canonical::formatter::test::ordered_nested_object ... ok
test cob::cache::migrations::_2::tests::test_migration_2 ... ok
test cob::cache::tests::test_check_version ... ok
test cob::cache::tests::test_migrate_to ... ok
test cob::cache::migrations::_2::tests::test_patch_json_deserialization ... ok
test cob::common::test::test_color ... ok
test cob::common::test::test_emojis ... ok
test cob::identity::test::prop_json_eq_str ... ok
test cob::identity::test::test_identity_redact_revision ... ok
test cob::identity::test::test_identity_reject_concurrent ... ok
test cob::identity::test::test_identity_remove_delegate_concurrent ... ok
test cob::identity::test::test_identity_update_rejected ... ok
test cob::identity::test::test_identity_updates ... ok
test cob::issue::cache::tests::test_counts ... ok
test cob::issue::cache::tests::test_get ... ok
test cob::issue::cache::tests::test_is_empty ... ok
test cob::issue::cache::tests::test_list ... ok
test cob::issue::cache::tests::test_list_by_status ... ok
test cob::issue::cache::tests::test_remove ... ok
test cob::identity::test::test_valid_identity ... ok
test cob::issue::test::test_embeds ... ok
test cob::identity::test::test_identity_updates_concurrent ... ok
test cob::identity::test::test_identity_updates_concurrent_outdated ... ok
test cob::issue::test::test_embeds_edit ... ok
test cob::issue::test::test_invalid_actions ... ok
test cob::issue::test::test_invalid_tx ... ok
test cob::issue::test::test_invalid_tx_reference ... ok
test cob::issue::test::test_concurrency ... ok
test cob::issue::test::test_invalid_cob ... ok
test cob::issue::test::test_issue_all ... ok
test cob::issue::test::test_issue_create_and_assign ... ok
test cob::issue::test::test_issue_comment ... ok
test cob::issue::test::test_issue_comment_redact ... ok
test cob::issue::test::test_issue_create_and_get ... ok
test cob::issue::test::test_issue_create_and_change_state ... ok
test cob::issue::test::test_issue_create_and_reassign ... ok
test cob::issue::test::test_issue_create_and_unassign ... ok
test cob::issue::test::test_issue_edit ... ok
test cob::issue::test::test_issue_edit_description ... ok
test cob::issue::test::test_issue_multilines ... ok
test cob::issue::test::test_issue_state_serde ... ok
test cob::issue::test::test_ordering ... ok
test cob::issue::test::test_issue_label ... ok
test cob::issue::test::test_issue_react ... ok
test cob::issue::test::test_issue_reply ... ok
test cob::patch::cache::tests::test_is_empty ... ok
test cob::patch::cache::tests::test_get ... ok
test cob::patch::cache::tests::test_counts ... ok
test cob::patch::cache::tests::test_list ... ok
test cob::patch::test::test_json ... ok
test cob::patch::test::test_json_serialization ... ok
test cob::patch::test::test_patch_create_and_get ... ok
test cob::patch::cache::tests::test_remove ... ok
test cob::patch::cache::tests::test_list_by_status ... ok
test cob::patch::test::test_patch_merge ... ok
test cob::patch::test::test_patch_discussion ... ok
test cob::patch::test::test_patch_redact ... ok
test cob::patch::test::test_patch_review ... ok
test cob::patch::test::test_patch_review_comment ... ok
test cob::patch::test::test_patch_review_duplicate ... ok
test cob::patch::test::test_patch_review_edit ... ok
test cob::patch::test::test_patch_review_edit_comment ... ok
test cob::patch::test::test_patch_review_remove_summary ... ok
test cob::patch::test::test_reactions_json_serialization ... ok
test cob::patch::test::test_revision_edit_redact ... ok
test cob::patch::test::test_revision_reaction ... ok
test cob::patch::test::test_revision_review_merge_redacted ... ok
test cob::patch::test::test_patch_review_revision_redact ... ok
test cob::thread::tests::test_comment_edit_missing ... ok
test cob::thread::tests::test_comment_edit_redacted ... ok
test cob::thread::tests::test_comment_redact_missing ... ok
test cob::thread::tests::test_duplicate_comments ... ok
test cob::thread::tests::test_edit_comment ... ok
test cob::thread::tests::test_redact_comment ... ok
test cob::thread::tests::test_timeline ... ok
test cob::patch::test::test_patch_update ... ok
test git::canonical::tests::test_quorum ... ok
test git::canonical::tests::test_quorum_merges ... ok
test git::test::test_version_from_str ... ok
test git::test::test_version_ord ... ok
test identity::did::test::test_did_encode_decode ... ok
test identity::did::test::test_did_vectors ... ok
test identity::doc::id::test::prop_from_str ... ok
test cob::thread::tests::prop_ordering ... ok
test identity::doc::test::test_canonical_doc ... ok
test identity::doc::test::test_canonical_example ... ok
test identity::doc::test::test_duplicate_dids ... ok
test identity::doc::test::test_future_version_error ... ok
test identity::doc::test::test_is_valid_version ... ok
test git::canonical::tests::test_quorum_properties ... ok
test identity::doc::test::test_not_found ... ok
test identity::doc::test::test_parse_version ... ok
test identity::doc::test::test_visibility_json ... ok
test identity::project::test::test_project_name ... ok
test node::address::store::test::test_alias ... ok
test node::address::store::test::test_disconnected ... ok
test node::address::store::test::test_disconnected_ban ... ok
test node::address::store::test::test_empty ... ok
test node::address::store::test::test_entries ... ok
test node::address::store::test::test_get_none ... ok
test node::address::store::test::test_insert_and_get ... ok
test node::address::store::test::test_insert_and_remove ... ok
test node::address::store::test::test_insert_and_update ... ok
test node::address::store::test::test_insert_duplicate ... ok
test node::address::store::test::test_node_aliases ... ok
test node::address::store::test::test_remove_nothing ... ok
test node::db::test::test_version ... ok
test node::features::test::test_operations ... ok
test node::notifications::store::test::test_branch_notifications ... ok
test node::notifications::store::test::test_clear ... ok
test node::notifications::store::test::test_cob_notifications ... ok
test node::notifications::store::test::test_counts_by_repo ... ok
test node::notifications::store::test::test_duplicate_notifications ... ok
test node::notifications::store::test::test_notification_status ... ok
test node::policy::store::test::test_follow_and_unfollow_node ... ok
test node::policy::store::test::test_node_aliases ... ok
test node::policy::store::test::test_node_policies ... ok
test node::policy::store::test::test_node_policy ... ok
test node::policy::store::test::test_repo_policies ... ok
test node::policy::store::test::test_repo_policy ... ok
test node::policy::store::test::test_seed_and_unseed_repo ... ok
test node::policy::store::test::test_update_alias ... ok
test node::policy::store::test::test_update_scope ... ok
test node::refs::store::test::test_count ... ok
test node::refs::store::test::test_set_and_delete ... ok
test node::refs::store::test::test_set_and_get ... ok
test node::routing::test::test_count ... ok
test node::routing::test::test_entries ... ok
test node::routing::test::test_insert_and_get ... ok
test node::routing::test::test_insert_and_get_resources ... ok
test node::routing::test::test_insert_and_remove ... ok
test node::routing::test::test_insert_duplicate ... ok
test node::routing::test::test_insert_existing_updated_time ... ok
test node::routing::test::test_len ... ok
test node::routing::test::test_prune ... ok
test node::routing::test::test_remove_many ... ok
test node::routing::test::test_remove_redundant ... ok
test node::routing::test::test_update_existing_multi ... ok
test node::test::test_alias ... ok
test node::test::test_command_result ... ok
test node::test::test_user_agent ... ok
test node::timestamp::tests::test_timestamp_max ... ok
test profile::test::canonicalize_home ... ok
test profile::test::test_config ... ok
test identity::doc::test::test_max_delegates ... ok
test rad::tests::test_checkout ... ok
test rad::tests::test_fork ... ok
test serde_ext::test::test_localtime ... ok
test serde_ext::test::test_localtime_ext ... ok
test rad::tests::test_init ... ok
test storage::git::tests::test_references_of ... ok
test storage::git::tests::test_sign_refs ... ok
test storage::git::transport::local::url::test::test_url_parse ... ok
test storage::git::transport::local::url::test::test_url_to_string ... ok
test storage::git::transport::remote::url::test::test_url_parse ... ok
test storage::refs::tests::prop_canonical_roundtrip ... ok
test storage::git::tests::test_remote_refs ... ok
test storage::tests::test_storage ... ok
test test::assert::test::assert_with_message ... ok
test test::assert::test::test_assert_no_move ... ok
test test::assert::test::test_assert_panic_0 - should panic ... ok
test test::assert::test::test_assert_panic_1 - should panic ... ok
test test::assert::test::test_assert_panic_2 - should panic ... ok
test test::assert::test::test_assert_succeed ... ok
test test::assert::test::test_panic_message ... ok
test version::test::test_version ... ok
test cob::patch::cache::tests::test_find_by_revision ... ok
test storage::refs::tests::test_rid_verification ... ok
test identity::doc::test::prop_encode_decode ... ok
test result: ok. 171 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 2.57s
Running unittests src/lib.rs (target/debug/deps/radicle_cli-251748f5cc5248ac)
running 14 tests
test commands::rad_patch::review::builder::tests::test_review_comments_before ... ok
test commands::rad_patch::review::builder::tests::test_review_comments_basic ... ok
test commands::rad_inspect::test::test_tree ... ok
test commands::rad_patch::review::builder::tests::test_review_comments_multiline ... ok
test git::pretty_diff::test::test_pretty ... ignored
test commands::rad_patch::review::builder::tests::test_review_comments_split_hunk ... ok
test git::ddiff::tests::diff_encode_decode_ddiff_hunk ... ok
test terminal::format::test::test_bytes ... ok
test git::unified_diff::test::test_diff_encode_decode_diff ... ok
test git::unified_diff::test::test_diff_content_encode_decode_content ... ok
test terminal::format::test::test_strip_comments ... ok
test terminal::patch::test::test_edit_display_message ... ok
test terminal::patch::test::test_create_display_message ... ok
test terminal::patch::test::test_update_display_message ... ok
test result: ok. 13 passed; 0 failed; 1 ignored; 0 measured; 0 filtered out; finished in 0.01s
Running unittests src/main.rs (target/debug/deps/rad-01072814f956d8cf)
running 0 tests
test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s
Running tests/commands.rs (target/debug/deps/commands-e9a839806588f1b1)
running 96 tests
test framework_home ... ok
test git_push_amend ... ok
test git_push_and_fetch ... ok
test git_push_diverge ... ok
test rad_auth ... ok
test rad_auth_errors ... ok
test rad_block ... ok
test rad_checkout ... ok
test git_tag ... ok
test git_push_rollback ... ok
test rad_clone ... ok
test git_push_converge ... ok
test rad_clean ... ok
test rad_clone_all ... ok
test rad_clone_unknown ... ok
test rad_clone_directory ... ok
test rad_clone_connect ... ok
test rad_cob_multiset ... ok
test rad_cob_log ... ok
test rad_clone_partial_fail ... ok
test rad_cob_migrate ... ok
test rad_cob_show ... ok
test rad_cob_update_identity ... ok
test rad_config ... ok
test rad_cob_update ... ok
test rad_diff ... ok
test rad_id_collaboration ... ignored, slow
test rad_id ... ok
test rad_id_conflict ... ok
test rad_id_private ... ok
test rad_id_threshold ... ok
test rad_id_multi_delegate ... ok
test rad_id_unknown_field ... ok
test rad_id_update_delete_field ... ok
test rad_id_threshold_soft_fork ... ok
test rad_init ... ok
test rad_init_existing ... ok
test rad_init_no_git ... ok
test rad_init_no_seed ... ok
test rad_init_private ... ok
test rad_inbox ... ok
test rad_init_private_clone ... ok
test rad_init_private_no_seed ... ok
test rad_init_private_clone_seed ... ok
test rad_fetch ... ok
test rad_init_private_seed ... ok
test rad_fork ... ok
test rad_init_sync_not_connected ... ok
test rad_init_sync_preferred ... ok
test rad_init_with_existing_remote ... ok
test rad_inspect ... ok
test rad_issue ... ok
test rad_job ... ok
test rad_merge_after_update ... ok
test rad_merge_no_ff ... ok
test rad_merge_via_push ... ok
test rad_node_connect ... ok
test rad_patch ... ok
test rad_node ... ok
test rad_patch_ahead_behind ... ok
test rad_patch_change_base ... ok
test rad_patch_checkout ... ok
test rad_patch_checkout_revision ... ok
test rad_patch_checkout_force ... ok
test rad_patch_detached_head ... ok
test rad_patch_diff ... ok
test rad_patch_draft ... ok
test rad_init_sync_timeout ... ok
test rad_init_sync_and_clone ... ok
test rad_patch_edit ... ok
test rad_patch_fetch_2 ... ok
test rad_patch_merge_draft ... ok
test rad_patch_delete ... ok
test rad_patch_fetch_1 ... ok
test rad_patch_revert_merge ... ok
test rad_patch_update ... ok
test rad_patch_open_explore ... ok
test rad_publish ... ok
test rad_patch_via_push ... ok
test rad_review_by_hunk ... ok
test rad_seed_and_follow ... ok
test rad_remote ... ok
test rad_seed_many ... ok
test rad_self ... ok
test rad_sync_without_node ... ok
test rad_push_and_pull_patches ... ok
test rad_unseed ... ok
test rad_unseed_many ... ok
test rad_watch ... ok
test rad_sync ... ok
test test_clone_without_seeds ... ok
test test_cob_deletion ... ok
test test_cob_replication ... ok
test rad_workflow ... ok
test rad_patch_pull_update ... ok
test test_replication_via_seed ... ok
test result: ok. 95 passed; 0 failed; 1 ignored; 0 measured; 0 filtered out; finished in 69.62s
Running unittests src/lib.rs (target/debug/deps/radicle_cli_test-019416717c61773a)
running 3 tests
test tests::test_parse ... ok
test tests::test_run ... ok
test tests::test_example_spaced_brackets ... ok
test result: ok. 3 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s
Running unittests src/lib.rs (target/debug/deps/radicle_cob-51e2cb672c60c662)
running 8 tests
test object::tests::test_serde ... ok
test tests::invalid_parse_refstr ... ok
test tests::parse_refstr ... ok
test tests::roundtrip ... ok
test type_name::test::valid_typenames ... ok
test tests::traverse_cobs ... ok
test tests::list_cobs ... ok
test tests::update_cob ... ok
test result: ok. 8 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.02s
Running unittests src/lib.rs (target/debug/deps/radicle_crdt-7e149ccf4e56bbfc)
running 24 tests
test immutable::test::test_merge_equal ... ok
test immutable::test::test_merge_inequal - should panic ... ok
test lwwmap::tests::test_insert ... ok
test lwwmap::tests::test_insert_remove ... ok
test lwwmap::tests::test_is_empty ... ok
test lwwmap::tests::test_remove_insert ... ok
test lwwreg::tests::prop_semilattice ... ok
test lwwreg::tests::test_merge ... ok
test lwwreg::tests::test_set_get ... ok
test gset::tests::prop_semilattice ... ok
test lwwset::tests::test_insert ... ok
test lwwset::tests::test_insert_remove ... ok
test lwwset::tests::test_remove_insert ... ok
test redactable::test::prop_invariants ... ok
test redactable::test::test_both_present ... ok
test redactable::test::test_redacted ... ok
test test::test_generator ... ok
test tests::prop_bool_laws ... ok
test tests::prop_option_laws ... ok
test tests::test_bool ... ok
test tests::test_option ... ok
test lwwmap::tests::prop_semilattice ... ok
test gmap::tests::prop_semilattice ... ok
test lwwset::tests::prop_semilattice ... ok
test result: ok. 24 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.07s
Running unittests src/lib.rs (target/debug/deps/radicle_crypto-636ff488446c56b4)
running 12 tests
test ssh::fmt::test::test_fingerprint ... ok
test ssh::fmt::test::test_key ... ok
test ssh::keystore::tests::test_init_no_passphrase ... ok
test ssh::test::test_agent_encoding_remove ... ok
test ssh::test::test_agent_encoding_sign ... ok
test ssh::test::prop_encode_decode_sk ... ok
test tests::prop_encode_decode ... ok
test tests::test_e25519_dh ... ok
test tests::test_encode_decode ... ok
test tests::prop_key_equality ... ok
test ssh::keystore::tests::test_signer ... ok
test ssh::keystore::tests::test_init_passphrase ... ok
test result: ok. 12 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.83s
Running unittests src/lib.rs (target/debug/deps/radicle_dag-569b0a6854e86d64)
running 20 tests
test tests::test_cycle ... ok
test tests::test_dependencies ... ok
test tests::test_contains ... ok
test tests::test_complex ... ok
test tests::test_diamond ... ok
test tests::test_fold_diamond ... ok
test tests::test_fold_multiple_roots ... ok
test tests::test_fold_reject ... ok
test tests::test_fold_sorting_1 ... ok
test tests::test_fold_sorting_2 ... ok
test tests::test_get ... ok
test tests::test_is_empty ... ok
test tests::test_merge_1 ... ok
test tests::test_merge_2 ... ok
test tests::test_len ... ok
test tests::test_prune_1 ... ok
test tests::test_prune_2 ... ok
test tests::test_prune_by_sorting ... ok
test tests::test_remove ... ok
test tests::test_siblings ... ok
test result: ok. 20 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s
Running unittests src/lib.rs (target/debug/deps/radicle_fetch-05fcd46c986cb4cd)
running 0 tests
test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s
Running unittests src/lib.rs (target/debug/deps/radicle_node-a9151bc25a4f93b5)
running 113 tests
test deserializer::test::prop_decode_next ... ok
test deserializer::test::test_decode_next ... ok
test deserializer::test::test_unparsed ... ok
test service::filter::test::test_parameters ... ok
test control::tests::test_control_socket ... ok
test control::tests::test_seed_unseed ... ok
test service::limiter::test::test_limitter_different_rates ... ok
test service::limiter::test::test_limitter_multi ... ok
test service::limiter::test::test_limitter_refill ... ok
test service::gossip::store::test::test_announced ... ok
test service::filter::test::test_sizes ... ok
test service::message::tests::test_ref_remote_limit ... ok
test service::message::tests::test_inventory_limit ... ok
test service::message::tests::prop_refs_announcement_signing ... ok
test tests::e2e::missing_default_branch ... ok
test tests::e2e::missing_delegate_default_branch ... ok
test tests::e2e::test_background_foreground_fetch ... ok
test tests::e2e::test_channel_reader_limit ... ok
test tests::e2e::test_catchup_on_refs_announcements ... ok
test tests::e2e::test_clone ... ok
test service::message::tests::test_node_announcement_validate ... ok
test tests::e2e::test_dont_fetch_owned_refs ... ok
test tests::e2e::test_fetch_followed_remotes ... ok
test tests::e2e::test_connection_crossing ... FAILED
test tests::e2e::test_fetch_preserve_owned_refs ... ok
test tests::e2e::test_fetch_unseeded ... ok
test tests::e2e::test_concurrent_fetches ... ok
test tests::e2e::test_fetch_up_to_date ... ok
test tests::e2e::test_inventory_sync_basic ... ok
test tests::e2e::test_large_fetch ... ok
test tests::e2e::test_migrated_clone ... ok
test tests::e2e::test_missing_remote ... ok
test tests::e2e::test_multiple_offline_inits ... ok
test tests::e2e::test_non_fastforward_sigrefs ... ok
test tests::e2e::test_outdated_delegate_sigrefs ... ok
test tests::e2e::test_outdated_sigrefs ... ok
test tests::e2e::test_replication ... ok
test tests::e2e::test_replication_invalid ... ok
test tests::e2e::test_replication_ref_in_sigrefs ... ok
test tests::e2e::test_inventory_sync_bridge ... ok
test tests::e2e::test_inventory_sync_ring ... ok
test tests::e2e::test_inventory_sync_star ... ok
test tests::test_announcement_rebroadcast ... ok
test tests::test_announcement_rebroadcast_duplicates ... ok
test tests::test_announcement_rebroadcast_timestamp_filtered ... ok
test tests::test_announcement_relay ... ok
test tests::test_connection_kept_alive ... ok
test tests::test_disconnecting_unresponsive_peer ... ok
test tests::test_fetch_missing_inventory_on_gossip ... ok
test tests::test_fetch_missing_inventory_on_schedule ... ok
test tests::test_inbound_connection ... ok
test tests::test_inventory_decode ... ok
test tests::test_init_and_seed ... ok
test tests::test_inventory_relay ... ok
test tests::test_inventory_relay_bad_timestamp ... ok
test tests::test_inventory_sync ... ok
test tests::test_maintain_connections ... ok
test tests::test_maintain_connections_failed_attempt ... ok
test tests::test_maintain_connections_transient ... ok
test tests::test_inventory_pruning ... ok
test tests::test_outbound_connection ... ok
test tests::test_persistent_peer_connect ... ok
test tests::test_persistent_peer_reconnect_success ... ok
test tests::test_persistent_peer_reconnect_attempt ... ok
test tests::test_ping_response ... ok
test tests::test_queued_fetch_from_ann_same_rid ... ok
test tests::test_queued_fetch_from_command_same_rid ... ok
test tests::test_redundant_connect ... ok
test tests::test_queued_fetch_max_capacity ... ok
test tests::test_refs_announcement_followed ... ok
test tests::test_refs_announcement_fetch_trusted_no_inventory ... ok
test tests::test_refs_announcement_no_subscribe ... ok
test tests::test_refs_announcement_offline ... ok
test tests::test_refs_announcement_relay_private ... ok
test tests::test_refs_announcement_relay_public ... ok
test tests::test_refs_synced_event ... ok
test tests::test_seeding ... ok
test wire::frame::test::test_stream_id ... ok
test wire::message::tests::prop_addr ... ok
test tests::test_seed_repo_subscribe ... ok
test tests::prop_inventory_exchange_dense ... ok
test wire::message::tests::prop_message_encode_decode ... ok
test wire::message::tests::test_inv_ann_max_size ... ok
test wire::message::tests::test_node_ann_max_size ... ok
test wire::message::tests::test_pingpong_encode_max_size ... ok
test wire::message::tests::test_pingpong_encode_size_overflow ... ok
test wire::message::tests::prop_zero_bytes_encode_decode ... ok
test wire::protocol::test::test_inventory_ann_with_extension ... ok
test wire::protocol::test::test_pong_message_with_extension ... ok
test wire::tests::prop_filter ... ok
test wire::tests::prop_id ... ok
test wire::tests::prop_oid ... ok
test wire::tests::prop_pubkey ... ok
test wire::tests::prop_refs ... ok
test wire::tests::prop_signature ... ok
test wire::tests::prop_signed_refs ... ok
test wire::tests::prop_string ... ok
test wire::tests::prop_tuple ... ok
test wire::tests::prop_u16 ... ok
test wire::tests::prop_u32 ... ok
test wire::tests::prop_u64 ... ok
test wire::tests::prop_u8 ... ok
test wire::tests::prop_vec ... ok
test wire::tests::test_alias ... ok
test wire::tests::test_bounded_vec_limit ... ok
test wire::tests::test_filter_invalid ... ok
test wire::tests::test_string ... ok
test wire::varint::test::prop_encode_decode ... ok
test wire::varint::test::test_encode_overflow - should panic ... ok
test wire::varint::test::test_encoding ... ok
test wire::message::tests::test_refs_ann_max_size ... ok
test wire::message::tests::prop_message_decoder ... ok
test tests::test_announcement_message_amplification ... ok
failures:
---- tests::e2e::test_connection_crossing stdout ----
1788842802 test: Node::init alice: z6MkpCDNa5fQPKiorkG3TLy6NBJAbkEHp6Dq6Dhh9zZhWqJR
1788842802 test: Node::init bob: z6MkhSqkWVA3GmyrYP8fEkU42cJe57KTbEmYbEfcCVTWUmQy
1788842802 tests::e2e::test_connection_crossing node: Opening policy database..
1788842802 tests::e2e::test_connection_crossing node: Migrating COBs cache..
1788842802 tests::e2e::test_connection_crossing node: Migration of COBs cache complete (version=2)..
1788842802 tests::e2e::test_connection_crossing node: Default seeding policy set to 'block (all)'
1788842802 tests::e2e::test_connection_crossing node: Initializing service (Test)..
1788842802 tests::e2e::test_connection_crossing node: Opening node database..
1788842802 tests::e2e::test_connection_crossing node: Address book is empty. Adding bootstrap nodes..
1788842802 tests::e2e::test_connection_crossing node: 0 nodes added to address book
1788842802 tests::e2e::test_connection_crossing service: Init @1788842802850
1788842802 tests::e2e::test_connection_crossing service: Empty refs database, populating from storage..
1788842802 tests::e2e::test_connection_crossing service: Not enough available peers to connect to (available=0, wanted=8)
1788842802 z6MkpCDNa5fQPKiorkG3TLy6NBJAbkEHp6Dq6Dhh9zZhWqJR <service> node: Listening on 0.0.0.0:45679..
1788842802 tests::e2e::test_connection_crossing node: Binding control socket /tmp/.tmpITeTO0/Ldbdj5p1/node/control.sock..
1788842802 tests::e2e::test_connection_crossing node: Opening policy database..
1788842802 z6MkpCDNa5fQPKiorkG3TLy6NBJAbkEHp6Dq6Dhh9zZhWqJR <runtime> node: Running node z6MkpCDNa5fQPKiorkG3TLy6NBJAbkEHp6Dq6Dhh9zZhWqJR in /tmp/.tmpITeTO0/Ldbdj5p1..
1788842802 z6MkpCDNa5fQPKiorkG3TLy6NBJAbkEHp6Dq6Dhh9zZhWqJR <control> control: Control thread listening on socket..
1788842802 z6MkpCDNa5fQPKiorkG3TLy6NBJAbkEHp6Dq6Dhh9zZhWqJR <service> service: Received command QueryState(..)
1788842802 z6MkpCDNa5fQPKiorkG3TLy6NBJAbkEHp6Dq6Dhh9zZhWqJR <signals> node: Signal notifications channel error: receiving on an empty and disconnected channel
1788842802 tests::e2e::test_connection_crossing node: Migrating COBs cache..
1788842802 tests::e2e::test_connection_crossing node: Migration of COBs cache complete (version=2)..
1788842802 tests::e2e::test_connection_crossing node: Default seeding policy set to 'block (all)'
1788842802 tests::e2e::test_connection_crossing node: Initializing service (Test)..
1788842802 tests::e2e::test_connection_crossing node: Opening node database..
1788842802 tests::e2e::test_connection_crossing node: Address book is empty. Adding bootstrap nodes..
1788842802 tests::e2e::test_connection_crossing node: 0 nodes added to address book
1788842802 tests::e2e::test_connection_crossing service: Init @1788842802884
1788842802 tests::e2e::test_connection_crossing service: Empty refs database, populating from storage..
1788842802 tests::e2e::test_connection_crossing service: Not enough available peers to connect to (available=0, wanted=8)
1788842802 z6MkhSqkWVA3GmyrYP8fEkU42cJe57KTbEmYbEfcCVTWUmQy <service> node: Listening on 0.0.0.0:41755..
1788842802 tests::e2e::test_connection_crossing node: Binding control socket /tmp/.tmpITeTO0/tetiqHAd/node/control.sock..
1788842802 z6MkhSqkWVA3GmyrYP8fEkU42cJe57KTbEmYbEfcCVTWUmQy <runtime> node: Running node z6MkhSqkWVA3GmyrYP8fEkU42cJe57KTbEmYbEfcCVTWUmQy in /tmp/.tmpITeTO0/tetiqHAd..
1788842802 test: Preferred peer is z6MkpCDNa5fQPKiorkG3TLy6NBJAbkEHp6Dq6Dhh9zZhWqJR
1788842802 z6MkhSqkWVA3GmyrYP8fEkU42cJe57KTbEmYbEfcCVTWUmQy <control> control: Control thread listening on socket..
1788842802 z6MkhSqkWVA3GmyrYP8fEkU42cJe57KTbEmYbEfcCVTWUmQy <service> service: Received command QueryState(..)
1788842802 z6MkhSqkWVA3GmyrYP8fEkU42cJe57KTbEmYbEfcCVTWUmQy <service> service: Received command QueryState(..)
1788842802 z6MkhSqkWVA3GmyrYP8fEkU42cJe57KTbEmYbEfcCVTWUmQy <service> service: Received command Connect(z6MkpCDNa5fQPKiorkG3TLy6NBJAbkEHp6Dq6Dhh9zZhWqJR, 0.0.0.0:45679, ConnectOptions { persistent: false, timeout: 30s })
1788842802 z6MkhSqkWVA3GmyrYP8fEkU42cJe57KTbEmYbEfcCVTWUmQy <service> service: Connecting to z6MkpCDNa5fQPKiorkG3TLy6NBJAbkEHp6Dq6Dhh9zZhWqJR (0.0.0.0:45679)..
1788842802 z6MkhSqkWVA3GmyrYP8fEkU42cJe57KTbEmYbEfcCVTWUmQy <service> service: Attempted connection to z6MkpCDNa5fQPKiorkG3TLy6NBJAbkEHp6Dq6Dhh9zZhWqJR (0.0.0.0:45679)
1788842802 z6MkpCDNa5fQPKiorkG3TLy6NBJAbkEHp6Dq6Dhh9zZhWqJR <service> wire: Inbound connection from 127.0.0.1:37762 (fd=87)..
1788842802 z6MkhSqkWVA3GmyrYP8fEkU42cJe57KTbEmYbEfcCVTWUmQy <service> wire: Registering outbound transport for z6MkpCDNa5fQPKiorkG3TLy6NBJAbkEHp6Dq6Dhh9zZhWqJR (fd=86)..
1788842802 z6MkhSqkWVA3GmyrYP8fEkU42cJe57KTbEmYbEfcCVTWUmQy <service> wire: Outbound peer resource registered for z6MkpCDNa5fQPKiorkG3TLy6NBJAbkEHp6Dq6Dhh9zZhWqJR with id=2 (fd=86)
1788842802 z6MkpCDNa5fQPKiorkG3TLy6NBJAbkEHp6Dq6Dhh9zZhWqJR <service> wire: Accepted inbound connection from 127.0.0.1:37762 (fd=87)..
1788842802 z6MkpCDNa5fQPKiorkG3TLy6NBJAbkEHp6Dq6Dhh9zZhWqJR <service> wire: Inbound peer resource registered with id=2 (fd=87)
1788842802 z6MkhSqkWVA3GmyrYP8fEkU42cJe57KTbEmYbEfcCVTWUmQy <signals> node: Signal notifications channel error: receiving on an empty and disconnected channel
1788842802 z6MkpCDNa5fQPKiorkG3TLy6NBJAbkEHp6Dq6Dhh9zZhWqJR <service> service: Received command QueryState(..)
1788842802 z6MkhSqkWVA3GmyrYP8fEkU42cJe57KTbEmYbEfcCVTWUmQy <service> wire: Session established with z6MkpCDNa5fQPKiorkG3TLy6NBJAbkEHp6Dq6Dhh9zZhWqJR (id=2) (fd=86) (outbound)
1788842802 z6MkhSqkWVA3GmyrYP8fEkU42cJe57KTbEmYbEfcCVTWUmQy <service> service: Connected to z6MkpCDNa5fQPKiorkG3TLy6NBJAbkEHp6Dq6Dhh9zZhWqJR (0.0.0.0:45679) (Outbound)
1788842802 z6MkhSqkWVA3GmyrYP8fEkU42cJe57KTbEmYbEfcCVTWUmQy <service> service: Subscribing to messages since timestamp 1788756402918..
1788842802 z6MkpCDNa5fQPKiorkG3TLy6NBJAbkEHp6Dq6Dhh9zZhWqJR <service> wire: Session established with z6MkhSqkWVA3GmyrYP8fEkU42cJe57KTbEmYbEfcCVTWUmQy (id=2) (fd=87) (inbound)
1788842802 z6MkpCDNa5fQPKiorkG3TLy6NBJAbkEHp6Dq6Dhh9zZhWqJR <service> service: Connected to z6MkhSqkWVA3GmyrYP8fEkU42cJe57KTbEmYbEfcCVTWUmQy (127.0.0.1:37762) (Inbound)
1788842802 z6MkpCDNa5fQPKiorkG3TLy6NBJAbkEHp6Dq6Dhh9zZhWqJR <service> service: Subscribing to messages since timestamp 1788756402920..
1788842802 z6MkpCDNa5fQPKiorkG3TLy6NBJAbkEHp6Dq6Dhh9zZhWqJR <service> service: Received command Connect(z6MkhSqkWVA3GmyrYP8fEkU42cJe57KTbEmYbEfcCVTWUmQy, 0.0.0.0:41755, ConnectOptions { persistent: false, timeout: 30s })
1788842802 z6MkpCDNa5fQPKiorkG3TLy6NBJAbkEHp6Dq6Dhh9zZhWqJR <service> service: Connecting to z6MkhSqkWVA3GmyrYP8fEkU42cJe57KTbEmYbEfcCVTWUmQy (0.0.0.0:41755)..
1788842802 z6MkpCDNa5fQPKiorkG3TLy6NBJAbkEHp6Dq6Dhh9zZhWqJR <service> service: Attempted connection to peer z6MkhSqkWVA3GmyrYP8fEkU42cJe57KTbEmYbEfcCVTWUmQy which already has a session
1788842802 z6MkhSqkWVA3GmyrYP8fEkU42cJe57KTbEmYbEfcCVTWUmQy <service> service: Received node announcement of z6MkpCDNa5fQPKiorkG3TLy6NBJAbkEHp6Dq6Dhh9zZhWqJR with 0 address(es) from z6MkpCDNa5fQPKiorkG3TLy6NBJAbkEHp6Dq6Dhh9zZhWqJR (t=1788842802850)
1788842802 z6MkpCDNa5fQPKiorkG3TLy6NBJAbkEHp6Dq6Dhh9zZhWqJR <service> service: Received node announcement of z6MkhSqkWVA3GmyrYP8fEkU42cJe57KTbEmYbEfcCVTWUmQy with 0 address(es) from z6MkhSqkWVA3GmyrYP8fEkU42cJe57KTbEmYbEfcCVTWUmQy (t=1788842802884)
1788842802 z6MkhSqkWVA3GmyrYP8fEkU42cJe57KTbEmYbEfcCVTWUmQy <service> service: Stored announcement from z6MkpCDNa5fQPKiorkG3TLy6NBJAbkEHp6Dq6Dhh9zZhWqJR to be broadcast in 0 millisecond(s) (t=1788842802850)
1788842802 z6MkpCDNa5fQPKiorkG3TLy6NBJAbkEHp6Dq6Dhh9zZhWqJR <service> service: Stored announcement from z6MkhSqkWVA3GmyrYP8fEkU42cJe57KTbEmYbEfcCVTWUmQy to be broadcast in 0 millisecond(s) (t=1788842802884)
1788842802 z6MkhSqkWVA3GmyrYP8fEkU42cJe57KTbEmYbEfcCVTWUmQy <service> service: Address store entry for node z6MkpCDNa5fQPKiorkG3TLy6NBJAbkEHp6Dq6Dhh9zZhWqJR updated at 1788842802850
1788842802 z6MkhSqkWVA3GmyrYP8fEkU42cJe57KTbEmYbEfcCVTWUmQy <service> service: Received inventory announcement of z6MkpCDNa5fQPKiorkG3TLy6NBJAbkEHp6Dq6Dhh9zZhWqJR with 0 item(s) from z6MkpCDNa5fQPKiorkG3TLy6NBJAbkEHp6Dq6Dhh9zZhWqJR (t=1788842802851)
1788842802 z6MkpCDNa5fQPKiorkG3TLy6NBJAbkEHp6Dq6Dhh9zZhWqJR <service> service: Address store entry for node z6MkhSqkWVA3GmyrYP8fEkU42cJe57KTbEmYbEfcCVTWUmQy updated at 1788842802884
1788842802 z6MkpCDNa5fQPKiorkG3TLy6NBJAbkEHp6Dq6Dhh9zZhWqJR <service> service: Received inventory announcement of z6MkhSqkWVA3GmyrYP8fEkU42cJe57KTbEmYbEfcCVTWUmQy with 0 item(s) from z6MkhSqkWVA3GmyrYP8fEkU42cJe57KTbEmYbEfcCVTWUmQy (t=1788842802885)
1788842802 z6MkpCDNa5fQPKiorkG3TLy6NBJAbkEHp6Dq6Dhh9zZhWqJR <service> service: Stored announcement from z6MkhSqkWVA3GmyrYP8fEkU42cJe57KTbEmYbEfcCVTWUmQy to be broadcast in 0 millisecond(s) (t=1788842802885)
1788842802 z6MkpCDNa5fQPKiorkG3TLy6NBJAbkEHp6Dq6Dhh9zZhWqJR <service> service: Received subscription filter from z6MkhSqkWVA3GmyrYP8fEkU42cJe57KTbEmYbEfcCVTWUmQy
1788842802 z6MkhSqkWVA3GmyrYP8fEkU42cJe57KTbEmYbEfcCVTWUmQy <service> service: Stored announcement from z6MkpCDNa5fQPKiorkG3TLy6NBJAbkEHp6Dq6Dhh9zZhWqJR to be broadcast in 0 millisecond(s) (t=1788842802851)
1788842802 z6MkhSqkWVA3GmyrYP8fEkU42cJe57KTbEmYbEfcCVTWUmQy <service> service: Received subscription filter from z6MkpCDNa5fQPKiorkG3TLy6NBJAbkEHp6Dq6Dhh9zZhWqJR
1788842803 z6MkpCDNa5fQPKiorkG3TLy6NBJAbkEHp6Dq6Dhh9zZhWqJR <service> service: Received command QueryState(..)
1788842803 z6MkhSqkWVA3GmyrYP8fEkU42cJe57KTbEmYbEfcCVTWUmQy <service> service: Received command QueryState(..)
1788842803 z6MkpCDNa5fQPKiorkG3TLy6NBJAbkEHp6Dq6Dhh9zZhWqJR <service> service: Received command QueryState(..)
1788842803 test: Ok([Session { nid: PublicKey(z6MkhSqkWVA3GmyrYP8fEkU42cJe57KTbEmYbEfcCVTWUmQy), link: Inbound, addr: Address(NetAddr { host: Ip(127.0.0.1), port: 37762 }), state: Connected { since: LocalTime { millis: 1788842802920 }, ping: None, fetching: {}, latencies: [], stable: false } }])
1788842803 z6MkhSqkWVA3GmyrYP8fEkU42cJe57KTbEmYbEfcCVTWUmQy <service> service: Received command QueryState(..)
1788842803 test: Ok([Session { nid: PublicKey(z6MkpCDNa5fQPKiorkG3TLy6NBJAbkEHp6Dq6Dhh9zZhWqJR), link: Outbound, addr: Address(NetAddr { host: Ip(0.0.0.0), port: 45679 }), state: Connected { since: LocalTime { millis: 1788842802918 }, ping: None, fetching: {}, latencies: [], stable: false } }])
thread 'tests::e2e::test_connection_crossing' panicked at radicle-node/src/tests/e2e.rs:856:9:
assertion `left == right` failed
left: Inbound
right: Outbound
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
1788842803 test: Node z6MkhSqkWVA3GmyrYP8fEkU42cJe57KTbEmYbEfcCVTWUmQy shutting down..
1788842803 z6MkhSqkWVA3GmyrYP8fEkU42cJe57KTbEmYbEfcCVTWUmQy <control> control: Received `{"command":"shutdown"}` on control socket
1788842803 z6MkhSqkWVA3GmyrYP8fEkU42cJe57KTbEmYbEfcCVTWUmQy <control> control: Shutdown requested..
1788842803 z6MkpCDNa5fQPKiorkG3TLy6NBJAbkEHp6Dq6Dhh9zZhWqJR <service> wire: Disconnecting peer with id=2: connection reset
1788842803 z6MkpCDNa5fQPKiorkG3TLy6NBJAbkEHp6Dq6Dhh9zZhWqJR <service> wire: Transport handover for disconnecting peer with id=2 (fd=87)
1788842803 z6MkpCDNa5fQPKiorkG3TLy6NBJAbkEHp6Dq6Dhh9zZhWqJR <service> service: Disconnected from z6MkhSqkWVA3GmyrYP8fEkU42cJe57KTbEmYbEfcCVTWUmQy (connection reset)
1788842803 z6MkpCDNa5fQPKiorkG3TLy6NBJAbkEHp6Dq6Dhh9zZhWqJR <service> service: Dropping peer z6MkhSqkWVA3GmyrYP8fEkU42cJe57KTbEmYbEfcCVTWUmQy..
1788842803 z6MkhSqkWVA3GmyrYP8fEkU42cJe57KTbEmYbEfcCVTWUmQy <runtime> pool: Worker pool shutting down..
1788842803 z6MkhSqkWVA3GmyrYP8fEkU42cJe57KTbEmYbEfcCVTWUmQy <runtime> node: Node shutdown completed for z6MkhSqkWVA3GmyrYP8fEkU42cJe57KTbEmYbEfcCVTWUmQy
1788842803 test: Node z6MkpCDNa5fQPKiorkG3TLy6NBJAbkEHp6Dq6Dhh9zZhWqJR shutting down..
1788842803 z6MkpCDNa5fQPKiorkG3TLy6NBJAbkEHp6Dq6Dhh9zZhWqJR <control> control: Received `{"command":"shutdown"}` on control socket
1788842803 z6MkpCDNa5fQPKiorkG3TLy6NBJAbkEHp6Dq6Dhh9zZhWqJR <control> control: Shutdown requested..
1788842803 z6MkpCDNa5fQPKiorkG3TLy6NBJAbkEHp6Dq6Dhh9zZhWqJR <runtime> pool: Worker pool shutting down..
1788842803 z6MkpCDNa5fQPKiorkG3TLy6NBJAbkEHp6Dq6Dhh9zZhWqJR <runtime> node: Node shutdown completed for z6MkpCDNa5fQPKiorkG3TLy6NBJAbkEHp6Dq6Dhh9zZhWqJR
failures:
tests::e2e::test_connection_crossing
test result: FAILED. 112 passed; 1 failed; 0 ignored; 0 measured; 0 filtered out; finished in 16.64s
error: test failed, to rerun pass `-p radicle-node --lib`
Running unittests src/main.rs (target/debug/deps/radicle_node-4820984cdb5701fb)
running 0 tests
test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s
Running unittests src/lib.rs (target/debug/deps/radicle_remote_helper-ec4b110573be437b)
running 0 tests
test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s
Running unittests src/git-remote-rad.rs (target/debug/deps/git_remote_rad-6e1e6e7941f73781)
running 0 tests
test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s
Running unittests src/lib.rs (target/debug/deps/radicle_signals-85fbd454a3bf0ac6)
running 0 tests
test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s
Running unittests src/lib.rs (target/debug/deps/radicle_ssh-9b2e5dfee304f504)
running 0 tests
test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s
Running unittests src/lib.rs (target/debug/deps/radicle_systemd-1b4159ebc8f1d2b1)
running 0 tests
test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s
Running unittests src/lib.rs (target/debug/deps/radicle_term-96f7925768df62cb)
running 20 tests
test ansi::tests::colors_disabled ... ok
test cell::test::test_width ... ok
test ansi::tests::wrapping ... ok
test ansi::tests::colors_enabled ... ok
test element::test::test_width ... ok
test element::test::test_truncate ... ok
test table::test::test_table ... ok
test table::test::test_table_border ... ok
test table::test::test_table_border_maximized ... ok
test table::test::test_table_border_truncated ... ok
test table::test::test_table_truncate ... ok
test table::test::test_table_unicode ... ok
test table::test::test_table_unicode_truncate ... ok
test table::test::test_truncate ... ok
test textarea::test::test_wrapping ... ok
test textarea::test::test_wrapping_code_block ... ok
test textarea::test::test_wrapping_fenced_block ... ok
test vstack::test::test_vstack_maximize ... ok
test vstack::test::test_vstack ... ok
test textarea::test::test_wrapping_paragraphs ... ok
test result: ok. 20 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s
Running unittests src/rad-agent.rs (target/debug/deps/rad_agent-ebde29902276e4db)
running 0 tests
test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s
Running unittests src/rad-cli-demo.rs (target/debug/deps/rad_cli_demo-b4888d9c25fd0e5a)
running 0 tests
test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s
Running unittests src/rad-init.rs (target/debug/deps/rad_init-247a667ed33dcb00)
running 0 tests
test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s
Running unittests src/rad-merge.rs (target/debug/deps/rad_merge-02c7555617034abf)
running 0 tests
test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s
Running unittests src/rad-push.rs (target/debug/deps/rad_push-3ff35bc35af21c62)
running 0 tests
test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s
Running unittests src/rad-self.rs (target/debug/deps/rad_self-b8e8c77c09a2ee71)
running 0 tests
test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s
Running unittests src/rad-set-canonical-refs.rs (target/debug/deps/rad_set_canonical_refs-81969bf711bec567)
running 0 tests
test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s
Doc-tests radicle
running 0 tests
test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s
Doc-tests radicle_cli
running 0 tests
test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s
Doc-tests radicle_cli_test
running 0 tests
test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s
Doc-tests radicle_cob
running 1 test
test radicle-cob/src/backend/git/stable.rs - backend::git::stable::with_advanced_timestamp (line 56) ... ignored
test result: ok. 0 passed; 0 failed; 1 ignored; 0 measured; 0 filtered out; finished in 0.00s
Doc-tests radicle_crdt
running 0 tests
test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s
Doc-tests radicle_crypto
running 0 tests
test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s
Doc-tests radicle_dag
running 0 tests
test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s
Doc-tests radicle_fetch
running 0 tests
test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s
Doc-tests radicle_node
running 6 tests
test radicle-node/src/bounded.rs - bounded::BoundedVec<T,N>::truncate (line 50) ... ok
test radicle-node/src/bounded.rs - bounded::BoundedVec<T,N>::max (line 96) ... ok
test radicle-node/src/bounded.rs - bounded::BoundedVec<T,N>::collect_from (line 30) ... ok
test radicle-node/src/bounded.rs - bounded::BoundedVec<T,N>::push (line 122) ... ok
test radicle-node/src/bounded.rs - bounded::BoundedVec<T,N>::unbound (line 149) ... ok
test radicle-node/src/bounded.rs - bounded::BoundedVec<T,N>::with_capacity (line 66) ... ok
test result: ok. 6 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.52s
Doc-tests radicle_remote_helper
running 0 tests
test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s
Doc-tests radicle_signals
running 0 tests
test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s
Doc-tests radicle_ssh
running 0 tests
test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s
Doc-tests radicle_systemd
running 0 tests
test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s
Doc-tests radicle_term
running 1 test
test radicle-term/src/table.rs - table (line 4) ... ok
test result: ok. 1 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.37s
error: 1 target failed:
`-p radicle-node --lib`
Exit code: 101
{
"response": "finished",
"result": "failure"
}