rad:z3gqcJUoA1n9HaHKufZs5FCSGazv5 heartwoodde2d2ddd0e6ff09fcc9c6802c0419e6be90655d1
{
"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": "05e0323cdd678482893eea191e628ea1717f48d2",
"author": {
"id": "did:key:z6MkireRatUThvd3qzfKht1S44wpm4FEWSSa4PRMTSQZ3voM",
"alias": null
},
"title": "[WIP] radicle-job",
"state": {
"status": "archived",
"conflicts": []
},
"before": "3b5fac178eaf9bca639fbd0c1df0c68619a7f51f",
"after": "de2d2ddd0e6ff09fcc9c6802c0419e6be90655d1",
"commits": [
"de2d2ddd0e6ff09fcc9c6802c0419e6be90655d1",
"c5c668642b4c8f5af8f23a59679fbb9260956ad7"
],
"target": "919d5c780c4da0b5b9f18f1549bc59dffd7125af",
"labels": [],
"assignees": [],
"revisions": [
{
"id": "05e0323cdd678482893eea191e628ea1717f48d2",
"author": {
"id": "did:key:z6MkireRatUThvd3qzfKht1S44wpm4FEWSSa4PRMTSQZ3voM",
"alias": null
},
"description": "I wanted to put together a draft of what I think a Job COB could look like, that\nallows nodes to collaborate on running jobs for a given commit.\n\nThe basic idea is that `Job` is for a single commit (`Oid`), and any node in the\nnetwork can commit to running the job for that entry.\n\nEach node can run that job as many times as it wants, as long as it provides a\nUUID for that run, so we can uniquely identify a new run.\n\nNodes can only say they've started and say they finished, giving success or\nfailure as the reason.\n\nThe only bit of extra information is that a `Run` holds a `log: Url` to point\nto.\n\nI believe this should be minimal enough for our use cases:\n- Reference updates can be listened for to see if there are new requests, and\n the node can have its own list of whom it wants to run jobs for\n- A user can list jobs and their history\n- We can see if things have failed or succeeded\n- We have a URL to follow for accessing logs or artifacts",
"base": "3b5fac178eaf9bca639fbd0c1df0c68619a7f51f",
"oid": "de2d2ddd0e6ff09fcc9c6802c0419e6be90655d1",
"timestamp": 1739466760
}
]
}
}
{
"response": "triggered",
"run_id": {
"id": "e5a7e7ea-8c38-4137-af2e-2acf17be188e"
},
"info_url": "https://cci.rad.levitte.org//e5a7e7ea-8c38-4137-af2e-2acf17be188e.html"
}
Started at: 2026-09-07 18:26:00.718578+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/e5a7e7ea-8c38-4137-af2e-2acf17be188e/w/
╭────────────────────────────────────╮
│ heartwood │
│ Radicle Heartwood Protocol & Stack │
│ 189 issues · 37 patches │
╰────────────────────────────────────╯
Run `cd ./.` to go to the repository directory.
Exit code: 0
$ rad patch checkout 05e0323cdd678482893eea191e628ea1717f48d2
✓ Switched to branch patch/05e0323 at revision 05e0323
✓ Branch patch/05e0323 setup to track rad/patches/05e0323cdd678482893eea191e628ea1717f48d2
Exit code: 0
$ git config advice.detachedHead false
Exit code: 0
$ git checkout de2d2ddd0e6ff09fcc9c6802c0419e6be90655d1
HEAD is now at de2d2ddd [WIP] radicle-job
Exit code: 0
$ rad patch show 05e0323cdd678482893eea191e628ea1717f48d2 -p
╭──────────────────────────────────────────────────────────────────────────────────╮
│ Title [WIP] radicle-job │
│ Patch 05e0323cdd678482893eea191e628ea1717f48d2 │
│ Author fintohaps z6Mkire…SQZ3voM │
│ Head de2d2ddd0e6ff09fcc9c6802c0419e6be90655d1 │
│ Base 3b5fac178eaf9bca639fbd0c1df0c68619a7f51f │
│ Target master │
│ Branches patch/05e0323 │
│ Commits ahead 2, behind 1111 │
│ Status archived │
│ │
│ I wanted to put together a draft of what I think a Job COB could look like, that │
│ allows nodes to collaborate on running jobs for a given commit. │
│ │
│ The basic idea is that `Job` is for a single commit (`Oid`), and any node in the │
│ network can commit to running the job for that entry. │
│ │
│ Each node can run that job as many times as it wants, as long as it provides a │
│ UUID for that run, so we can uniquely identify a new run. │
│ │
│ Nodes can only say they've started and say they finished, giving success or │
│ failure as the reason. │
│ │
│ The only bit of extra information is that a `Run` holds a `log: Url` to point │
│ to. │
│ │
│ I believe this should be minimal enough for our use cases: │
│ - Reference updates can be listened for to see if there are new requests, and │
│ the node can have its own list of whom it wants to run jobs for │
│ - A user can list jobs and their history │
│ - We can see if things have failed or succeeded │
│ - We have a URL to follow for accessing logs or artifacts │
├──────────────────────────────────────────────────────────────────────────────────┤
│ de2d2dd [WIP] radicle-job │
│ c5c6686 radicle: generic Transaction::initial │
├──────────────────────────────────────────────────────────────────────────────────┤
│ ● Revision 05e0323 @ 3b5fac1..de2d2dd by fintohaps z6Mkire…SQZ3voM 1 year ago │
╰──────────────────────────────────────────────────────────────────────────────────╯
commit de2d2ddd0e6ff09fcc9c6802c0419e6be90655d1
Author: Fintan Halpenny <fintan.halpenny@gmail.com>
Date: Wed Feb 12 09:13:47 2025 +0000
[WIP] radicle-job
diff --git a/Cargo.lock b/Cargo.lock
index 290039d41..0706404fe 100644
--- a/Cargo.lock
+++ b/Cargo.lock
@@ -573,6 +573,17 @@ dependencies = [
"subtle",
]
+[[package]]
+name = "displaydoc"
+version = "0.2.5"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "97369cbbc041bc366949bc74d34658d6cda5621039731c6310521892a3a20ae0"
+dependencies = [
+ "proc-macro2",
+ "quote",
+ "syn 2.0.89",
+]
+
[[package]]
name = "dyn-clone"
version = "1.0.17"
@@ -587,7 +598,7 @@ checksum = "bdfd533a2fc01178c738c99412ae1f7e1ad2cb37c2e14bfd87e9d4618171c825"
dependencies = [
"ct-codecs",
"ed25519",
- "getrandom",
+ "getrandom 0.2.14",
]
[[package]]
@@ -747,7 +758,19 @@ checksum = "94b22e06ecb0110981051723910cbf0b5f5e09a2062dd7663334ee79a9d1286c"
dependencies = [
"cfg-if",
"libc",
- "wasi",
+ "wasi 0.11.0+wasi-snapshot-preview1",
+]
+
+[[package]]
+name = "getrandom"
+version = "0.3.1"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "43a49c392881ce6d5c3b8cb70f98717b7c07aabbdff06687b9030dbfbe2725f8"
+dependencies = [
+ "cfg-if",
+ "libc",
+ "wasi 0.13.3+wasi-0.2.2",
+ "windows-targets 0.52.5",
]
[[package]]
@@ -778,7 +801,7 @@ checksum = "ebb6549ddc63ba5722acb98c823b0eccb7f8b979407bd2a8fd616f581ae50982"
dependencies = [
"bstr",
"serde",
- "thiserror",
+ "thiserror 1.0.69",
]
[[package]]
@@ -816,7 +839,7 @@ dependencies = [
"gix-date",
"gix-utils",
"itoa",
- "thiserror",
+ "thiserror 1.0.69",
"winnow",
]
@@ -826,7 +849,7 @@ version = "0.4.8"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "45c8751169961ba7640b513c3b24af61aa962c967aaf04116734975cd5af0c52"
dependencies = [
- "thiserror",
+ "thiserror 1.0.69",
]
[[package]]
@@ -852,7 +875,7 @@ dependencies = [
"gix-features",
"gix-hash",
"memmap2",
- "thiserror",
+ "thiserror 1.0.69",
]
[[package]]
@@ -865,7 +888,7 @@ dependencies = [
"bstr",
"gix-path",
"libc",
- "thiserror",
+ "thiserror 1.0.69",
]
[[package]]
@@ -882,7 +905,7 @@ dependencies = [
"gix-sec",
"gix-trace",
"gix-url",
- "thiserror",
+ "thiserror 1.0.69",
]
[[package]]
@@ -893,7 +916,7 @@ checksum = "9eed6931f21491ee0aeb922751bd7ec97b4b2fe8fbfedcb678e2a2dce5f3b8c0"
dependencies = [
"bstr",
"itoa",
- "thiserror",
+ "thiserror 1.0.69",
"time",
]
@@ -906,7 +929,7 @@ dependencies = [
"bstr",
"gix-hash",
"gix-object",
- "thiserror",
+ "thiserror 1.0.69",
]
[[package]]
@@ -923,7 +946,7 @@ dependencies = [
"libc",
"prodash",
"sha1_smol",
- "thiserror",
+ "thiserror 1.0.69",
"walkdir",
]
@@ -945,7 +968,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "f93d7df7366121b5018f947a04d37f034717e113dcf9ccd85c34b58e57a74d5e"
dependencies = [
"faster-hex",
- "thiserror",
+ "thiserror 1.0.69",
]
[[package]]
@@ -955,7 +978,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "7ddf80e16f3c19ac06ce415a38b8591993d3f73aede049cb561becb5b3a8e242"
dependencies = [
"gix-hash",
- "hashbrown",
+ "hashbrown 0.14.3",
"parking_lot",
]
@@ -974,7 +997,7 @@ dependencies = [
"gix-validate",
"itoa",
"smallvec",
- "thiserror",
+ "thiserror 1.0.69",
"winnow",
]
@@ -995,7 +1018,7 @@ dependencies = [
"gix-quote",
"parking_lot",
"tempfile",
- "thiserror",
+ "thiserror 1.0.69",
]
[[package]]
@@ -1016,7 +1039,7 @@ dependencies = [
"memmap2",
"parking_lot",
"smallvec",
- "thiserror",
+ "thiserror 1.0.69",
]
[[package]]
@@ -1028,7 +1051,7 @@ dependencies = [
"bstr",
"faster-hex",
"gix-trace",
- "thiserror",
+ "thiserror 1.0.69",
]
[[package]]
@@ -1041,7 +1064,7 @@ dependencies = [
"gix-trace",
"home",
"once_cell",
- "thiserror",
+ "thiserror 1.0.69",
]
[[package]]
@@ -1054,7 +1077,7 @@ dependencies = [
"gix-config-value",
"parking_lot",
"rustix",
- "thiserror",
+ "thiserror 1.0.69",
]
[[package]]
@@ -1071,7 +1094,7 @@ dependencies = [
"gix-transport",
"gix-utils",
"maybe-async",
- "thiserror",
+ "thiserror 1.0.69",
"winnow",
]
@@ -1083,7 +1106,7 @@ checksum = "cbff4f9b9ea3fa7a25a70ee62f545143abef624ac6aa5884344e70c8b0a1d9ff"
dependencies = [
"bstr",
"gix-utils",
- "thiserror",
+ "thiserror 1.0.69",
]
[[package]]
@@ -1098,7 +1121,7 @@ dependencies = [
"gix-hashtable",
"gix-object",
"smallvec",
- "thiserror",
+ "thiserror 1.0.69",
]
[[package]]
@@ -1145,7 +1168,7 @@ dependencies = [
"gix-quote",
"gix-sec",
"gix-url",
- "thiserror",
+ "thiserror 1.0.69",
]
[[package]]
@@ -1162,7 +1185,7 @@ dependencies = [
"gix-object",
"gix-revwalk",
"smallvec",
- "thiserror",
+ "thiserror 1.0.69",
]
[[package]]
@@ -1175,7 +1198,7 @@ dependencies = [
"gix-features",
"gix-path",
"home",
- "thiserror",
+ "thiserror 1.0.69",
"url",
]
@@ -1196,7 +1219,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "82c27dd34a49b1addf193c92070bcbf3beaf6e10f16a78544de6372e146a0acf"
dependencies = [
"bstr",
- "thiserror",
+ "thiserror 1.0.69",
]
[[package]]
@@ -1216,6 +1239,12 @@ version = "0.14.3"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "290f1a1d9242c78d09ce40a5e87e7554ee637af1351968159f4952f028f75604"
+[[package]]
+name = "hashbrown"
+version = "0.15.2"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "bf151400ff0baff5465007dd2f3e717f3fe502074ca563069ce3a6629d07b289"
+
[[package]]
name = "hmac"
version = "0.12.1"
@@ -1257,24 +1286,154 @@ dependencies = [
"cc",
]
+[[package]]
+name = "icu_collections"
+version = "1.5.0"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "db2fa452206ebee18c4b5c2274dbf1de17008e874b4dc4f0aea9d01ca79e4526"
+dependencies = [
+ "displaydoc",
+ "yoke",
+ "zerofrom",
+ "zerovec",
+]
+
+[[package]]
+name = "icu_locid"
+version = "1.5.0"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "13acbb8371917fc971be86fc8057c41a64b521c184808a698c02acc242dbf637"
+dependencies = [
+ "displaydoc",
+ "litemap",
+ "tinystr",
+ "writeable",
+ "zerovec",
+]
+
+[[package]]
+name = "icu_locid_transform"
+version = "1.5.0"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "01d11ac35de8e40fdeda00d9e1e9d92525f3f9d887cdd7aa81d727596788b54e"
+dependencies = [
+ "displaydoc",
+ "icu_locid",
+ "icu_locid_transform_data",
+ "icu_provider",
+ "tinystr",
+ "zerovec",
+]
+
+[[package]]
+name = "icu_locid_transform_data"
+version = "1.5.0"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "fdc8ff3388f852bede6b579ad4e978ab004f139284d7b28715f773507b946f6e"
+
+[[package]]
+name = "icu_normalizer"
+version = "1.5.0"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "19ce3e0da2ec68599d193c93d088142efd7f9c5d6fc9b803774855747dc6a84f"
+dependencies = [
+ "displaydoc",
+ "icu_collections",
+ "icu_normalizer_data",
+ "icu_properties",
+ "icu_provider",
+ "smallvec",
+ "utf16_iter",
+ "utf8_iter",
+ "write16",
+ "zerovec",
+]
+
+[[package]]
+name = "icu_normalizer_data"
+version = "1.5.0"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "f8cafbf7aa791e9b22bec55a167906f9e1215fd475cd22adfcf660e03e989516"
+
+[[package]]
+name = "icu_properties"
+version = "1.5.1"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "93d6020766cfc6302c15dbbc9c8778c37e62c14427cb7f6e601d849e092aeef5"
+dependencies = [
+ "displaydoc",
+ "icu_collections",
+ "icu_locid_transform",
+ "icu_properties_data",
+ "icu_provider",
+ "tinystr",
+ "zerovec",
+]
+
+[[package]]
+name = "icu_properties_data"
+version = "1.5.0"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "67a8effbc3dd3e4ba1afa8ad918d5684b8868b3b26500753effea8d2eed19569"
+
+[[package]]
+name = "icu_provider"
+version = "1.5.0"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "6ed421c8a8ef78d3e2dbc98a973be2f3770cb42b606e3ab18d6237c4dfde68d9"
+dependencies = [
+ "displaydoc",
+ "icu_locid",
+ "icu_provider_macros",
+ "stable_deref_trait",
+ "tinystr",
+ "writeable",
+ "yoke",
+ "zerofrom",
+ "zerovec",
+]
+
+[[package]]
+name = "icu_provider_macros"
+version = "1.5.0"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "1ec89e9337638ecdc08744df490b221a7399bf8d164eb52a665454e60e075ad6"
+dependencies = [
+ "proc-macro2",
+ "quote",
+ "syn 2.0.89",
+]
+
[[package]]
name = "idna"
-version = "0.5.0"
+version = "1.0.3"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "634d9b1461af396cad843f47fdba5597a4f9e6ddd4bfb6ff5d85028c25cb12f6"
+checksum = "686f825264d630750a544639377bae737628043f20d38bbc029e8f29ea968a7e"
dependencies = [
- "unicode-bidi",
- "unicode-normalization",
+ "idna_adapter",
+ "smallvec",
+ "utf8_iter",
+]
+
+[[package]]
+name = "idna_adapter"
+version = "1.2.0"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "daca1df1c957320b2cf139ac61e7bd64fed304c5040df000a745aa1de3b4ef71"
+dependencies = [
+ "icu_normalizer",
+ "icu_properties",
]
[[package]]
name = "indexmap"
-version = "2.2.6"
+version = "2.7.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "168fb715dda47215e360912c096649d23d58bf392ac62f73919e831745e40f26"
+checksum = "8c9c992b02b5b4c94ea26e32fe5bccb7aa7d9f390ab5c1221ff895bc7ea8b652"
dependencies = [
"equivalent",
- "hashbrown",
+ "hashbrown 0.15.2",
+ "serde",
]
[[package]]
@@ -1417,6 +1576,12 @@ version = "0.4.13"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "01cda141df6706de531b6c46c3a33ecca755538219bd484262fa09410c13539c"
+[[package]]
+name = "litemap"
+version = "0.7.4"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "4ee93343901ab17bd981295f2cf0026d4ad018c7c31ba84549a4ddbb47a45104"
+
[[package]]
name = "localtime"
version = "1.3.1"
@@ -1537,6 +1702,12 @@ dependencies = [
"serde",
]
+[[package]]
+name = "nonempty"
+version = "0.11.0"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "549e471b99ccaf2f89101bec68f4d244457d5a95a9c3d0672e9564124397741d"
+
[[package]]
name = "normalize-line-endings"
version = "0.3.0"
@@ -1613,9 +1784,9 @@ checksum = "b8f8bdf33df195859076e54ab11ee78a1b208382d3a26ec40d142ffc1ecc49ef"
[[package]]
name = "once_cell"
-version = "1.19.0"
+version = "1.20.3"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "3fdb12b2476b595f9358c5161aa467c2438859caa136dec86c26fdd2efe17b92"
+checksum = "945462a4b81e43c4e3ba96bd7b49d834c6f61198356aa858733bc4acf3cbe62e"
[[package]]
name = "opaque-debug"
@@ -1897,7 +2068,7 @@ dependencies = [
"siphasher 1.0.1",
"sqlite",
"tempfile",
- "thiserror",
+ "thiserror 1.0.69",
"unicode-normalization",
]
@@ -1925,7 +2096,7 @@ dependencies = [
"serde_json",
"shlex",
"tempfile",
- "thiserror",
+ "thiserror 1.0.69",
"timeago",
"tree-sitter",
"tree-sitter-bash",
@@ -1954,7 +2125,7 @@ dependencies = [
"radicle",
"shlex",
"snapbox",
- "thiserror",
+ "thiserror 1.0.69",
]
[[package]]
@@ -1974,7 +2145,7 @@ dependencies = [
"serde",
"serde_json",
"tempfile",
- "thiserror",
+ "thiserror 1.0.69",
]
[[package]]
@@ -1988,7 +2159,7 @@ dependencies = [
"radicle-crypto",
"serde",
"tempfile",
- "thiserror",
+ "thiserror 1.0.69",
]
[[package]]
@@ -2008,7 +2179,7 @@ dependencies = [
"sqlite",
"ssh-key",
"tempfile",
- "thiserror",
+ "thiserror 1.0.69",
"zeroize",
]
@@ -2036,7 +2207,7 @@ dependencies = [
"nonempty 0.9.0",
"radicle",
"radicle-git-ext",
- "thiserror",
+ "thiserror 1.0.69",
]
[[package]]
@@ -2050,7 +2221,22 @@ dependencies = [
"percent-encoding",
"radicle-std-ext",
"serde",
- "thiserror",
+ "thiserror 1.0.69",
+]
+
+[[package]]
+name = "radicle-job"
+version = "0.9.0"
+dependencies = [
+ "indexmap",
+ "nonempty 0.11.0",
+ "once_cell",
+ "qcheck",
+ "radicle",
+ "serde",
+ "thiserror 2.0.11",
+ "url",
+ "uuid",
]
[[package]]
@@ -2089,7 +2275,7 @@ dependencies = [
"socket2",
"sqlite",
"tempfile",
- "thiserror",
+ "thiserror 1.0.69",
]
[[package]]
@@ -2101,7 +2287,7 @@ dependencies = [
"radicle-cli",
"radicle-crypto",
"radicle-git-ext",
- "thiserror",
+ "thiserror 1.0.69",
]
[[package]]
@@ -2118,7 +2304,7 @@ version = "0.9.0"
dependencies = [
"byteorder",
"log",
- "thiserror",
+ "thiserror 1.0.69",
"zeroize",
]
@@ -2143,7 +2329,7 @@ dependencies = [
"radicle-git-ext",
"radicle-std-ext",
"tar",
- "thiserror",
+ "thiserror 1.0.69",
"url",
]
@@ -2167,7 +2353,7 @@ dependencies = [
"shlex",
"tempfile",
"termion 3.0.0",
- "thiserror",
+ "thiserror 1.0.69",
"unicode-display-width",
"unicode-segmentation",
"zeroize",
@@ -2211,7 +2397,7 @@ version = "0.6.4"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "ec0be4795e2f6a28069bec0b5ff3e2ac9bafc99e6a9a7dc3547996c5c816922c"
dependencies = [
- "getrandom",
+ "getrandom 0.2.14",
]
[[package]]
@@ -2359,18 +2545,18 @@ dependencies = [
[[package]]
name = "serde"
-version = "1.0.198"
+version = "1.0.217"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "9846a40c979031340571da2545a4e5b7c4163bdae79b301d5f86d03979451fcc"
+checksum = "02fc4265df13d6fa1d00ecff087228cc0a2b5f3c0e87e258d8b94a156e984c70"
dependencies = [
"serde_derive",
]
[[package]]
name = "serde_derive"
-version = "1.0.198"
+version = "1.0.217"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "e88edab869b01783ba905e7d0153f9fc1a6505a96e4ad3018011eedb838566d9"
+checksum = "5a9bf7cf98d04a2b28aead066b7496853d4779c9cc183c440dbac457641e19a0"
dependencies = [
"proc-macro2",
"quote",
@@ -2605,6 +2791,12 @@ dependencies = [
"zeroize",
]
+[[package]]
+name = "stable_deref_trait"
+version = "1.2.0"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "a8f112729512f8e442d81f95a8a7ddf2b7c6b8a1a6f509a95864142b30cab2d3"
+
[[package]]
name = "streaming-iterator"
version = "0.1.9"
@@ -2639,6 +2831,17 @@ dependencies = [
"unicode-ident",
]
+[[package]]
+name = "synstructure"
+version = "0.13.1"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "c8af7666ab7b6390ab78131fb5b0fce11d6b7a6951602017c35fa82800708971"
+dependencies = [
+ "proc-macro2",
+ "quote",
+ "syn 2.0.89",
+]
+
[[package]]
name = "tar"
version = "0.4.40"
@@ -2692,7 +2895,16 @@ version = "1.0.69"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "b6aaf5339b578ea85b50e080feb250a3e8ae8cfcdff9a461c9ec2904bc923f52"
dependencies = [
- "thiserror-impl",
+ "thiserror-impl 1.0.69",
+]
+
+[[package]]
+name = "thiserror"
+version = "2.0.11"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "d452f284b73e6d76dd36758a0c8684b1d5be31f92b89d07fd5822175732206fc"
+dependencies = [
+ "thiserror-impl 2.0.11",
]
[[package]]
@@ -2706,6 +2918,17 @@ dependencies = [
"syn 2.0.89",
]
+[[package]]
+name = "thiserror-impl"
+version = "2.0.11"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "26afc1baea8a989337eeb52b6e72a039780ce45c3edfcc9c5b9d112feeb173c2"
+dependencies = [
+ "proc-macro2",
+ "quote",
+ "syn 2.0.89",
+]
+
[[package]]
name = "time"
version = "0.3.36"
@@ -2745,6 +2968,16 @@ version = "0.4.2"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "a1710e589de0a76aaf295cd47a6699f6405737dbfd3cf2b75c92d000b548d0e6"
+[[package]]
+name = "tinystr"
+version = "0.7.6"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "9117f5d4db391c1cf6927e7bea3db74b9a1c1add8f7eda9ffd5364f40f57b82f"
+dependencies = [
+ "displaydoc",
+ "zerovec",
+]
+
[[package]]
name = "tinyvec"
version = "1.6.0"
@@ -2822,7 +3055,7 @@ dependencies = [
"lazy_static",
"regex",
"streaming-iterator",
- "thiserror",
+ "thiserror 1.0.69",
"tree-sitter",
]
@@ -2918,12 +3151,6 @@ version = "1.17.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "42ff0bf0c66b8238c6f3b578df37d0b7848e55df8577b3f74f92a69acceeb825"
-[[package]]
-name = "unicode-bidi"
-version = "0.3.15"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "08f95100a766bf4f8f28f90d77e0a5461bbdb219042e7679bebe79004fed8d75"
-
[[package]]
name = "unicode-display-width"
version = "0.3.0"
@@ -2972,21 +3199,44 @@ dependencies = [
[[package]]
name = "url"
-version = "2.5.0"
+version = "2.5.4"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "31e6302e3bb753d46e83516cae55ae196fc0c309407cf11ab35cc51a4c2a4633"
+checksum = "32f8b686cadd1473f4bd0117a5d28d36b1ade384ea9b5069a1c40aefed7fda60"
dependencies = [
"form_urlencoded",
"idna",
"percent-encoding",
+ "serde",
]
+[[package]]
+name = "utf16_iter"
+version = "1.0.5"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "c8232dd3cdaed5356e0f716d285e4b40b932ac434100fe9b7e0e8e935b9e6246"
+
+[[package]]
+name = "utf8_iter"
+version = "1.0.4"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "b6c140620e7ffbb22c2dee59cafe6084a59b5ffc27a8859a5f0d494b5d52b6be"
+
[[package]]
name = "utf8parse"
version = "0.2.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "711b9620af191e0cdc7468a8d14e709c3dcdb115b36f838e601583af800a370a"
+[[package]]
+name = "uuid"
+version = "1.13.1"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "ced87ca4be083373936a67f8de945faa23b6b42384bd5b64434850802c6dccd0"
+dependencies = [
+ "getrandom 0.3.1",
+ "serde",
+]
+
[[package]]
name = "vcpkg"
version = "0.2.15"
@@ -3015,6 +3265,15 @@ version = "0.11.0+wasi-snapshot-preview1"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "9c8d87e72b64a3b4db28d11ce29237c246188f4f51057d65a7eab63b7987e423"
+[[package]]
+name = "wasi"
+version = "0.13.3+wasi-0.2.2"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "26816d2e1a4a36a2940b96c5296ce403917633dff8f3440e9b236ed6f6bacad2"
+dependencies = [
+ "wit-bindgen-rt",
+]
+
[[package]]
name = "wasm-bindgen"
version = "0.2.92"
@@ -3235,6 +3494,27 @@ dependencies = [
"memchr",
]
+[[package]]
+name = "wit-bindgen-rt"
+version = "0.33.0"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "3268f3d866458b787f390cf61f4bbb563b922d091359f9608842999eaee3943c"
+dependencies = [
+ "bitflags 2.5.0",
+]
+
+[[package]]
+name = "write16"
+version = "1.0.0"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "d1890f4022759daae28ed4fe62859b1236caebfc61ede2f63ed4e695f3f6d936"
+
+[[package]]
+name = "writeable"
+version = "0.5.5"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "1e9df38ee2d2c3c5948ea468a8406ff0db0b29ae1ffde1bcf20ef305bcc95c51"
+
[[package]]
name = "xattr"
version = "1.3.1"
@@ -3252,8 +3532,75 @@ version = "0.5.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "09041cd90cf85f7f8b2df60c646f853b7f535ce68f85244eb6731cf89fa498ec"
+[[package]]
+name = "yoke"
+version = "0.7.5"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "120e6aef9aa629e3d4f52dc8cc43a015c7724194c97dfaf45180d2daf2b77f40"
+dependencies = [
+ "serde",
+ "stable_deref_trait",
+ "yoke-derive",
+ "zerofrom",
+]
+
+[[package]]
+name = "yoke-derive"
+version = "0.7.5"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "2380878cad4ac9aac1e2435f3eb4020e8374b5f13c296cb75b4620ff8e229154"
+dependencies = [
+ "proc-macro2",
+ "quote",
+ "syn 2.0.89",
+ "synstructure",
+]
+
+[[package]]
+name = "zerofrom"
+version = "0.1.5"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "cff3ee08c995dee1859d998dea82f7374f2826091dd9cd47def953cae446cd2e"
+dependencies = [
+ "zerofrom-derive",
+]
+
+[[package]]
+name = "zerofrom-derive"
+version = "0.1.5"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "595eed982f7d355beb85837f651fa22e90b3c044842dc7f2c2842c086f295808"
+dependencies = [
+ "proc-macro2",
+ "quote",
+ "syn 2.0.89",
+ "synstructure",
+]
+
[[package]]
name = "zeroize"
version = "1.7.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "525b4ec142c6b68a2d10f01f7bbf6755599ca3f81ea53b8431b7dd348f5fdb2d"
+
+[[package]]
+name = "zerovec"
+version = "0.10.4"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "aa2b893d79df23bfb12d5461018d408ea19dfafe76c2c7ef6d4eba614f8ff079"
+dependencies = [
+ "yoke",
+ "zerofrom",
+ "zerovec-derive",
+]
+
+[[package]]
+name = "zerovec-derive"
+version = "0.10.3"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "6eafa6dfb17584ea3e2bd6e76e0cc15ad7af12b09abdd1ca55961bed9b1063c6"
+dependencies = [
+ "proc-macro2",
+ "quote",
+ "syn 2.0.89",
+]
diff --git a/Cargo.toml b/Cargo.toml
index 72f8c3ef9..595c72af1 100644
--- a/Cargo.toml
+++ b/Cargo.toml
@@ -15,6 +15,7 @@ members = [
"radicle-tools",
"radicle-signals",
"radicle-systemd",
+ "radicle-job",
]
default-members = [
"radicle",
diff --git a/radicle-job/Cargo.toml b/radicle-job/Cargo.toml
new file mode 100644
index 000000000..67e424df9
--- /dev/null
+++ b/radicle-job/Cargo.toml
@@ -0,0 +1,24 @@
+[package]
+name = "radicle-job"
+edition = "2021"
+version.workspace = true
+
+[lints]
+workspace = true
+
+[dependencies]
+indexmap = { version = "2.7.1", features = ["serde"] }
+nonempty = "0.11.0"
+once_cell = "1.20.3"
+qcheck = "1.0.0"
+serde = { version = "1.0", features = ["derive"] }
+thiserror = "2.0.11"
+url = { version = "2.5.4", features = ["serde"] }
+uuid = { version = "1.13.1", features = ["serde", "v4"] }
+
+[dependencies.radicle]
+path = "../radicle"
+
+[dev-dependencies.radicle]
+path = "../radicle"
+features = ["test"]
diff --git a/radicle-job/src/error.rs b/radicle-job/src/error.rs
new file mode 100644
index 000000000..a4574bd2d
--- /dev/null
+++ b/radicle-job/src/error.rs
@@ -0,0 +1,22 @@
+use radicle::{cob, git};
+use thiserror::Error;
+
+#[derive(Debug, Error)]
+pub enum Build {
+ #[error("initial action of job must request an OID")]
+ Initial,
+ #[error("missing commit for job run {oid}: {err}")]
+ MissingCommit {
+ oid: git::Oid,
+ #[source]
+ err: git::Error,
+ },
+}
+
+#[derive(Debug, Error)]
+pub enum Apply {
+ #[error(transparent)]
+ Build(#[from] Build),
+ #[error(transparent)]
+ Op(#[from] cob::op::OpEncodingError),
+}
diff --git a/radicle-job/src/lib.rs b/radicle-job/src/lib.rs
new file mode 100644
index 000000000..72656d9d9
--- /dev/null
+++ b/radicle-job/src/lib.rs
@@ -0,0 +1,747 @@
+use std::collections::HashMap;
+use std::ops::{Deref, DerefMut};
+use std::str::FromStr;
+
+use indexmap::IndexMap;
+use once_cell::sync::Lazy;
+use radicle::cob::store::Cob;
+use radicle::cob::{self, store, EntryId, Evaluate, ObjectId, Op, TypeName};
+use radicle::crypto::Signer;
+use radicle::node::NodeId;
+use radicle::prelude::ReadRepository;
+use radicle::storage::{RepositoryError, SignRepository, WriteRepository};
+use radicle::{cob::store::CobAction, git::Oid};
+use serde::{Deserialize, Serialize};
+use url::Url;
+use uuid::Uuid;
+
+pub mod error;
+
+/// Type name of a patch.
+pub static TYPENAME: Lazy<TypeName> =
+ Lazy::new(|| FromStr::from_str("xyz.radworks.job").expect("type name is valid"));
+
+#[derive(Clone, Debug, PartialEq, Eq, Serialize, Deserialize)]
+pub struct Job {
+ oid: Oid,
+ runs: HashMap<NodeId, Runs>,
+}
+
+#[derive(Clone, Debug, Default, PartialEq, Eq, Serialize, Deserialize)]
+pub struct Runs(IndexMap<Uuid, Run>);
+
+impl Runs {
+ pub fn insert(&mut self, uuid: Uuid, run: Run) -> Option<Run> {
+ self.0.insert(uuid, run)
+ }
+
+ pub fn contains_key(&self, uuid: &Uuid) -> bool {
+ self.0.contains_key(uuid)
+ }
+
+ pub fn latest(&self) -> Option<(&Uuid, &Run)> {
+ self.0.iter().next_back()
+ }
+
+ pub fn started(&self) -> Runs {
+ self.iter()
+ .filter_map(|(uuid, run)| run.is_started().then_some((*uuid, run.clone())))
+ .collect()
+ }
+
+ pub fn finished(&self) -> Runs {
+ self.iter()
+ .filter_map(|(uuid, run)| run.is_finished().then_some((*uuid, run.clone())))
+ .collect()
+ }
+
+ pub fn succeeded(&self) -> Runs {
+ self.iter()
+ .filter_map(|(uuid, run)| run.succeeded().then_some((*uuid, run.clone())))
+ .collect()
+ }
+
+ pub fn failed(&self) -> Runs {
+ self.iter()
+ .filter_map(|(uuid, run)| run.failed().then_some((*uuid, run.clone())))
+ .collect()
+ }
+
+ pub fn partition(&self) -> (Runs, Runs, Runs) {
+ let mut started = IndexMap::new();
+ let mut succeeded = IndexMap::new();
+ let mut failed = IndexMap::new();
+
+ for (uuid, run) in self.0.iter() {
+ match run.status {
+ Status::Started => started.insert(*uuid, run.clone()),
+ Status::Finished(Reason::Succeeded) => succeeded.insert(*uuid, run.clone()),
+ Status::Finished(Reason::Failed) => failed.insert(*uuid, run.clone()),
+ };
+ }
+ (Runs(started), Runs(succeeded), Runs(failed))
+ }
+
+ pub fn is_empty(&self) -> bool {
+ self.0.is_empty()
+ }
+
+ pub fn len(&self) -> usize {
+ self.0.len()
+ }
+
+ pub fn iter(&self) -> impl Iterator<Item = (&Uuid, &Run)> {
+ self.0.iter()
+ }
+}
+
+impl FromIterator<(Uuid, Run)> for Runs {
+ fn from_iter<T: IntoIterator<Item = (Uuid, Run)>>(iter: T) -> Self {
+ Self(iter.into_iter().collect())
+ }
+}
+
+impl<'a> IntoIterator for &'a Runs {
+ type Item = (&'a Uuid, &'a Run);
+ type IntoIter = indexmap::map::Iter<'a, Uuid, Run>;
+
+ fn into_iter(self) -> Self::IntoIter {
+ self.0.iter()
+ }
+}
+
+impl IntoIterator for Runs {
+ type Item = (Uuid, Run);
+ type IntoIter = indexmap::map::IntoIter<Uuid, Run>;
+
+ fn into_iter(self) -> Self::IntoIter {
+ self.0.into_iter()
+ }
+}
+
+#[derive(Clone, Debug, PartialEq, Eq, Hash, Serialize, Deserialize)]
+pub enum Action {
+ Request {
+ oid: Oid,
+ },
+ Run {
+ node: NodeId,
+ uuid: Uuid,
+ log: Url,
+ },
+ Finished {
+ node: NodeId,
+ uuid: Uuid,
+ reason: Reason,
+ },
+}
+
+impl CobAction for Action {
+ fn parents(&self) -> Vec<radicle::git::Oid> {
+ Vec::new()
+ }
+}
+
+impl Job {
+ pub fn new(oid: Oid) -> Self {
+ Self {
+ oid,
+ runs: HashMap::new(),
+ }
+ }
+
+ pub fn oid(&self) -> &Oid {
+ &self.oid
+ }
+
+ pub fn started(&self) -> HashMap<NodeId, Runs> {
+ self.filter_map_by(|runs| runs.started())
+ }
+
+ pub fn finished(&self) -> HashMap<NodeId, Runs> {
+ self.filter_map_by(|runs| runs.finished())
+ }
+
+ pub fn succeeded(&self) -> HashMap<NodeId, Runs> {
+ self.filter_map_by(|runs| runs.succeeded())
+ }
+
+ pub fn failed(&self) -> HashMap<NodeId, Runs> {
+ self.filter_map_by(|runs| runs.failed())
+ }
+
+ pub fn partition(&self) -> HashMap<NodeId, (Runs, Runs, Runs)> {
+ self.runs
+ .iter()
+ .map(|(node, runs)| (*node, runs.partition()))
+ .collect()
+ }
+
+ pub fn latest_of(&self, node: &NodeId) -> Option<(&Uuid, &Run)> {
+ self.runs
+ .get(node)
+ .and_then(|runs| runs.0.iter().next_back())
+ }
+
+ pub fn latest(&self) -> impl Iterator<Item = (&NodeId, &Uuid, &Run)> + '_ {
+ self.runs
+ .iter()
+ .filter_map(|(node, runs)| runs.latest().map(|(uuid, run)| (node, uuid, run)))
+ }
+
+ pub fn runs(&self) -> &HashMap<NodeId, Runs> {
+ &self.runs
+ }
+
+ pub fn runs_of(&self, node: &NodeId) -> Option<&Runs> {
+ self.runs.get(node)
+ }
+
+ fn filter_map_by<P>(&self, p: P) -> HashMap<NodeId, Runs>
+ where
+ P: Fn(&Runs) -> Runs,
+ {
+ self.runs
+ .iter()
+ .filter_map(|(node, runs)| {
+ let runs = p(runs);
+ (!runs.is_empty()).then_some((*node, runs))
+ })
+ .collect()
+ }
+
+ fn insert(&mut self, node: NodeId, uuid: Uuid, run: Run) -> bool {
+ let runs = self.runs.entry(node).or_default();
+ if runs.contains_key(&uuid) {
+ false
+ } else {
+ runs.insert(uuid, run);
+ true
+ }
+ }
+
+ fn update(&mut self, node: NodeId, uuid: Uuid, reason: Reason) -> bool {
+ let Some(runs) = self.runs.get_mut(&node) else {
+ return false;
+ };
+ let mut updated = false;
+ runs.0.entry(uuid).and_modify(|run| {
+ updated = true;
+ *run = run.clone().finish(reason);
+ });
+ updated
+ }
+
+ fn action(&mut self, action: Action) -> Result<(), error::Build> {
+ match action {
+ // Cannot request for another `oid`, so we ignore any superfluous
+ // request actions
+ Action::Request { .. } => Ok(()),
+ Action::Run { node, uuid, log } => {
+ self.insert(node, uuid, Run::new(log));
+ Ok(())
+ }
+ Action::Finished { node, uuid, reason } => {
+ self.update(node, uuid, reason);
+ Ok(())
+ }
+ }
+ }
+}
+
+impl store::Cob for Job {
+ type Action = Action;
+ type Error = error::Build;
+
+ fn type_name() -> &'static TypeName {
+ &TYPENAME
+ }
+
+ fn from_root<R: ReadRepository>(op: Op<Self::Action>, repo: &R) -> Result<Self, Self::Error> {
+ let mut actions = op.actions.into_iter();
+ let Some(Action::Request { oid }) = actions.next() else {
+ return Err(error::Build::Initial);
+ };
+ repo.commit(oid)
+ .map_err(|err| error::Build::MissingCommit { oid, err })?;
+ let mut runs = Self::new(oid);
+ for action in actions {
+ runs.action(action)?;
+ }
+ Ok(runs)
+ }
+
+ fn op<'a, R: ReadRepository, I: IntoIterator<Item = &'a radicle::cob::Entry>>(
+ &mut self,
+ op: Op<Self::Action>,
+ _concurrent: I,
+ _repo: &R,
+ ) -> Result<(), Self::Error> {
+ for action in op.actions {
+ self.action(action)?;
+ }
+ Ok(())
+ }
+}
+
+impl<R: ReadRepository> Evaluate<R> for Job {
+ type Error = error::Apply;
+
+ fn init(entry: &radicle::cob::Entry, store: &R) -> Result<Self, Self::Error> {
+ let op = Op::try_from(entry)?;
+ let object = Job::from_root(op, store)?;
+ Ok(object)
+ }
+
+ fn apply<'a, I: Iterator<Item = (&'a Oid, &'a radicle::cob::Entry)>>(
+ &mut self,
+ entry: &radicle::cob::Entry,
+ concurrent: I,
+ store: &R,
+ ) -> Result<(), Self::Error> {
+ let op = Op::try_from(entry)?;
+ self.op(op, concurrent.map(|(_, e)| e), store)
+ .map_err(error::Apply::from)
+ }
+}
+
+#[derive(Clone, Debug, PartialEq, Eq, Hash, Serialize, Deserialize)]
+pub struct Run {
+ status: Status,
+ log: Url,
+}
+
+impl Run {
+ pub fn new(log: Url) -> Self {
+ Self {
+ status: Status::Started,
+ log,
+ }
+ }
+
+ pub fn finish(self, reason: Reason) -> Self {
+ Self {
+ status: Status::Finished(reason),
+ log: self.log,
+ }
+ }
+
+ pub fn status(&self) -> &Status {
+ &self.status
+ }
+
+ pub fn is_started(&self) -> bool {
+ match self.status {
+ Status::Started => true,
+ Status::Finished(_) => false,
+ }
+ }
+
+ pub fn is_finished(&self) -> bool {
+ !self.is_started()
+ }
+
+ pub fn succeeded(&self) -> bool {
+ match self.status {
+ Status::Started => false,
+ Status::Finished(Reason::Failed) => false,
+ Status::Finished(Reason::Succeeded) => true,
+ }
+ }
+
+ pub fn failed(&self) -> bool {
+ match self.status {
+ Status::Started => false,
+ Status::Finished(Reason::Failed) => true,
+ Status::Finished(Reason::Succeeded) => false,
+ }
+ }
+}
+
+#[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, Serialize, Deserialize)]
+pub enum Status {
+ Started,
+ Finished(Reason),
+}
+
+#[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, Serialize, Deserialize)]
+pub enum Reason {
+ Failed,
+ Succeeded,
+}
+
+pub struct Jobs<'a, R> {
+ raw: store::Store<'a, Job, R>,
+}
+
+impl<'a, R> Deref for Jobs<'a, R> {
+ type Target = store::Store<'a, Job, R>;
+
+ fn deref(&self) -> &Self::Target {
+ &self.raw
+ }
+}
+
+impl<'a, R> Jobs<'a, R>
+where
+ R: ReadRepository + cob::Store,
+{
+ /// Open a jobs store.
+ pub fn open(repository: &'a R) -> Result<Self, RepositoryError> {
+ let identity = repository.identity_head()?;
+ let raw = store::Store::open(repository)?.identity(identity);
+
+ Ok(Self { raw })
+ }
+
+ /// Return the number of [`Job`]s in the store.
+ pub fn counts(&self) -> Result<usize, store::Error> {
+ Ok(self.all()?.count())
+ }
+
+ /// Get a [`Job`].
+ pub fn get(&self, id: &ObjectId) -> Result<Option<Job>, store::Error> {
+ self.raw.get(id)
+ }
+}
+
+impl<'a, R> Jobs<'a, R>
+where
+ R: ReadRepository + SignRepository + cob::Store,
+{
+ /// Get a [`JobMut`].
+ pub fn get_mut<'g, C>(&'g mut self, id: &ObjectId) -> Result<JobMut<'a, 'g, R>, store::Error> {
+ let job = self
+ .raw
+ .get(id)?
+ .ok_or_else(move || store::Error::NotFound(TYPENAME.clone(), *id))?;
+
+ Ok(JobMut {
+ id: *id,
+ job,
+ store: self,
+ })
+ }
+
+ pub fn create<'g, G>(
+ &'g mut self,
+ oid: Oid,
+ signer: &G,
+ ) -> Result<JobMut<'a, 'g, R>, store::Error>
+ where
+ G: Signer,
+ {
+ let (id, job) = store::Transaction::initial::<_, _, Transaction<R>>(
+ "Request job",
+ &mut self.raw,
+ signer,
+ |tx, _| {
+ tx.request(oid)?;
+ Ok(())
+ },
+ )?;
+
+ Ok(JobMut {
+ id,
+ job,
+ store: self,
+ })
+ }
+}
+
+pub struct JobMut<'a, 'g, R> {
+ pub id: ObjectId,
+
+ job: Job,
+ store: &'g mut Jobs<'a, R>,
+}
+
+impl<'a, 'g, R> Deref for JobMut<'a, 'g, R> {
+ type Target = Job;
+
+ fn deref(&self) -> &Self::Target {
+ &self.job
+ }
+}
+
+impl<'a, 'g, R> JobMut<'a, 'g, R>
+where
+ R: WriteRepository + cob::Store,
+{
+ pub fn new(id: ObjectId, job: Job, store: &'g mut Jobs<'a, R>) -> Self {
+ Self { id, job, store }
+ }
+
+ pub fn id(&self) -> &ObjectId {
+ &self.id
+ }
+
+ /// Reload the patch data from storage.
+ pub fn reload(&mut self) -> Result<(), store::Error> {
+ self.job = self
+ .store
+ .get(&self.id)?
+ .ok_or_else(|| store::Error::NotFound(TYPENAME.clone(), self.id))?;
+
+ Ok(())
+ }
+
+ pub fn request<G>(&mut self, oid: Oid, signer: &G) -> Result<EntryId, store::Error>
+ where
+ G: Signer,
+ {
+ self.transaction("Request OID", signer, |tx| tx.request(oid))
+ }
+
+ pub fn run<G>(
+ &mut self,
+ node: NodeId,
+ uuid: Uuid,
+ log: Url,
+ signer: &G,
+ ) -> Result<EntryId, store::Error>
+ where
+ G: Signer,
+ {
+ self.transaction("Run node job", signer, |tx| tx.run(node, uuid, log))
+ }
+
+ pub fn finish<G>(
+ &mut self,
+ node: NodeId,
+ uuid: Uuid,
+ reason: Reason,
+ signer: &G,
+ ) -> Result<EntryId, store::Error>
+ where
+ G: Signer,
+ {
+ self.transaction("Finished node job", signer, |tx| {
+ tx.finish(node, uuid, reason)
+ })
+ }
+
+ pub fn transaction<G, F>(
+ &mut self,
+ message: &str,
+ signer: &G,
+ operations: F,
+ ) -> Result<EntryId, store::Error>
+ where
+ G: Signer,
+ F: FnOnce(&mut Transaction<R>) -> Result<(), store::Error>,
+ {
+ let mut tx = Transaction::default();
+ operations(&mut tx)?;
+
+ let (job, commit) = tx.0.commit(message, self.id, &mut self.store.raw, signer)?;
+ self.job = job;
+
+ Ok(commit)
+ }
+}
+
+pub struct Transaction<R: ReadRepository>(store::Transaction<Job, R>);
+
+impl<R> From<store::Transaction<Job, R>> for Transaction<R>
+where
+ R: ReadRepository,
+{
+ fn from(tx: store::Transaction<Job, R>) -> Self {
+ Self(tx)
+ }
+}
+
+impl<R> From<Transaction<R>> for store::Transaction<Job, R>
+where
+ R: ReadRepository,
+{
+ fn from(Transaction(tx): Transaction<R>) -> Self {
+ tx
+ }
+}
+
+impl<R> Default for Transaction<R>
+where
+ R: ReadRepository,
+{
+ fn default() -> Self {
+ Self(Default::default())
+ }
+}
+
+impl<R> Deref for Transaction<R>
+where
+ R: ReadRepository,
+{
+ type Target = store::Transaction<Job, R>;
+
+ fn deref(&self) -> &Self::Target {
+ &self.0
+ }
+}
+
+impl<R> DerefMut for Transaction<R>
+where
+ R: ReadRepository,
+{
+ fn deref_mut(&mut self) -> &mut Self::Target {
+ &mut self.0
+ }
+}
+
+impl<R> Transaction<R>
+where
+ R: ReadRepository,
+{
+ pub fn request(&mut self, oid: Oid) -> Result<(), store::Error> {
+ self.0.push(Action::Request { oid })
+ }
+
+ pub fn run(&mut self, node: NodeId, uuid: Uuid, log: Url) -> Result<(), store::Error> {
+ self.0.push(Action::Run { node, uuid, log })
+ }
+
+ pub fn finish(&mut self, node: NodeId, uuid: Uuid, reason: Reason) -> Result<(), store::Error> {
+ self.0.push(Action::Finished { node, uuid, reason })
+ }
+}
+
+#[cfg(test)]
+#[allow(clippy::unwrap_used)]
+mod test {
+ use radicle::crypto::Signer;
+ use radicle::git::{raw::Repository, Oid};
+ use radicle::test;
+ use url::Url;
+ use uuid::Uuid;
+
+ use crate::{Jobs, Reason, Run, Runs};
+
+ fn node_run() -> (Uuid, Url) {
+ let uuid = Uuid::new_v4();
+ let log = Url::parse(&format!("https://example.com/ci/logs?run={}", uuid)).unwrap();
+ (uuid, log)
+ }
+
+ fn commit(repo: &Repository) -> Oid {
+ let tree = {
+ let tree = repo.treebuilder(None).unwrap();
+ let oid = tree.write().unwrap();
+ repo.find_tree(oid).unwrap()
+ };
+
+ let author = repo.signature().unwrap();
+ repo.commit(None, &author, &author, "Test Commit", &tree, &[])
+ .unwrap()
+ .into()
+ }
+
+ #[test]
+ fn e2e() {
+ let test::setup::NodeWithRepo {
+ node: alice, repo, ..
+ } = test::setup::NodeWithRepo::default();
+ let oid = commit(&repo.backend);
+ let mut jobs = Jobs::open(&*repo).unwrap();
+
+ let test::setup::NodeWithRepo { node: bob, .. } = test::setup::NodeWithRepo::default();
+ let mut job = jobs.create(oid, &alice.signer).unwrap();
+
+ let (alice_uuid, alice_log) = node_run();
+ job.run(
+ *alice.signer.public_key(),
+ alice_uuid,
+ alice_log.clone(),
+ &alice.signer,
+ )
+ .unwrap();
+
+ let (bob_uuid, bob_log) = node_run();
+ job.run(
+ *bob.signer.public_key(),
+ bob_uuid,
+ bob_log.clone(),
+ &bob.signer,
+ )
+ .unwrap();
+
+ let alice_runs = job.runs_of(alice.signer.public_key());
+ assert!(alice_runs.is_some());
+ assert_eq!(
+ *alice_runs.unwrap(),
+ [(alice_uuid, Run::new(alice_log))]
+ .into_iter()
+ .collect::<Runs>()
+ );
+
+ let bob_runs = job.runs_of(bob.signer.public_key());
+ assert!(bob_runs.is_some());
+ assert_eq!(
+ *bob_runs.unwrap(),
+ [(bob_uuid, Run::new(bob_log))]
+ .into_iter()
+ .collect::<Runs>()
+ );
+
+ job.finish(
+ *alice.signer.public_key(),
+ alice_uuid,
+ Reason::Succeeded,
+ &alice.signer,
+ )
+ .unwrap();
+
+ let finished = job.finished();
+ assert!(finished.contains_key(alice.signer.public_key()));
+ assert!(!finished.contains_key(bob.signer.public_key()));
+
+ job.finish(
+ *bob.signer.public_key(),
+ bob_uuid,
+ Reason::Failed,
+ &bob.signer,
+ )
+ .unwrap();
+
+ let succeeded = job.succeeded();
+ assert!(succeeded.contains_key(alice.signer.public_key()));
+ assert!(!succeeded.contains_key(bob.signer.public_key()));
+ let failed = job.failed();
+ assert!(!failed.contains_key(alice.signer.public_key()));
+ assert!(failed.contains_key(bob.signer.public_key()));
+ let started = job.started();
+ assert!(started.is_empty());
+ }
+
+ #[test]
+ fn missing_commit() {
+ let test::setup::NodeWithRepo {
+ node: alice, repo, ..
+ } = test::setup::NodeWithRepo::default();
+ let mut jobs = Jobs::open(&*repo).unwrap();
+ let oid = test::arbitrary::oid();
+ let job = jobs.create(oid, &alice.signer);
+ assert!(job.is_err())
+ }
+
+ #[test]
+ fn idempotent_create() {
+ let test::setup::NodeWithRepo {
+ node: alice, repo, ..
+ } = test::setup::NodeWithRepo::default();
+ let oid = commit(&repo.backend);
+ let mut jobs = Jobs::open(&*repo).unwrap();
+ let job1 = {
+ let job1 = jobs.create(oid, &alice.signer).unwrap();
+ job1.id
+ };
+ let job2 = {
+ let job2 = jobs.create(oid, &alice.signer).unwrap();
+ job2.id
+ };
+
+ assert_eq!(job1, job2);
+ assert_eq!(jobs.get(&job1).unwrap(), jobs.get(&job2).unwrap());
+ }
+}
commit c5c668642b4c8f5af8f23a59679fbb9260956ad7
Author: Fintan Halpenny <fintan.halpenny@gmail.com>
Date: Thu Feb 13 16:35:56 2025 +0000
radicle: generic Transaction::initial
The use of `Transaction` outside of the `radicle` crate requires that a newtype is used, if the upstream code wants to write methods, such as:
```
pub struct Transaction<R>(store::Transaction<MyCob, R>);
impl Transaction<R> {
pub fn add_foo(&mut self, foo: Foo) -> Result<(), store::Error> { /* code */ }
pub fn add_bar(&mut self, bar: Bar) -> Result<(), store::Error> { /* code */ }}
```
This works up until the point that it tries to re-use the
`Transaction::initial` method.
To make this possible, the method needs to know that it can be
converted to the upstream `Transaction` and back to `radicle`
`Transaction`.
diff --git a/radicle/src/cob/store.rs b/radicle/src/cob/store.rs
index 058f92b85..791e8bae2 100644
--- a/radicle/src/cob/store.rs
+++ b/radicle/src/cob/store.rs
@@ -314,20 +314,23 @@ where
T: Cob + cob::Evaluate<R>,
{
/// Create a new transaction to be used as the initial set of operations for a COB.
- pub fn initial<G, F>(
+ pub fn initial<G, F, Tx>(
message: &str,
store: &mut Store<T, R>,
signer: &G,
operations: F,
) -> Result<(ObjectId, T), Error>
where
+ Tx: From<Self>,
+ Self: From<Tx>,
G: Signer,
- F: FnOnce(&mut Self, &R) -> Result<(), Error>,
+ F: FnOnce(&mut Tx, &R) -> Result<(), Error>,
R: ReadRepository + SignRepository + cob::Store,
T::Action: Serialize + Clone,
{
- let mut tx = Transaction::default();
+ let mut tx = Tx::from(Transaction::default());
operations(&mut tx, store.as_ref())?;
+ let tx = Self::from(tx);
let actions = NonEmpty::from_vec(tx.actions)
.expect("Transaction::initial: transaction must contain at least one action");
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 e5a7e7ea-8c38-4137-af2e-2acf17be188e -v /opt/radcis/ci.rad.levitte.org/cci/state/e5a7e7ea-8c38-4137-af2e-2acf17be188e/s:/e5a7e7ea-8c38-4137-af2e-2acf17be188e/s:ro -v /opt/radcis/ci.rad.levitte.org/cci/state/e5a7e7ea-8c38-4137-af2e-2acf17be188e/w:/e5a7e7ea-8c38-4137-af2e-2acf17be188e/w -w /e5a7e7ea-8c38-4137-af2e-2acf17be188e/w -v /opt/radcis/ci.rad.levitte.org/.radicle:/${id}/.radicle:ro -e RAD_HOME=/${id}/.radicle rust:trixie bash /e5a7e7ea-8c38-4137-af2e-2acf17be188e/s/script.sh
+ cargo --version
info: syncing channel updates for '1.80-x86_64-unknown-linux-gnu'
info: latest update on 2024-08-08, rust version 1.80.1 (3f5fd8dd4 2024-08-06)
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.80.1 (376290515 2024-07-16)
+ rustc --version
rustc 1.80.1 (3f5fd8dd4 2024-08-06)
+ cargo fmt --check
+ cargo clippy --all-targets --workspace -- --deny warnings
Updating crates.io index
Downloading crates ...
Downloaded gix-path v0.10.9
Downloaded same-file v1.0.6
Downloaded snapbox v0.4.17
Downloaded salsa20 v0.10.2
Downloaded rfc6979 v0.4.0
Downloaded siphasher v1.0.1
Downloaded ryu v1.0.17
Downloaded gix-packetline v0.17.5
Downloaded snapbox-macros v0.3.8
Downloaded thiserror-impl v2.0.11
Downloaded sqlite v0.32.0
Downloaded shell-words v1.1.0
Downloaded serde_derive v1.0.217
Downloaded serde v1.0.217
Downloaded unicode-normalization v0.1.23
Downloaded zerovec-derive v0.10.3
Downloaded socks5-client v0.4.1
Downloaded timeago v0.4.2
Downloaded tree-sitter-toml-ng v0.6.0
Downloaded yoke-derive v0.7.5
Downloaded utf16_iter v1.0.5
Downloaded gix-prompt v0.8.4
Downloaded zerovec v0.10.4
Downloaded errno v0.3.8
Downloaded zerofrom-derive v0.1.5
Downloaded yoke v0.7.5
Downloaded nonempty v0.11.0
Downloaded zeroize v1.7.0
Downloaded normalize-line-endings v0.3.0
Downloaded tinyvec v1.6.0
Downloaded unicode-ident v1.0.12
Downloaded uuid v1.13.1
Downloaded nonempty v0.9.0
Downloaded gix-revwalk v0.13.2
Downloaded gix-trace v0.1.9
Downloaded newline-converter v0.3.0
Downloaded num-conv v0.1.0
Downloaded rand_core v0.6.4
Downloaded icu_provider_macros v1.5.0
Downloaded inout v0.1.3
Downloaded itoa v1.0.11
Downloaded gix-actor v0.31.5
Downloaded gix-hashtable v0.5.2
Downloaded gix-features v0.38.2
Downloaded gix-object v0.42.3
Downloaded poly1305 v0.8.0
Downloaded qcheck-macros v1.0.0
Downloaded gix-validate v0.8.5
Downloaded cbc v0.1.2
Downloaded gix-url v0.27.3
Downloaded num-iter v0.1.44
Downloaded percent-encoding v2.3.1
Downloaded powerfmt v0.2.0
Downloaded rand_chacha v0.3.1
Downloaded proc-macro-error-attr v1.0.4
Downloaded pkcs8 v0.10.2
Downloaded primeorder v0.13.6
Downloaded pkg-config v0.3.30
Downloaded pbkdf2 v0.12.2
Downloaded displaydoc v0.2.5
Downloaded getrandom v0.2.14
Downloaded lazy_static v1.5.0
Downloaded pkcs1 v0.7.5
Downloaded localtime v1.3.1
Downloaded parking_lot v0.12.1
Downloaded arc-swap v1.7.1
Downloaded litemap v0.7.4
Downloaded tree-sitter v0.24.4
Downloaded lexopt v0.3.0
Downloaded icu_locid_transform v1.5.0
Downloaded chrono v0.4.38
Downloaded lock_api v0.4.11
Downloaded p256 v0.13.2
Downloaded icu_normalizer v1.5.0
Downloaded icu_locid v1.5.0
Downloaded num-bigint-dig v0.8.4
Downloaded icu_collections v1.5.0
Downloaded inquire v0.7.5
Downloaded hashbrown v0.15.2
Downloaded regex v1.11.1
Downloaded p384 v0.13.0
Downloaded tree-sitter-ruby v0.23.1
Downloaded regex-automata v0.4.9
Downloaded tree-sitter-rust v0.23.2
Downloaded libc v0.2.155
Downloaded tree-sitter-typescript v0.23.2
Downloaded tree-sitter-bash v0.23.3
Downloaded linux-raw-sys v0.4.13
Downloaded tree-sitter-md v0.3.2
Downloaded libgit2-sys v0.17.0+1.8.1
Downloaded hashbrown v0.14.3
Downloaded p521 v0.13.3
Downloaded syn v2.0.89
Downloaded sqlite3-src v0.5.1
Downloaded radicle-surf v0.22.0
Downloaded icu_properties_data v1.5.0
Downloaded vcpkg v0.2.15
Downloaded tree-sitter-c v0.23.2
Downloaded pretty_assertions v1.4.0
Downloaded iana-time-zone v0.1.60
Downloaded gix-transport v0.42.0
Downloaded rand v0.8.5
Downloaded libz-sys v1.1.16
Downloaded prodash v28.0.0
Downloaded libm v0.2.8
Downloaded num-traits v0.2.18
Downloaded indexmap v2.7.1
Downloaded bstr v1.9.1
Downloaded miniz_oxide v0.7.2
Downloaded git2 v0.19.0
Downloaded bloomy v1.2.0
Downloaded gix-traverse v0.39.2
Downloaded idna v1.0.3
Downloaded winnow v0.6.8
Downloaded io-reactor v0.5.2
Downloaded crypto-bigint v0.5.5
Downloaded memchr v2.7.2
Downloaded chacha20poly1305 v0.10.1
Downloaded aes v0.8.4
Downloaded icu_properties v1.5.1
Downloaded icu_normalizer_data v1.5.0
Downloaded gix-protocol v0.45.0
Downloaded flate2 v1.0.28
Downloaded crossbeam-channel v0.5.13
Downloaded group v0.13.0
Downloaded pem-rfc7468 v0.7.0
Downloaded log v0.4.21
Downloaded jobserver v0.1.31
Downloaded num-integer v0.1.46
Downloaded gix-odb v0.61.1
Downloaded memmap2 v0.9.4
Downloaded icu_locid_transform_data v1.5.0
Downloaded numtoa v0.1.0
Downloaded radicle-git-ext v0.8.0
Downloaded proc-macro2 v1.0.92
Downloaded syn v1.0.109
Downloaded elliptic-curve v0.13.8
Downloaded diff v0.1.13
Downloaded anyhow v1.0.82
Downloaded parking_lot_core v0.9.9
Downloaded gix-pack v0.51.1
Downloaded gix-hash v0.14.2
Downloaded bitflags v2.5.0
Downloaded proc-macro-error v1.0.4
Downloaded gix-credentials v0.24.2
Downloaded gix-commitgraph v0.24.3
Downloaded ed25519 v1.5.3
Downloaded byteorder v1.5.0
Downloaded cyphernet v0.5.2
Downloaded cipher v0.4.4
Downloaded base64ct v1.6.0
Downloaded once_cell v1.20.3
Downloaded idna_adapter v1.2.0
Downloaded gix-diff v0.44.1
Downloaded base64 v0.13.1
Downloaded either v1.11.0
Downloaded crc32fast v1.4.0
Downloaded ascii v1.1.0
Downloaded git-ref-format v0.3.0
Downloaded digest v0.10.7
Downloaded tree-sitter-python v0.23.4
Downloaded gix-fs v0.11.2
Downloaded ec25519 v0.1.0
Downloaded deranged v0.3.11
Downloaded chacha20 v0.9.1
Downloaded blowfish v0.9.1
Downloaded amplify_syn v2.0.1
Downloaded keccak v0.1.5
Downloaded maybe-async v0.2.10
Downloaded ppv-lite86 v0.2.17
Downloaded polyval v0.6.2
Downloaded quote v1.0.36
Downloaded filetime v0.2.23
Downloaded bcrypt-pbkdf v0.10.0
Downloaded getrandom v0.3.1
Downloaded ff v0.13.0
Downloaded git-ref-format-macro v0.3.0
Downloaded crypto-common v0.1.6
Downloaded block-buffer v0.10.4
Downloaded anstyle-query v1.0.2
Downloaded equivalent v1.0.1
Downloaded base32 v0.4.0
Downloaded opaque-debug v0.3.1
Downloaded num_threads v0.1.7
Downloaded popol v3.0.0
Downloaded gix-sec v0.10.6
Downloaded qcheck v1.0.0
Downloaded noise-framework v0.4.0
Downloaded hmac v0.12.1
Downloaded gix-quote v0.4.12
Downloaded gix-config-value v0.14.6
Downloaded gix-chunk v0.4.8
Downloaded ghash v0.5.1
Downloaded faster-hex v0.9.0
Downloaded colorchoice v1.0.0
Downloaded autocfg v1.2.0
Downloaded radicle-std-ext v0.1.0
Downloaded netservices v0.8.0
Downloaded data-encoding v2.5.0
Downloaded gix-tempfile v14.0.1
Downloaded home v0.5.9
Downloaded gix-utils v0.1.12
Downloaded url v2.5.4
Downloaded git-ref-format-core v0.3.0
Downloaded form_urlencoded v1.2.1
Downloaded dyn-clone v1.0.17
Downloaded cyphergraphy v0.3.0
Downloaded cfg-if v1.0.0
Downloaded base-x v0.2.11
Downloaded nonempty v0.5.0
Downloaded icu_provider v1.5.0
Downloaded anstyle-parse v0.2.3
Downloaded anstream v0.6.13
Downloaded gix-date v0.8.7
Downloaded fxhash v0.2.1
Downloaded fastrand v2.1.0
Downloaded ecdsa v0.16.9
Downloaded der v0.7.9
Downloaded data-encoding-macro-internal v0.1.12
Downloaded cypheraddr v0.4.0
Downloaded ct-codecs v1.1.1
Downloaded crossbeam-utils v0.8.19
Downloaded cpufeatures v0.2.12
Downloaded cc v1.2.2
Downloaded base64 v0.21.7
Downloaded base16ct v0.2.0
Downloaded multibase v0.9.1
Downloaded typenum v1.17.0
Downloaded thiserror v2.0.11
Downloaded thiserror v1.0.69
Downloaded tempfile v3.10.1
Downloaded yansi v0.5.1
Downloaded xattr v1.3.1
Downloaded writeable v0.5.5
Downloaded utf8_iter v1.0.4
Downloaded unicode-width v0.1.11
Downloaded tinystr v0.7.6
Downloaded time-macros v0.2.18
Downloaded time-core v0.1.2
Downloaded tar v0.4.40
Downloaded gix-command v0.3.6
Downloaded generic-array v0.14.7
Downloaded escargot v0.5.10
Downloaded data-encoding-macro v0.1.14
Downloaded const-oid v0.9.6
Downloaded colored v2.1.0
Downloaded anstyle v1.0.6
Downloaded aead v0.5.2
Downloaded adler v1.0.2
Downloaded block-padding v0.3.3
Downloaded write16 v1.0.0
Downloaded walkdir v2.5.0
Downloaded universal-hash v0.5.1
Downloaded ctr v0.9.2
Downloaded zerofrom v0.1.5
Downloaded version_check v0.9.4
Downloaded utf8parse v0.2.1
Downloaded tree-sitter-language v0.1.2
Downloaded tree-sitter-html v0.23.2
Downloaded spki v0.7.3
Downloaded unicode-segmentation v1.11.0
Downloaded tree-sitter-highlight v0.24.4
Downloaded tinyvec_macros v0.1.1
Downloaded stable_deref_trait v1.2.0
Downloaded aho-corasick v1.1.3
Downloaded tree-sitter-css v0.23.1
Downloaded time v0.3.36
Downloaded thiserror-impl v1.0.69
Downloaded termion v3.0.0
Downloaded synstructure v0.13.1
Downloaded subtle v2.5.0
Downloaded sha3 v0.10.8
Downloaded shlex v1.3.0
Downloaded amplify v4.6.0
Downloaded aes-gcm v0.10.3
Downloaded tree-sitter-json v0.24.8
Downloaded tree-sitter-go v0.23.4
Downloaded sqlite3-sys v0.15.2
Downloaded signature v1.6.4
Downloaded amplify_num v0.5.2
Downloaded unicode-display-width v0.3.0
Downloaded termion v2.0.3
Downloaded streaming-iterator v0.1.9
Downloaded ssh-key v0.6.6
Downloaded ssh-encoding v0.2.0
Downloaded ssh-cipher v0.2.0
Downloaded spin v0.9.8
Downloaded socket2 v0.5.7
Downloaded smallvec v1.13.2
Downloaded siphasher v0.3.11
Downloaded similar v2.5.0
Downloaded signature v2.2.0
Downloaded sha2 v0.10.8
Downloaded sha1_smol v1.0.0
Downloaded serde_json v1.0.116
Downloaded scopeguard v1.2.0
Downloaded amplify_derive v4.0.0
Downloaded sec1 v0.7.3
Downloaded scrypt v0.11.0
Downloaded regex-syntax v0.8.5
Downloaded rustix v0.38.34
Downloaded rsa v0.9.6
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
Compiling thiserror v1.0.69
Compiling typenum v1.17.0
Compiling quote v1.0.36
Compiling jobserver v0.1.31
Checking getrandom v0.2.14
Compiling syn v2.0.89
Compiling generic-array v0.14.7
Compiling cc v1.2.2
Checking rand_core v0.6.4
Checking memchr v2.7.2
Checking aho-corasick v1.1.3
Checking crypto-common v0.1.6
Checking regex-syntax v0.8.5
Checking smallvec v1.13.2
Checking fastrand v2.1.0
Checking subtle v2.5.0
Compiling syn v1.0.109
Checking stable_deref_trait v1.2.0
Compiling serde v1.0.217
Checking zeroize v1.7.0
Checking cpufeatures v0.2.12
Checking bitflags v2.5.0
Checking block-padding v0.3.3
Checking litemap v0.7.4
Checking writeable v0.5.5
Checking inout v0.1.3
Checking block-buffer v0.10.4
Checking regex-automata v0.4.9
Compiling pkg-config v0.3.30
Compiling synstructure v0.13.1
Checking digest v0.10.7
Checking cipher v0.4.4
Checking icu_locid_transform_data v1.5.0
Checking icu_properties_data v1.5.0
Compiling autocfg v1.2.0
Checking icu_normalizer_data v1.5.0
Checking bstr v1.9.1
Checking utf16_iter v1.0.5
Checking utf8_iter v1.0.4
Checking tinyvec_macros v0.1.1
Checking write16 v1.0.0
Checking tinyvec v1.6.0
Checking sha2 v0.10.8
Compiling thiserror-impl v1.0.69
Compiling zerofrom-derive v0.1.5
Compiling yoke-derive v0.7.5
Compiling zerovec-derive v0.10.3
Checking zerofrom v0.1.5
Compiling serde_derive v1.0.217
Checking yoke v0.7.5
Compiling displaydoc v0.2.5
Compiling icu_provider_macros v1.5.0
Checking zerovec v0.10.4
Checking unicode-normalization v0.1.23
Checking percent-encoding v2.3.1
Checking once_cell v1.20.3
Checking form_urlencoded v1.2.1
Checking tinystr v0.7.6
Checking icu_collections v1.5.0
Checking universal-hash v0.5.1
Checking icu_locid v1.5.0
Checking opaque-debug v0.3.1
Compiling crc32fast v1.4.0
Compiling vcpkg v0.2.15
Checking icu_provider v1.5.0
Compiling amplify_syn v2.0.1
Checking icu_locid_transform v1.5.0
Compiling libz-sys v1.1.16
Checking byteorder v1.5.0
Checking icu_properties v1.5.1
Compiling rustix v0.38.34
Compiling data-encoding v2.5.0
Compiling amplify_derive v4.0.0
Compiling data-encoding-macro-internal v0.1.12
Checking icu_normalizer v1.5.0
Checking idna_adapter v1.2.0
Checking idna v1.0.3
Checking itoa v1.0.11
Checking linux-raw-sys v0.4.13
Checking log v0.4.21
Checking signature v1.6.4
Checking amplify_num v0.5.2
Checking ascii v1.1.0
Checking data-encoding-macro v0.1.14
Checking ed25519 v1.5.3
Checking url v2.5.4
Compiling libgit2-sys v0.17.0+1.8.1
Checking amplify v4.6.0
Checking aead v0.5.2
Compiling proc-macro-error-attr v1.0.4
Checking base-x v0.2.11
Checking ct-codecs v1.1.1
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 cyphergraphy v0.3.0
Checking keccak v0.1.5
Compiling git-ref-format-core v0.3.0
Checking sha3 v0.10.8
Checking polyval v0.6.2
Checking hmac v0.12.1
Compiling sqlite3-src v0.5.1
Checking base32 v0.4.0
Checking base64ct v1.6.0
Checking ppv-lite86 v0.2.17
Checking pem-rfc7468 v0.7.0
Checking rand_chacha v0.3.1
Checking cypheraddr v0.4.0
Checking ghash v0.5.1
Checking pbkdf2 v0.12.2
Compiling git-ref-format-macro v0.3.0
Checking chacha20poly1305 v0.10.1
Checking tempfile v3.10.1
Checking aes v0.8.4
Checking ctr v0.9.2
Compiling crossbeam-utils v0.8.19
Checking git-ref-format v0.3.0
Checking aes-gcm v0.10.3
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 crossbeam-channel v0.5.13
Checking ssh-key v0.6.6
Checking qcheck v1.0.0
Checking radicle-ssh v0.9.0 (/e5a7e7ea-8c38-4137-af2e-2acf17be188e/w/radicle-ssh)
Compiling num-traits v0.2.18
Checking hashbrown v0.15.2
Compiling serde_json v1.0.116
Checking equivalent v1.0.1
Checking indexmap v2.7.1
Checking ryu v1.0.17
Checking nonempty v0.9.0
Checking radicle-dag v0.10.0 (/e5a7e7ea-8c38-4137-af2e-2acf17be188e/w/radicle-dag)
Checking lazy_static v1.5.0
Checking tree-sitter-language v0.1.2
Checking iana-time-zone v0.1.60
Checking colored v2.1.0
Checking chrono v0.4.38
Checking localtime v1.3.1
Compiling anyhow v1.0.82
Checking siphasher v1.0.1
Checking base64 v0.21.7
Checking anstyle-query v1.0.2
Checking utf8parse v0.2.1
Checking colorchoice v1.0.0
Checking anstyle-parse v0.2.3
Checking anstyle v1.0.6
Checking anstream v0.6.13
Checking snapbox-macros v0.3.8
Checking normalize-line-endings v0.3.0
Checking similar v2.5.0
Checking snapbox v0.4.17
Checking radicle-signals v0.10.0 (/e5a7e7ea-8c38-4137-af2e-2acf17be188e/w/radicle-signals)
Compiling tree-sitter v0.24.4
Compiling adler v1.0.2
Checking gix-trace v0.1.9
Checking unicode-segmentation v1.11.0
Checking diff v0.1.13
Checking yansi v0.5.1
Checking numtoa v0.1.0
Checking pretty_assertions v1.4.0
Compiling xattr v1.3.1
Compiling miniz_oxide v0.7.2
Compiling filetime v0.2.23
Compiling escargot v0.5.10
Checking lexopt v0.3.0
Compiling flate2 v1.0.28
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 dyn-clone v1.0.17
Checking faster-hex v0.9.0
Checking unicode-width v0.1.11
Checking streaming-iterator v0.1.9
Checking inquire v0.7.5
Compiling radicle-surf v0.22.0
Checking termion v3.0.0
Checking unicode-display-width v0.3.0
Checking gix-utils v0.1.12
Compiling tree-sitter-css v0.23.1
Compiling tree-sitter-rust v0.23.2
Compiling tree-sitter-html v0.23.2
Compiling tree-sitter-md v0.3.2
Compiling tree-sitter-typescript v0.23.2
Compiling tree-sitter-toml-ng v0.6.0
Compiling tree-sitter-ruby v0.23.1
Compiling tree-sitter-bash v0.23.3
Compiling tree-sitter-go v0.23.4
Compiling tree-sitter-c v0.23.2
Compiling tree-sitter-json v0.24.8
Compiling tree-sitter-python v0.23.4
Checking sqlite3-sys v0.15.2
Checking sqlite v0.32.0
Checking gix-hash v0.14.2
Compiling radicle-cli v0.12.1 (/e5a7e7ea-8c38-4137-af2e-2acf17be188e/w/radicle-cli)
Checking nonempty v0.5.0
Checking base64 v0.13.1
Checking same-file v1.0.6
Checking walkdir v2.5.0
Checking tree-sitter-highlight v0.24.4
Checking prodash v28.0.0
Checking sha1_smol v1.0.0
Checking timeago v0.4.2
Compiling lock_api v0.4.11
Compiling parking_lot_core v0.9.9
Checking gix-features v0.38.2
Checking scopeguard v1.2.0
Compiling num-conv v0.1.0
Checking powerfmt v0.2.0
Compiling time-core v0.1.2
Compiling time-macros v0.2.18
Checking deranged v0.3.11
Checking num_threads v0.1.7
Checking home v0.5.9
Checking parking_lot v0.12.1
Checking gix-path v0.10.9
Checking winnow v0.6.8
Checking gix-validate v0.8.5
Checking gix-chunk v0.4.8
Checking memmap2 v0.9.4
Checking hashbrown v0.14.3
Checking time v0.3.36
Checking shell-words v1.1.0
Checking gix-command v0.3.6
Checking gix-hashtable v0.5.2
Checking gix-commitgraph v0.24.3
Checking gix-config-value v0.14.6
Checking gix-url v0.27.3
Checking gix-fs v0.11.2
Checking gix-quote v0.4.12
Checking gix-date v0.8.7
Checking gix-sec v0.10.6
Checking gix-tempfile v14.0.1
Checking gix-prompt v0.8.4
Checking gix-actor v0.31.5
Checking gix-packetline v0.17.5
Checking gix-credentials v0.24.2
Checking gix-object v0.42.3
Checking gix-transport v0.42.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-revwalk v0.13.2
Checking gix-diff v0.44.1
Checking gix-traverse v0.39.2
Checking io-reactor v0.5.2
Checking gix-pack v0.51.1
Checking salsa20 v0.10.2
Checking gix-protocol v0.45.0
Checking socket2 v0.5.7
Compiling radicle-node v0.10.0 (/e5a7e7ea-8c38-4137-af2e-2acf17be188e/w/radicle-node)
Checking siphasher v0.3.11
Checking bloomy v1.2.0
Checking gix-odb v0.61.1
Checking netservices v0.8.0
Checking scrypt v0.11.0
Checking radicle-systemd v0.9.0 (/e5a7e7ea-8c38-4137-af2e-2acf17be188e/w/radicle-systemd)
Compiling qcheck-macros v1.0.0
Compiling getrandom v0.3.1
Compiling radicle-remote-helper v0.10.0 (/e5a7e7ea-8c38-4137-af2e-2acf17be188e/w/radicle-remote-helper)
Compiling thiserror v2.0.11
Compiling thiserror-impl v2.0.11
Checking uuid v1.13.1
Checking nonempty v0.11.0
Checking git2 v0.19.0
Checking radicle-git-ext v0.8.0
Checking radicle-term v0.12.0 (/e5a7e7ea-8c38-4137-af2e-2acf17be188e/w/radicle-term)
Checking radicle-crypto v0.11.0 (/e5a7e7ea-8c38-4137-af2e-2acf17be188e/w/radicle-crypto)
Checking radicle-cob v0.13.0 (/e5a7e7ea-8c38-4137-af2e-2acf17be188e/w/radicle-cob)
Checking radicle-crdt v0.1.0 (/e5a7e7ea-8c38-4137-af2e-2acf17be188e/w/radicle-crdt)
Checking radicle v0.14.0 (/e5a7e7ea-8c38-4137-af2e-2acf17be188e/w/radicle)
Checking radicle-cli-test v0.10.0 (/e5a7e7ea-8c38-4137-af2e-2acf17be188e/w/radicle-cli-test)
Checking radicle-fetch v0.10.0 (/e5a7e7ea-8c38-4137-af2e-2acf17be188e/w/radicle-fetch)
Checking radicle-job v0.9.0 (/e5a7e7ea-8c38-4137-af2e-2acf17be188e/w/radicle-job)
Checking radicle-tools v0.9.0 (/e5a7e7ea-8c38-4137-af2e-2acf17be188e/w/radicle-tools)
Finished `dev` profile [unoptimized + debuginfo] target(s) in 53.89s
+ cargo build --all-targets --workspace
Compiling cfg-if v1.0.0
Compiling libc v0.2.155
Compiling shlex v1.3.0
Compiling thiserror v1.0.69
Compiling typenum v1.17.0
Compiling memchr v2.7.2
Compiling regex-syntax v0.8.5
Compiling jobserver v0.1.31
Compiling getrandom v0.2.14
Compiling cc v1.2.2
Compiling rand_core v0.6.4
Compiling generic-array v0.14.7
Compiling aho-corasick v1.1.3
Compiling crypto-common v0.1.6
Compiling smallvec v1.13.2
Compiling bitflags v2.5.0
Compiling regex-automata v0.4.9
Compiling fastrand v2.1.0
Compiling subtle v2.5.0
Compiling zerofrom v0.1.5
Compiling stable_deref_trait v1.2.0
Compiling yoke v0.7.5
Compiling zeroize v1.7.0
Compiling zerovec v0.10.4
Compiling cpufeatures v0.2.12
Compiling serde v1.0.217
Compiling tinystr v0.7.6
Compiling bstr v1.9.1
Compiling block-padding v0.3.3
Compiling writeable v0.5.5
Compiling litemap v0.7.4
Compiling icu_locid v1.5.0
Compiling inout v0.1.3
Compiling block-buffer v0.10.4
Compiling digest v0.10.7
Compiling cipher v0.4.4
Compiling icu_provider v1.5.0
Compiling icu_locid_transform_data v1.5.0
Compiling icu_collections v1.5.0
Compiling icu_locid_transform v1.5.0
Compiling icu_properties_data v1.5.0
Compiling icu_properties v1.5.1
Compiling utf8_iter v1.0.4
Compiling utf16_iter v1.0.5
Compiling icu_normalizer_data v1.5.0
Compiling write16 v1.0.0
Compiling tinyvec_macros v0.1.1
Compiling sha2 v0.10.8
Compiling tinyvec v1.6.0
Compiling icu_normalizer v1.5.0
Compiling unicode-normalization v0.1.23
Compiling idna_adapter v1.2.0
Compiling once_cell v1.20.3
Compiling percent-encoding v2.3.1
Compiling idna v1.0.3
Compiling form_urlencoded v1.2.1
Compiling universal-hash v0.5.1
Compiling opaque-debug v0.3.1
Compiling libz-sys v1.1.16
Compiling url v2.5.4
Compiling byteorder v1.5.0
Compiling ascii v1.1.0
Compiling adler v1.0.2
Compiling signature v1.6.4
Compiling linux-raw-sys v0.4.13
Compiling amplify_num v0.5.2
Compiling data-encoding v2.5.0
Compiling log v0.4.21
Compiling itoa v1.0.11
Compiling rustix v0.38.34
Compiling ed25519 v1.5.3
Compiling data-encoding-macro v0.1.14
Compiling miniz_oxide v0.7.2
Compiling amplify v4.6.0
Compiling crc32fast v1.4.0
Compiling libgit2-sys v0.17.0+1.8.1
Compiling aead v0.5.2
Compiling ct-codecs v1.1.1
Compiling base-x v0.2.11
Compiling multibase v0.9.1
Compiling ec25519 v0.1.0
Compiling poly1305 v0.8.0
Compiling chacha20 v0.9.1
Compiling cyphergraphy v0.3.0
Compiling keccak v0.1.5
Compiling sha3 v0.10.8
Compiling polyval v0.6.2
Compiling hmac v0.12.1
Compiling sqlite3-src v0.5.1
Compiling git-ref-format-core v0.3.0
Compiling base32 v0.4.0
Compiling ppv-lite86 v0.2.17
Compiling base64ct v1.6.0
Compiling pem-rfc7468 v0.7.0
Compiling rand_chacha v0.3.1
Compiling git-ref-format-macro v0.3.0
Compiling cypheraddr v0.4.0
Compiling pbkdf2 v0.12.2
Compiling ghash v0.5.1
Compiling chacha20poly1305 v0.10.1
Compiling tempfile v3.10.1
Compiling ctr v0.9.2
Compiling aes v0.8.4
Compiling git-ref-format v0.3.0
Compiling noise-framework v0.4.0
Compiling aes-gcm v0.10.3
Compiling socks5-client v0.4.1
Compiling rand v0.8.5
Compiling ssh-encoding v0.2.0
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 crossbeam-channel v0.5.13
Compiling ssh-key v0.6.6
Compiling qcheck v1.0.0
Compiling radicle-ssh v0.9.0 (/e5a7e7ea-8c38-4137-af2e-2acf17be188e/w/radicle-ssh)
Compiling equivalent v1.0.1
Compiling hashbrown v0.15.2
Compiling ryu v1.0.17
Compiling indexmap v2.7.1
Compiling num-traits v0.2.18
Compiling nonempty v0.9.0
Compiling radicle-dag v0.10.0 (/e5a7e7ea-8c38-4137-af2e-2acf17be188e/w/radicle-dag)
Compiling serde_json v1.0.116
Compiling tree-sitter-language v0.1.2
Compiling lazy_static v1.5.0
Compiling iana-time-zone v0.1.60
Compiling chrono v0.4.38
Compiling colored v2.1.0
Compiling localtime v1.3.1
Compiling base64 v0.21.7
Compiling siphasher v1.0.1
Compiling anstyle-query v1.0.2
Compiling utf8parse v0.2.1
Compiling anstyle-parse v0.2.3
Compiling anyhow v1.0.82
Compiling colorchoice v1.0.0
Compiling anstyle v1.0.6
Compiling anstream v0.6.13
Compiling similar v2.5.0
Compiling snapbox-macros v0.3.8
Compiling normalize-line-endings v0.3.0
Compiling snapbox v0.4.17
Compiling radicle-signals v0.10.0 (/e5a7e7ea-8c38-4137-af2e-2acf17be188e/w/radicle-signals)
Compiling tree-sitter v0.24.4
Compiling unicode-segmentation v1.11.0
Compiling numtoa v0.1.0
Compiling yansi v0.5.1
Compiling diff v0.1.13
Compiling gix-trace v0.1.9
Compiling pretty_assertions v1.4.0
Compiling xattr v1.3.1
Compiling filetime v0.2.23
Compiling lexopt v0.3.0
Compiling tar v0.4.40
Compiling termion v2.0.3
Compiling newline-converter v0.3.0
Compiling flate2 v1.0.28
Compiling fxhash v0.2.1
Compiling regex v1.11.1
Compiling streaming-iterator v0.1.9
Compiling faster-hex v0.9.0
Compiling dyn-clone v1.0.17
Compiling unicode-width v0.1.11
Compiling inquire v0.7.5
Compiling radicle-surf v0.22.0
Compiling escargot v0.5.10
Compiling termion v3.0.0
Compiling unicode-display-width v0.3.0
Compiling gix-utils v0.1.12
Compiling tree-sitter-toml-ng v0.6.0
Compiling tree-sitter-md v0.3.2
Compiling tree-sitter-python v0.23.4
Compiling tree-sitter-json v0.24.8
Compiling tree-sitter-html v0.23.2
Compiling sqlite3-sys v0.15.2
Compiling tree-sitter-c v0.23.2
Compiling tree-sitter-typescript v0.23.2
Compiling sqlite v0.32.0
Compiling tree-sitter-css v0.23.1
Compiling tree-sitter-bash v0.23.3
Compiling tree-sitter-go v0.23.4
Compiling tree-sitter-rust v0.23.2
Compiling tree-sitter-ruby v0.23.1
Compiling gix-hash v0.14.2
Compiling same-file v1.0.6
Compiling base64 v0.13.1
Compiling nonempty v0.5.0
Compiling radicle-cli v0.12.1 (/e5a7e7ea-8c38-4137-af2e-2acf17be188e/w/radicle-cli)
Compiling walkdir v2.5.0
Compiling tree-sitter-highlight v0.24.4
Compiling sha1_smol v1.0.0
Compiling timeago v0.4.2
Compiling prodash v28.0.0
Compiling gix-features v0.38.2
Compiling time-core v0.1.2
Compiling scopeguard v1.2.0
Compiling powerfmt v0.2.0
Compiling num-conv v0.1.0
Compiling deranged v0.3.11
Compiling lock_api v0.4.11
Compiling time-macros v0.2.18
Compiling parking_lot_core v0.9.9
Compiling num_threads v0.1.7
Compiling home v0.5.9
Compiling gix-path v0.10.9
Compiling parking_lot v0.12.1
Compiling winnow v0.6.8
Compiling gix-validate v0.8.5
Compiling memmap2 v0.9.4
Compiling time v0.3.36
Compiling gix-chunk v0.4.8
Compiling shell-words v1.1.0
Compiling hashbrown v0.14.3
Compiling gix-command v0.3.6
Compiling gix-commitgraph v0.24.3
Compiling gix-hashtable v0.5.2
Compiling gix-config-value v0.14.6
Compiling gix-date v0.8.7
Compiling gix-url v0.27.3
Compiling gix-actor v0.31.5
Compiling gix-object v0.42.3
Compiling gix-fs v0.11.2
Compiling gix-quote v0.4.12
Compiling gix-sec v0.10.6
Compiling gix-tempfile v14.0.1
Compiling gix-prompt v0.8.4
Compiling gix-revwalk v0.13.2
Compiling gix-diff v0.44.1
Compiling gix-traverse v0.39.2
Compiling gix-packetline v0.17.5
Compiling gix-transport v0.42.0
Compiling gix-pack v0.51.1
Compiling gix-credentials v0.24.2
Compiling arc-swap v1.7.1
Compiling gix-protocol v0.45.0
Compiling gix-odb v0.61.1
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 siphasher v0.3.11
Compiling radicle-node v0.10.0 (/e5a7e7ea-8c38-4137-af2e-2acf17be188e/w/radicle-node)
Compiling bloomy v1.2.0
Compiling netservices v0.8.0
Compiling scrypt v0.11.0
Compiling radicle-systemd v0.9.0 (/e5a7e7ea-8c38-4137-af2e-2acf17be188e/w/radicle-systemd)
Compiling radicle-remote-helper v0.10.0 (/e5a7e7ea-8c38-4137-af2e-2acf17be188e/w/radicle-remote-helper)
Compiling getrandom v0.3.1
Compiling thiserror v2.0.11
Compiling uuid v1.13.1
Compiling nonempty v0.11.0
Compiling git2 v0.19.0
Compiling radicle-git-ext v0.8.0
Compiling radicle-term v0.12.0 (/e5a7e7ea-8c38-4137-af2e-2acf17be188e/w/radicle-term)
Compiling radicle-crypto v0.11.0 (/e5a7e7ea-8c38-4137-af2e-2acf17be188e/w/radicle-crypto)
Compiling radicle-cob v0.13.0 (/e5a7e7ea-8c38-4137-af2e-2acf17be188e/w/radicle-cob)
Compiling radicle-crdt v0.1.0 (/e5a7e7ea-8c38-4137-af2e-2acf17be188e/w/radicle-crdt)
Compiling radicle v0.14.0 (/e5a7e7ea-8c38-4137-af2e-2acf17be188e/w/radicle)
Compiling radicle-cli-test v0.10.0 (/e5a7e7ea-8c38-4137-af2e-2acf17be188e/w/radicle-cli-test)
Compiling radicle-fetch v0.10.0 (/e5a7e7ea-8c38-4137-af2e-2acf17be188e/w/radicle-fetch)
Compiling radicle-tools v0.9.0 (/e5a7e7ea-8c38-4137-af2e-2acf17be188e/w/radicle-tools)
Compiling radicle-job v0.9.0 (/e5a7e7ea-8c38-4137-af2e-2acf17be188e/w/radicle-job)
Finished `dev` profile [unoptimized + debuginfo] target(s) in 1m 29s
+ cargo doc --workspace --no-deps
Compiling syn v1.0.109
Checking radicle-ssh v0.9.0 (/e5a7e7ea-8c38-4137-af2e-2acf17be188e/w/radicle-ssh)
Checking radicle-dag v0.10.0 (/e5a7e7ea-8c38-4137-af2e-2acf17be188e/w/radicle-dag)
Checking radicle-signals v0.10.0 (/e5a7e7ea-8c38-4137-af2e-2acf17be188e/w/radicle-signals)
Compiling radicle-cli v0.12.1 (/e5a7e7ea-8c38-4137-af2e-2acf17be188e/w/radicle-cli)
Checking radicle-term v0.12.0 (/e5a7e7ea-8c38-4137-af2e-2acf17be188e/w/radicle-term)
Compiling radicle-node v0.10.0 (/e5a7e7ea-8c38-4137-af2e-2acf17be188e/w/radicle-node)
Checking radicle-systemd v0.9.0 (/e5a7e7ea-8c38-4137-af2e-2acf17be188e/w/radicle-systemd)
Documenting radicle-term v0.12.0 (/e5a7e7ea-8c38-4137-af2e-2acf17be188e/w/radicle-term)
Documenting radicle-signals v0.10.0 (/e5a7e7ea-8c38-4137-af2e-2acf17be188e/w/radicle-signals)
Documenting radicle-ssh v0.9.0 (/e5a7e7ea-8c38-4137-af2e-2acf17be188e/w/radicle-ssh)
Documenting radicle-dag v0.10.0 (/e5a7e7ea-8c38-4137-af2e-2acf17be188e/w/radicle-dag)
Documenting radicle-systemd v0.9.0 (/e5a7e7ea-8c38-4137-af2e-2acf17be188e/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 (/e5a7e7ea-8c38-4137-af2e-2acf17be188e/w/radicle-crypto)
Checking netservices v0.8.0
Documenting radicle-crypto v0.11.0 (/e5a7e7ea-8c38-4137-af2e-2acf17be188e/w/radicle-crypto)
Checking radicle-cob v0.13.0 (/e5a7e7ea-8c38-4137-af2e-2acf17be188e/w/radicle-cob)
Documenting radicle-cob v0.13.0 (/e5a7e7ea-8c38-4137-af2e-2acf17be188e/w/radicle-cob)
Documenting radicle-crdt v0.1.0 (/e5a7e7ea-8c38-4137-af2e-2acf17be188e/w/radicle-crdt)
Checking radicle v0.14.0 (/e5a7e7ea-8c38-4137-af2e-2acf17be188e/w/radicle)
Documenting radicle v0.14.0 (/e5a7e7ea-8c38-4137-af2e-2acf17be188e/w/radicle)
Checking radicle-cli-test v0.10.0 (/e5a7e7ea-8c38-4137-af2e-2acf17be188e/w/radicle-cli-test)
Checking radicle-fetch v0.10.0 (/e5a7e7ea-8c38-4137-af2e-2acf17be188e/w/radicle-fetch)
Documenting radicle-fetch v0.10.0 (/e5a7e7ea-8c38-4137-af2e-2acf17be188e/w/radicle-fetch)
Documenting radicle-job v0.9.0 (/e5a7e7ea-8c38-4137-af2e-2acf17be188e/w/radicle-job)
Documenting radicle-cli v0.12.1 (/e5a7e7ea-8c38-4137-af2e-2acf17be188e/w/radicle-cli)
Documenting radicle-node v0.10.0 (/e5a7e7ea-8c38-4137-af2e-2acf17be188e/w/radicle-node)
Documenting radicle-cli-test v0.10.0 (/e5a7e7ea-8c38-4137-af2e-2acf17be188e/w/radicle-cli-test)
Checking radicle-remote-helper v0.10.0 (/e5a7e7ea-8c38-4137-af2e-2acf17be188e/w/radicle-remote-helper)
Documenting radicle-remote-helper v0.10.0 (/e5a7e7ea-8c38-4137-af2e-2acf17be188e/w/radicle-remote-helper)
Documenting radicle-tools v0.9.0 (/e5a7e7ea-8c38-4137-af2e-2acf17be188e/w/radicle-tools)
Finished `dev` profile [unoptimized + debuginfo] target(s) in 10.28s
Generated /e5a7e7ea-8c38-4137-af2e-2acf17be188e/w/target/doc/radicle/index.html and 23 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-56bd9525f817221e)
running 167 tests
test canonical::formatter::test::ascii_control_characters ... ok
test canonical::formatter::test::ordered_nested_object ... ok
test canonical::formatter::test::securesystemslib_asserts ... ok
test cob::cache::migrations::_2::tests::test_migration_2 ... ok
test cob::cache::migrations::_2::tests::test_patch_json_deserialization ... ok
test cob::cache::tests::test_check_version ... ok
test cob::cache::tests::test_migrate_to ... ok
test cob::common::test::test_color ... 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_remove_delegate_concurrent ... ok
test cob::identity::test::test_identity_update_rejected ... ok
test cob::identity::test::test_identity_reject_concurrent ... 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_identity_updates_concurrent ... ok
test cob::issue::test::test_embeds ... ok
test cob::identity::test::test_valid_identity ... 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_issue_all ... ok
test cob::issue::test::test_invalid_tx ... ok
test cob::issue::test::test_invalid_cob ... ok
test cob::issue::test::test_concurrency ... 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_create_and_change_state ... 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_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::patch::cache::tests::test_get ... ok
test cob::patch::cache::tests::test_is_empty ... ok
test cob::patch::cache::tests::test_list ... ok
test cob::issue::test::test_issue_reply ... ok
test cob::patch::cache::tests::test_counts ... ok
test cob::patch::test::test_json ... ok
test cob::patch::test::test_json_serialization ... ok
test cob::patch::cache::tests::test_list_by_status ... ok
test cob::patch::test::test_patch_create_and_get ... ok
test cob::patch::cache::tests::test_remove ... ok
test cob::patch::test::test_patch_discussion ... ok
test cob::patch::test::test_patch_merge ... ok
test cob::patch::test::test_patch_review ... ok
test cob::patch::test::test_patch_redact ... 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_remove_summary ... ok
test cob::patch::test::test_patch_review_edit_comment ... 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_merges ... ok
test git::canonical::tests::test_quorum ... 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 git::canonical::tests::test_quorum_properties ... ok
test cob::thread::tests::prop_ordering ... ok
test identity::doc::test::test_canonical_doc ... 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 identity::doc::test::test_canonical_example ... 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_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_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 identity::doc::test::test_max_delegates ... 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_duplicate ... ok
test node::routing::test::test_insert_existing_updated_time ... ok
test node::routing::test::test_len ... ok
test node::routing::test::test_insert_and_remove ... 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 node::routing::test::test_prune ... 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 storage::refs::tests::test_rid_verification ... ok
test identity::doc::test::prop_encode_decode ... ok
test cob::patch::cache::tests::test_find_by_revision ... ok
test result: ok. 167 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 2.35s
Running unittests src/lib.rs (target/debug/deps/radicle_cli-3ba39aa286798132)
running 14 tests
test commands::rad_inspect::test::test_tree ... ok
test commands::rad_patch::review::builder::tests::test_review_comments_multiline ... ok
test commands::rad_patch::review::builder::tests::test_review_comments_basic ... ok
test git::pretty_diff::test::test_pretty ... ignored
test commands::rad_patch::review::builder::tests::test_review_comments_split_hunk ... ok
test commands::rad_patch::review::builder::tests::test_review_comments_before ... ok
test git::unified_diff::test::test_diff_content_encode_decode_content ... ok
test terminal::format::test::test_bytes ... ok
test git::ddiff::tests::diff_encode_decode_ddiff_hunk ... ok
test git::unified_diff::test::test_diff_encode_decode_diff ... 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-e293e90026eee5e5)
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-4bf74bb0585ceb99)
running 91 tests
test framework_home ... ok
test git_push_and_fetch ... ok
test git_push_amend ... 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_cob_log ... ok
test rad_clone_connect ... ok
test rad_cob_migrate ... ok
test rad_config ... ok
test rad_clone_partial_fail ... ok
test rad_cob_show ... 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_fork ... ok
test rad_init_private_seed ... 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_patch_ahead_behind ... ok
test rad_node ... 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_patch_edit ... ok
test rad_init_sync_and_clone ... ok
test rad_patch_merge_draft ... ok
test rad_patch_fetch_2 ... ok
test rad_patch_fetch_1 ... ok
test rad_patch_delete ... ok
test rad_patch_revert_merge ... ok
test rad_patch_update ... ok
test rad_publish ... ok
test rad_patch_open_explore ... ok
test rad_patch_via_push ... ok
test rad_review_by_hunk ... ok
test rad_seed_and_follow ... ok
test rad_self ... ok
test rad_remote ... ok
test rad_sync_without_node ... ok
test rad_unseed ... ok
test rad_push_and_pull_patches ... ok
test rad_sync ... ok
test test_clone_without_seeds ... ok
test rad_watch ... 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. 90 passed; 0 failed; 1 ignored; 0 measured; 0 filtered out; finished in 71.30s
Running unittests src/lib.rs (target/debug/deps/radicle_cli_test-c07cbe6f69534127)
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-c903b6af8b548b47)
running 8 tests
test object::tests::test_serde ... ok
test tests::parse_refstr ... ok
test tests::invalid_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-0d76ff85d5d03f3f)
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 gmap::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 gset::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-2755637be513b548)
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-8f2b491dc1bd0d36)
running 20 tests
test tests::test_contains ... ok
test tests::test_cycle ... ok
test tests::test_dependencies ... ok
test tests::test_diamond ... ok
test tests::test_fold_diamond ... ok
test tests::test_fold_multiple_roots ... ok
test tests::test_fold_sorting_1 ... ok
test tests::test_fold_reject ... ok
test tests::test_get ... ok
test tests::test_fold_sorting_2 ... ok
test tests::test_is_empty ... ok
test tests::test_len ... ok
test tests::test_complex ... ok
test tests::test_merge_2 ... ok
test tests::test_merge_1 ... 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-63b863edba6a7c9d)
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_job-c35eeed9478f25bf)
running 3 tests
test test::missing_commit ... ok
test test::idempotent_create ... ok
test test::e2e ... ok
test result: ok. 3 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.07s
Running unittests src/lib.rs (target/debug/deps/radicle_node-07eef56cc8269ce3)
running 112 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 service::limiter::test::test_limitter_different_rates ... ok
test service::gossip::store::test::test_announced ... ok
test service::limiter::test::test_limitter_refill ... ok
test control::tests::test_seed_unseed ... ok
test service::filter::test::test_sizes ... ok
test service::limiter::test::test_limitter_multi ... ok
test service::message::tests::test_inventory_limit ... ok
test service::message::tests::test_ref_remote_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_clone ... ok
test tests::e2e::test_catchup_on_refs_announcements ... ok
test service::message::tests::test_node_announcement_validate ... ok
test tests::e2e::test_dont_fetch_owned_refs ... ok
test tests::e2e::test_connection_crossing ... ok
test tests::e2e::test_fetch_followed_remotes ... ok
test tests::e2e::test_fetch_preserve_owned_refs ... ok
test tests::e2e::test_fetch_unseeded ... ok
test tests::e2e::test_fetch_up_to_date ... ok
test tests::e2e::test_concurrent_fetches ... 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_relay ... ok
test tests::test_announcement_rebroadcast_timestamp_filtered ... 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_outbound_connection ... ok
test tests::test_inventory_pruning ... 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_synced_event ... ok
test tests::test_refs_announcement_relay_public ... 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 wire::message::tests::prop_message_encode_decode ... ok
test wire::message::tests::prop_zero_bytes_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::test_refs_ann_max_size ... ok
test wire::protocol::test::test_inventory_ann_with_extension ... ok
test wire::protocol::test::test_pong_message_with_extension ... ok
test wire::message::tests::prop_message_decoder ... ok
test wire::tests::prop_id ... ok
test wire::tests::prop_oid ... ok
test wire::tests::prop_filter ... ok
test wire::tests::prop_refs ... ok
test wire::tests::prop_signature ... ok
test wire::tests::prop_pubkey ... 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_signed_refs ... 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::tests::prop_vec ... ok
test tests::prop_inventory_exchange_dense ... ok
test tests::test_announcement_message_amplification ... ok
test result: ok. 112 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 17.94s
Running unittests src/main.rs (target/debug/deps/radicle_node-3b78780bb933da31)
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-affff5f0669bd5b6)
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-f29d0ecca39cd223)
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-ec0de5227c6b2b1f)
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-ff9f2870239dd55b)
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-47b9b3f175363f9b)
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-6f46bf8c36df831d)
running 20 tests
test cell::test::test_width ... ok
test ansi::tests::colors_enabled ... ok
test ansi::tests::colors_disabled ... ok
test ansi::tests::wrapping ... ok
test table::test::test_table ... ok
test element::test::test_truncate ... ok
test table::test::test_table_border ... ok
test element::test::test_width ... ok
test table::test::test_table_border_maximized ... ok
test table::test::test_table_truncate ... ok
test table::test::test_table_border_truncated ... 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_code_block ... ok
test textarea::test::test_wrapping ... ok
test vstack::test::test_vstack_maximize ... ok
test vstack::test::test_vstack ... ok
test textarea::test::test_wrapping_fenced_block ... 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-5b21c16f2f10315b)
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-c09cd652cf5cf822)
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-fa23b50287128a1a)
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-8c2f0699861a9cdc)
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-27acf5305e988503)
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-1b3c1d1dd0a3b72c)
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-4f39d6978c15e5b3)
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_job
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>::max (line 96) ... ok
test radicle-node/src/bounded.rs - bounded::BoundedVec<T,N>::truncate (line 50) ... 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.45s
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.38s
Exit code: 0
{
"response": "finished",
"result": "success"
}