Log from Radicle native CI

Table of contents

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": "528ccc6d665da76318342a2b4e842b87311b8d24",
    "author": {
      "id": "did:key:z6MkgXNuhPc3jNxADSfr954yn7fjuzeukeSVdzEpmGmJnmnK",
      "alias": "12b-bdz-dev"
    },
    "title": "add a test to repoduce an issue with patch merging",
    "state": {
      "status": "open",
      "conflicts": []
    },
    "before": "352c29c23ce2560750369aa50bc9f43bf3019d3f",
    "after": "d266838f91479ce46a0c50b9fbb230af3a9b4b2b",
    "commits": [
      "d266838f91479ce46a0c50b9fbb230af3a9b4b2b",
      "9fb4be044cfa68dee929c2ed370d3157e8977cf9",
      "19cbadbdb640226644eefb165021817d917411c0",
      "d42960742f877f3cc5fc2efe7973acdd2bcde903"
    ],
    "target": "352c29c23ce2560750369aa50bc9f43bf3019d3f",
    "labels": [],
    "assignees": [],
    "revisions": [
      {
        "id": "528ccc6d665da76318342a2b4e842b87311b8d24",
        "author": {
          "id": "did:key:z6MkgXNuhPc3jNxADSfr954yn7fjuzeukeSVdzEpmGmJnmnK",
          "alias": "12b-bdz-dev"
        },
        "description": "This is to reproduce the issue discussed in https://radicle.zulipchat.com/#narrow/channel/369873-Support/topic/Merged.20patch.20still.20appears.20open.20and.20not.20merged/with/562986406",
        "base": "352c29c23ce2560750369aa50bc9f43bf3019d3f",
        "oid": "d42960742f877f3cc5fc2efe7973acdd2bcde903",
        "timestamp": 1765400854
      },
      {
        "id": "41d104a032319011f80f6f27ee64c9b66e255226",
        "author": {
          "id": "did:key:z6MkgXNuhPc3jNxADSfr954yn7fjuzeukeSVdzEpmGmJnmnK",
          "alias": "12b-bdz-dev"
        },
        "description": "Add a `rad sync -i` step to check if the issue is caused by the identity document changes not being automatically announced.",
        "base": "352c29c23ce2560750369aa50bc9f43bf3019d3f",
        "oid": "a90f046d987c9d5ca2c098cef35da13bbbb33d27",
        "timestamp": 1765454574
      },
      {
        "id": "78f28e39258ea5a4363d315f37b1101d7047d982",
        "author": {
          "id": "did:key:z6MkgXNuhPc3jNxADSfr954yn7fjuzeukeSVdzEpmGmJnmnK",
          "alias": "12b-bdz-dev"
        },
        "description": "Add a `rad sync -a` step to check if the issue is caused by the identity document changes not being automatically announced.",
        "base": "352c29c23ce2560750369aa50bc9f43bf3019d3f",
        "oid": "19cbadbdb640226644eefb165021817d917411c0",
        "timestamp": 1765455318
      },
      {
        "id": "389320b9c36b1543280266180d7fa9ee6b2f34a7",
        "author": {
          "id": "did:key:z6MkgXNuhPc3jNxADSfr954yn7fjuzeukeSVdzEpmGmJnmnK",
          "alias": "12b-bdz-dev"
        },
        "description": "REVIEW: clean up test into one file\n\nSome additions:\n- bob checks the delegates\n- bob forks the repository so that `master` isn't new when they push",
        "base": "352c29c23ce2560750369aa50bc9f43bf3019d3f",
        "oid": "9fb4be044cfa68dee929c2ed370d3157e8977cf9",
        "timestamp": 1765483299
      },
      {
        "id": "5dd65e2e6ebd86d95434aa8b465b06ca73969bdb",
        "author": {
          "id": "did:key:z6MkgXNuhPc3jNxADSfr954yn7fjuzeukeSVdzEpmGmJnmnK",
          "alias": "12b-bdz-dev"
        },
        "description": "Changes:\n- Adds fix for when delegates merge patches on their first push\n- Cleans up the test case and renames it",
        "base": "352c29c23ce2560750369aa50bc9f43bf3019d3f",
        "oid": "34fa61ff581a39b3f1e84841519fb8b4387526d2",
        "timestamp": 1765490453
      },
      {
        "id": "9ba2092dd7ac52d8d4aa2f1c4e5aab5676a4f147",
        "author": {
          "id": "did:key:z6MkgXNuhPc3jNxADSfr954yn7fjuzeukeSVdzEpmGmJnmnK",
          "alias": "12b-bdz-dev"
        },
        "description": "REVIEW: clean up test into one file\n\n\nadd a `rad inspect --refs` before and after the `rad fork` to understand its effect",
        "base": "352c29c23ce2560750369aa50bc9f43bf3019d3f",
        "oid": "d266838f91479ce46a0c50b9fbb230af3a9b4b2b",
        "timestamp": 1765490577
      }
    ]
  }
}

.radicle/native.yaml

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 --all-features
  cargo test --workspace --no-fail-fast

Run: git clone /var/lib/radicle/storage/z3gqcJUoA1n9HaHKufZs5FCSGazv5 /var/lib/radicle-ci/adapters/native/cia-native/2e2822d7-370d-426c-bc2f-c93f749d9521/src

Command arguments:

In directory: /run/radicle-ci-broker

Exit code: 0

Output (stdout and stderr):

