rad:z3gqcJUoA1n9HaHKufZs5FCSGazv5 heartwood0db6602c1bc79c30d3351e43384d37f33e7b1bef
{
"request": "trigger",
"version": 1,
"event_type": "patch",
"repository": {
"id": "rad:z3gqcJUoA1n9HaHKufZs5FCSGazv5",
"name": "heartwood",
"description": "Radicle Heartwood Protocol & Stack",
"private": false,
"default_branch": "master",
"delegates": [
"did:key:z6MksFqXN3Yhqk8pTJdUGLwATkRfQvwZXPqR2qMEhbS9wzpT",
"did:key:z6MktaNvN1KVFMkSRAiN4qK5yvX1zuEEaseeX5sffhzPZRZW",
"did:key:z6MkireRatUThvd3qzfKht1S44wpm4FEWSSa4PRMTSQZ3voM",
"did:key:z6MkgFq6z5fkF2hioLLSNu1zP2qEL1aHXHZzGH1FLFGAnBGz",
"did:key:z6MkkPvBfjP4bQmco5Dm7UGsX2ruDBieEHi8n9DVJWX5sTEz"
]
},
"action": "Created",
"patch": {
"id": "1cd8044782249b95d577e0678f10eba8c6f32e35",
"author": {
"id": "did:key:z6MkireRatUThvd3qzfKht1S44wpm4FEWSSa4PRMTSQZ3voM",
"alias": "fintohaps"
},
"title": "A Little Less `git2`",
"state": {
"status": "open",
"conflicts": []
},
"before": "ea562215eaa163568c3f1061e4cbbd907e9913db",
"after": "0db6602c1bc79c30d3351e43384d37f33e7b1bef",
"commits": [
"0db6602c1bc79c30d3351e43384d37f33e7b1bef",
"212942145cafbdabadfb85dd3feb616b463efd40",
"514fa55da9dadbab73b5d654f25f7b94d85add3b",
"db6df4e8c9b0133b86ad88d09924e5b4e6e5d061",
"cc2ea18ddcb1a7c045cabd1901c5ea1e29e560ce",
"3f16f07212c36000c879daccb4461bd5ccee41a0"
],
"target": "ea562215eaa163568c3f1061e4cbbd907e9913db",
"labels": [],
"assignees": [],
"revisions": [
{
"id": "1cd8044782249b95d577e0678f10eba8c6f32e35",
"author": {
"id": "did:key:z6MkireRatUThvd3qzfKht1S44wpm4FEWSSa4PRMTSQZ3voM",
"alias": "fintohaps"
},
"description": "(I should write up a lengthy description\u2026)",
"base": "5caa7b302a7d4f247aaa7cc688a692aac4486464",
"oid": "d0b815c1715dfd78a7aba632356513370d189eaa",
"timestamp": 1759707360
},
{
"id": "8a36f8eecf18c0e990125564da0f89bbbbb00aa6",
"author": {
"id": "did:key:z6MkireRatUThvd3qzfKht1S44wpm4FEWSSa4PRMTSQZ3voM",
"alias": "fintohaps"
},
"description": "Make `git2` an *optional* dependency of `radicle-cob`, *no* dependency\n(also not transitively) of `radicle-crypto`, and refactor `radicle` to\ndepend on crates that in turn do not depend on `git2`\n*non-optionally*.\n\n### New Crates\n\n`radicle-git-metadata`, `radicle-git-ref-format`, and `radicle-oid` are\nintroduced. Refer to their documentation in the respective `lib.rs`.\n\n### Refactoring\n\nThe main offending dependency of `radicle-cob` is `radicle-git-ext`\nfrom the `radicle-git` workspace in repository\n(rad:z6cFWeWpnZNHh9rUW8phgA3b5yGt) which *non-optionally* depends on\n`git2`.\n\nSo, to achieve removal of this dependency:\n\n 1. The crate is refactored to depend on the new crates\n `radicle-git-ref-format` `radicle-git-metadata`, and\n `radicle-oid` introduced in the previous commits, instead of\n `radicle-git-ext`.\n 2. Some code from the `radicle-git-ext` crate in the `radicle-git`\n workspace in repository (rad:z6cFWeWpnZNHh9rUW8phgA3b5yGt) is\n copied. See `crates/radicle-cob/src/backend/git/commit.rs`.\n\nThis cascades to `radicle` and its dependents.\n\n Firstly, the there is an\n`impl Deref<Target=git2::Oid> for radicle_git_ext::Oid`. This made\nit very convenient to just deref to obtain the wrapped `git2::Oid`,\nso there are many expressions of the shape `*oid` in `radicle` and\nits dependents. However `radicle-oid` does not provide\n`impl Deref<Target=git2::Oid> for radicle_oid::Oid`, as notably,\n`Target` is an associated type, and not a type parameter, so an\nimplementation of `Deref` would tie the new `Oid` too tightly to a\nparticular implementation.\nInstead, work with `impl From<radicle_oid::Oid> for git2::Oid`\n(which can be enabled using the feature flag `radicle-oid/git2`).\nThis explains the changes from `*oid` to `oid.into()` at every\ntransition to \"`git2` land\".\n\n Secondly, `radicle` and its dependents are refactored to also depend\non `radicle-git-ref-format` and (much less prominently)\n`radicle-git-metadata` instead of `radicle-git-ext`\nThis is to avoid pulling in `git2` via these dependencies.\n\n Thirdly, as the re-exports in `crates/radicle/src/git.rs` change,\nthey are at the same time also cleaned up. Notably, the types from\n`radicle-git-ref-format` are re-exported under `fmt` only, not \"twice\".\nAlso, instead of re-exporting all of `git2`, the module `raw` actually\nonly provides the re-exports required to build the workspace\n(potentially breaking dependents outside the workspace, but given just\nhow many types are re-exported, this seems unlikely) and injects an\nextension trait for more ergonomic error handling. Uses of\n`radicle_git_ext::Error` are replaced with uses of the extension trait.\n\nWhile overall this obviously is very much a breaking change, these\nchanges should mostly amount to changing from `Deref` to `Into`, i.e.,\n`*oid` \u2192 `oid.into()`, importing the extension trait as necessary, and\nrewriting imports for `radicle::git::fmt`. This is indicated by the\nmostly mechanical nature of the changes to\n`crates/radicle-{cli,node,remote-helper}`.",
"base": "2e77d5ef4df526a8453d38d6d2d735fe9ce7e423",
"oid": "7fe1584106be32b9f2c5c153bd0d6052016dd4eb",
"timestamp": 1759877418
},
{
"id": "8c293dee6c08d53311abff02f3af729e9103cb6f",
"author": {
"id": "did:key:z6MkireRatUThvd3qzfKht1S44wpm4FEWSSa4PRMTSQZ3voM",
"alias": "fintohaps"
},
"description": "Rebase onto spun out patches:\n - `222bc576b7ffb7b9650be00525a1b66087c83b44`\n - `a1b9d9c92737f12b5b24405042e2432cc9730a5e`",
"base": "ac572e64e5029cb1db16f05158915b6ef55ab7e7",
"oid": "435a75304663802c85d7083ffb35a8d78eb3ab65",
"timestamp": 1760045529
},
{
"id": "8a2ca52af6004ddee5fcce8802f22a7d79f1f83d",
"author": {
"id": "did:key:z6MkireRatUThvd3qzfKht1S44wpm4FEWSSa4PRMTSQZ3voM",
"alias": "fintohaps"
},
"description": "Rebase",
"base": "633059040cf1aae705172e7dac24c1fd863d44e9",
"oid": "1d81f96ffbe3ea878181df42a3b699defc687e0d",
"timestamp": 1760089036
},
{
"id": "01334a94976a3191e59fba481c17abd724ccf3ba",
"author": {
"id": "did:key:z6MkireRatUThvd3qzfKht1S44wpm4FEWSSa4PRMTSQZ3voM",
"alias": "fintohaps"
},
"description": "Linearize",
"base": "633059040cf1aae705172e7dac24c1fd863d44e9",
"oid": "3e505578b948a7541d0d88e286c0a8f1a953a115",
"timestamp": 1760089170
},
{
"id": "35ede635a75beb42ffcb629344b0e2b8de31b6b0",
"author": {
"id": "did:key:z6MkireRatUThvd3qzfKht1S44wpm4FEWSSa4PRMTSQZ3voM",
"alias": "fintohaps"
},
"description": "Edit commit messages",
"base": "ea562215eaa163568c3f1061e4cbbd907e9913db",
"oid": "a1bece58c85c29d948e25abfb851814924bd9141",
"timestamp": 1760090217
},
{
"id": "af50a86347e8f3cc13d5f4d03142ba9523d7aa75",
"author": {
"id": "did:key:z6MkireRatUThvd3qzfKht1S44wpm4FEWSSa4PRMTSQZ3voM",
"alias": "fintohaps"
},
"description": "REVIEW",
"base": "ea562215eaa163568c3f1061e4cbbd907e9913db",
"oid": "0db6602c1bc79c30d3351e43384d37f33e7b1bef",
"timestamp": 1760099394
}
]
}
}
{
"response": "triggered",
"run_id": {
"id": "9acdcb45-04ab-40d2-88ba-3f2e421ac71e"
},
"info_url": "https://cci.rad.levitte.org//9acdcb45-04ab-40d2-88ba-3f2e421ac71e.html"
}
Started at: 2025-10-10 14:29:57.682151+02:00
Commands:
$ rad clone rad:z3gqcJUoA1n9HaHKufZs5FCSGazv5 .
✓ Creating checkout in ./...
✓ Remote cloudhead@z6MksFqXN3Yhqk8pTJdUGLwATkRfQvwZXPqR2qMEhbS9wzpT added
✓ Remote-tracking branch cloudhead@z6MksFqXN3Yhqk8pTJdUGLwATkRfQvwZXPqR2qMEhbS9wzpT/master created for z6MksFqXN3Yhqk8pTJdUGLwATkRfQvwZXPqR2qMEhbS9wzpT
✓ Remote cloudhead@z6MktaNvN1KVFMkSRAiN4qK5yvX1zuEEaseeX5sffhzPZRZW added
✓ Remote-tracking branch cloudhead@z6MktaNvN1KVFMkSRAiN4qK5yvX1zuEEaseeX5sffhzPZRZW/master created for z6MktaNvN1KVFMkSRAiN4qK5yvX1zuEEaseeX5sffhzPZRZW
✓ Remote fintohaps@z6MkireRatUThvd3qzfKht1S44wpm4FEWSSa4PRMTSQZ3voM added
✓ Remote-tracking branch fintohaps@z6MkireRatUThvd3qzfKht1S44wpm4FEWSSa4PRMTSQZ3voM/master created for z6MkireRatUThvd3qzfKht1S44wpm4FEWSSa4PRMTSQZ3voM
✓ Remote erikli@z6MkgFq6z5fkF2hioLLSNu1zP2qEL1aHXHZzGH1FLFGAnBGz added
✓ Remote-tracking branch erikli@z6MkgFq6z5fkF2hioLLSNu1zP2qEL1aHXHZzGH1FLFGAnBGz/master created for z6MkgFq6z5fkF2hioLLSNu1zP2qEL1aHXHZzGH1FLFGAnBGz
✓ Remote lorenz@z6MkkPvBfjP4bQmco5Dm7UGsX2ruDBieEHi8n9DVJWX5sTEz added
✓ Remote-tracking branch lorenz@z6MkkPvBfjP4bQmco5Dm7UGsX2ruDBieEHi8n9DVJWX5sTEz/master created for z6MkkPvBfjP4bQmco5Dm7UGsX2ruDBieEHi8n9DVJWX5sTEz
✓ Repository successfully cloned under /opt/radcis/ci.rad.levitte.org/cci/state/9acdcb45-04ab-40d2-88ba-3f2e421ac71e/w/
╭────────────────────────────────────╮
│ heartwood │
│ Radicle Heartwood Protocol & Stack │
│ 125 issues · 18 patches │
╰────────────────────────────────────╯
Run `cd ./.` to go to the repository directory.
Exit code: 0
$ rad patch checkout 1cd8044782249b95d577e0678f10eba8c6f32e35
✓ Switched to branch patch/1cd8044 at revision 35ede63
✓ Branch patch/1cd8044 setup to track rad/patches/1cd8044782249b95d577e0678f10eba8c6f32e35
Exit code: 0
$ git config advice.detachedHead false
Exit code: 0
$ git checkout 0db6602c1bc79c30d3351e43384d37f33e7b1bef
HEAD is now at 0db6602c REVIEW
Exit code: 0
$ git show 0db6602c1bc79c30d3351e43384d37f33e7b1bef
commit 0db6602c1bc79c30d3351e43384d37f33e7b1bef
Merge: 21294214 db6df4e8
Author: Fintan Halpenny <fintan.halpenny@gmail.com>
Date: Fri Oct 10 12:45:50 2025 +0100
REVIEW
Exit code: 0
shell: 'export RUSTDOCFLAGS=''-D warnings'' cargo --version rustc --version cargo fmt --check cargo clippy --all-targets --workspace -- --deny warnings cargo build --all-targets --workspace cargo doc --workspace --no-deps cargo test --workspace --no-fail-fast '
Commands:
$ podman run --name 9acdcb45-04ab-40d2-88ba-3f2e421ac71e -v /opt/radcis/ci.rad.levitte.org/cci/state/9acdcb45-04ab-40d2-88ba-3f2e421ac71e/s:/9acdcb45-04ab-40d2-88ba-3f2e421ac71e/s:ro -v /opt/radcis/ci.rad.levitte.org/cci/state/9acdcb45-04ab-40d2-88ba-3f2e421ac71e/w:/9acdcb45-04ab-40d2-88ba-3f2e421ac71e/w -w /9acdcb45-04ab-40d2-88ba-3f2e421ac71e/w -v /opt/radcis/ci.rad.levitte.org/.radicle:/${id}/.radicle:ro -e RAD_HOME=/${id}/.radicle rust:bookworm bash /9acdcb45-04ab-40d2-88ba-3f2e421ac71e/s/script.sh
+ export 'RUSTDOCFLAGS=-D warnings'
+ RUSTDOCFLAGS='-D warnings'
+ cargo --version
info: syncing channel updates for '1.88-x86_64-unknown-linux-gnu'
info: latest update on 2025-06-26, rust version 1.88.0 (6b00bc388 2025-06-23)
info: downloading component 'cargo'
info: downloading component 'clippy'
info: downloading component 'rust-docs'
info: downloading component 'rust-src'
info: downloading component 'rust-std'
info: downloading component 'rustc'
info: downloading component 'rustfmt'
info: installing component 'cargo'
info: installing component 'clippy'
info: installing component 'rust-docs'
info: installing component 'rust-src'
info: installing component 'rust-std'
info: installing component 'rustc'
info: installing component 'rustfmt'
cargo 1.88.0 (873a06493 2025-05-10)
+ rustc --version
rustc 1.88.0 (6b00bc388 2025-06-23)
+ cargo fmt --check
Diff in /9acdcb45-04ab-40d2-88ba-3f2e421ac71e/w/crates/radicle-oid/src/lib.rs:402:
#[cfg(feature = "schemars")]
mod schemars {
- use ::schemars::{json_schema, JsonSchema, Schema, SchemaGenerator};
use super::{str::SHA1_LEN_STR, Oid};
+ use ::schemars::{json_schema, JsonSchema, Schema, SchemaGenerator};
use alloc::{borrow::Cow, format};
impl JsonSchema for Oid {
Exit code: 1
{
"response": "finished",
"result": "failure"
}