CCI report: 884d8305-4450-4e53-8cd7-1b89c117cf5f

Request message

{
  "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": "Updated",
  "patch": {
    "id": "1cd8044782249b95d577e0678f10eba8c6f32e35",
    "author": {
      "id": "did:key:z6MkkPvBfjP4bQmco5Dm7UGsX2ruDBieEHi8n9DVJWX5sTEz",
      "alias": "lorenz"
    },
    "title": "A Little Less `git2`",
    "state": {
      "status": "open",
      "conflicts": []
    },
    "before": "633059040cf1aae705172e7dac24c1fd863d44e9",
    "after": "1d81f96ffbe3ea878181df42a3b699defc687e0d",
    "commits": [
      "1d81f96ffbe3ea878181df42a3b699defc687e0d",
      "b6a35622f2afdf90ef79149310c74e4c64c5bca0",
      "41ba3a4f51c613c80e38d95c4c6344acac8f8af6",
      "6c84cbdfe147ccf3522d1d0769c3d8b7ea299b71",
      "7869c378e2ed0d8faf2f991e9553f251bd1c5e49",
      "ea562215eaa163568c3f1061e4cbbd907e9913db",
      "837f4694df48df27ae92966329b6a26ef9e902fc",
      "880634acd4d5bf6f0182d5718f2af912cbda17c0"
    ],
    "target": "633059040cf1aae705172e7dac24c1fd863d44e9",
    "labels": [],
    "assignees": [],
    "revisions": [
      {
        "id": "1cd8044782249b95d577e0678f10eba8c6f32e35",
        "author": {
          "id": "did:key:z6MkkPvBfjP4bQmco5Dm7UGsX2ruDBieEHi8n9DVJWX5sTEz",
          "alias": "lorenz"
        },
        "description": "(I should write up a lengthy description\u2026)",
        "base": "5caa7b302a7d4f247aaa7cc688a692aac4486464",
        "oid": "d0b815c1715dfd78a7aba632356513370d189eaa",
        "timestamp": 1759707360
      },
      {
        "id": "8a36f8eecf18c0e990125564da0f89bbbbb00aa6",
        "author": {
          "id": "did:key:z6MkkPvBfjP4bQmco5Dm7UGsX2ruDBieEHi8n9DVJWX5sTEz",
          "alias": "lorenz"
        },
        "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:z6MkkPvBfjP4bQmco5Dm7UGsX2ruDBieEHi8n9DVJWX5sTEz",
          "alias": "lorenz"
        },
        "description": "Rebase onto spun out patches:\n - `222bc576b7ffb7b9650be00525a1b66087c83b44`\n - `a1b9d9c92737f12b5b24405042e2432cc9730a5e`",
        "base": "ac572e64e5029cb1db16f05158915b6ef55ab7e7",
        "oid": "435a75304663802c85d7083ffb35a8d78eb3ab65",
        "timestamp": 1760045529
      },
      {
        "id": "8a2ca52af6004ddee5fcce8802f22a7d79f1f83d",
        "author": {
          "id": "did:key:z6MkkPvBfjP4bQmco5Dm7UGsX2ruDBieEHi8n9DVJWX5sTEz",
          "alias": "lorenz"
        },
        "description": "Rebase",
        "base": "633059040cf1aae705172e7dac24c1fd863d44e9",
        "oid": "1d81f96ffbe3ea878181df42a3b699defc687e0d",
        "timestamp": 1760089036
      }
    ]
  }
}

Send response

{
  "response": "triggered",
  "run_id": {
    "id": "884d8305-4450-4e53-8cd7-1b89c117cf5f"
  },
  "info_url": "https://cci.rad.levitte.org//884d8305-4450-4e53-8cd7-1b89c117cf5f.html"
}

Checkout the source (in /opt/radcis/ci.rad.levitte.org/cci/state/884d8305-4450-4e53-8cd7-1b89c117cf5f/w)

Started at: 2025-10-10 11:37:20.460585+02:00

Commands:

Read the repo configuration (.radicle/native.yaml in /opt/radcis/ci.rad.levitte.org/cci/state/884d8305-4450-4e53-8cd7-1b89c117cf5f/w)

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

  '

Run the script

Commands:

Send result

{
  "response": "finished",
  "result": "failure"
}