Cloning into '/var/lib/radicle-ci/adapters/native/cia-native/2e2822d7-370d-426c-bc2f-c93f749d9521/src'...
done.

Run: git config advice.detachedHead false

Command arguments:

In directory: /var/lib/radicle-ci/adapters/native/cia-native/2e2822d7-370d-426c-bc2f-c93f749d9521/src

Exit code: 0

Run: git checkout d266838f91479ce46a0c50b9fbb230af3a9b4b2b

Command arguments:

In directory: /var/lib/radicle-ci/adapters/native/cia-native/2e2822d7-370d-426c-bc2f-c93f749d9521/src

Exit code: 0

Output (stdout and stderr):

HEAD is now at d266838f9 add a `rad inspect --refs` before and after the `rad fork` to understand its effect

Run: git show d266838f91479ce46a0c50b9fbb230af3a9b4b2b

Command arguments:

In directory: /var/lib/radicle-ci/adapters/native/cia-native/2e2822d7-370d-426c-bc2f-c93f749d9521/src

Exit code: 0

Output (stdout and stderr):

commit d266838f91479ce46a0c50b9fbb230af3a9b4b2b
Author: Fabrice Bellamy <fabrice.bellamy@distrilab.fr>
Date:   Thu Dec 11 23:02:09 2025 +0100

    add a `rad inspect --refs` before and after the `rad fork` to understand its effect

diff --git a/crates/radicle-cli/examples/unmerged-patch.md b/crates/radicle-cli/examples/unmerged-patch.md
index e4a744eed..95f065a60 100644
--- a/crates/radicle-cli/examples/unmerged-patch.md
+++ b/crates/radicle-cli/examples/unmerged-patch.md
@@ -122,10 +122,45 @@ $ git ls-remote rad://z42hL2jL4XNk6K8oHQaSWfMgCL7ji/z6MknSLrJoTcukLrE435hVNQT4JU
 
 Bob, who has just been added as a delegate will now merge the patch created by Alice
 
+
 ``` ~bob
 $ cd heartwood
+$ rad inspect --refs
+z6MknSLrJoTcukLrE435hVNQT4JUhbvWLX4kUzqkEStBU8Vi
+└── refs
+    ├── cobs
+    │   └── xyz.radicle.id
+    │       └── 0656c217f917c3e06234771e9ecae53aba5e173e
+    ├── heads
+    │   └── master
+    └── rad
+        ├── id
+        ├── root
+        └── sigrefs
 $ rad fork
 ✓ Forked repository rad:z42hL2jL4XNk6K8oHQaSWfMgCL7ji for z6Mkt67GdsW7715MEfRuP4pSZxJRJh6kj6Y48WRqVv4N1tRk
+$ rad inspect --refs
+z6MknSLrJoTcukLrE435hVNQT4JUhbvWLX4kUzqkEStBU8Vi
+└── refs
+    ├── cobs
+    │   └── xyz.radicle.id
+    │       └── 0656c217f917c3e06234771e9ecae53aba5e173e
+    ├── heads
+    │   └── master
+    └── rad
+        ├── id
+        ├── root
+        └── sigrefs
+z6Mkt67GdsW7715MEfRuP4pSZxJRJh6kj6Y48WRqVv4N1tRk
+└── refs
+    ├── heads
+    │   └── master
+    └── rad
+        ├── root
+        └── sigrefs
+```
+
+``` ~bob
 $ rad inspect --delegates
 did:key:z6MknSLrJoTcukLrE435hVNQT4JUhbvWLX4kUzqkEStBU8Vi (alice)
 did:key:z6Mkt67GdsW7715MEfRuP4pSZxJRJh6kj6Y48WRqVv4N1tRk (bob)
@@ -213,3 +248,25 @@ $ rad patch show df868fc
 │   └─ ✓ merged                by bob (you)                 │
 ╰───────────────────────────────────────────────────────────╯
 ```
+
+``` ~alice
+$ rad patch show df868fc
+╭─────────────────────────────────────────────────────────╮
+│ Title     Define power requirements                     │
+│ Patch     df868fc7985fa7217aaef8423d73a077868c02b3      │
+│ Author    alice (you)                                   │
+│ Head      3e674d1a1df90807e934f9ae5da2591dd6848a33      │
+│ Base      f2de534b5e81d7c6e2dcaf58c3dd91573c0a0354      │
+│ Branches  flux-capacitor-power                          │
+│ Commits   up to date                                    │
+│ Status    merged                                        │
+│                                                         │
+│ See details.                                            │
+├─────────────────────────────────────────────────────────┤
+│ 3e674d1 Define power requirements                       │
+├─────────────────────────────────────────────────────────┤
+│ ● Revision df868fc @ 3e674d1 by alice (you) now         │
+│   └─ ✓ accepted              by bob z6Mkt67…v4N1tRk now │
+│   └─ ✓ merged                by bob z6Mkt67…v4N1tRk     │
+╰─────────────────────────────────────────────────────────╯
+```

Run: bash -c set -xeuo pipefail 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 --all-features cargo test --workspace --no-fail-fast

Command arguments:

In directory: /var/lib/radicle-ci/adapters/native/cia-native/2e2822d7-370d-426c-bc2f-c93f749d9521/src

Exit code: 127

Output (stdout and stderr):

+ export 'RUSTDOCFLAGS=-D warnings'
+ RUSTDOCFLAGS='-D warnings'
+ cargo --version
bash: line 4: cargo: command not found