rad:z3gqcJUoA1n9HaHKufZs5FCSGazv5 heartwoodcf97a65e850a2d779d0b6c5834b699e0b511a4af
{
"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": "3069ce72bd3df0d7ee801b8c0a181b087987f388",
"author": {
"id": "did:key:z6MkwPUeUS2fJMfc2HZN1RQTQcTTuhw4HhPySB8JeUg2mVvx",
"alias": "rudolfs"
},
"title": "httpd: Set cache header for immutable blob endpoint",
"state": {
"status": "merged",
"conflicts": []
},
"before": "25c6660a59c621de1ec406e4f9b2ccfbd21e1b90",
"after": "cf97a65e850a2d779d0b6c5834b699e0b511a4af",
"commits": [
"cf97a65e850a2d779d0b6c5834b699e0b511a4af"
],
"target": "7e1cb406bb935c3de008d2171e8961f57b4336ea",
"labels": [],
"assignees": [],
"revisions": [
{
"id": "3069ce72bd3df0d7ee801b8c0a181b087987f388",
"author": {
"id": "did:key:z6MkwPUeUS2fJMfc2HZN1RQTQcTTuhw4HhPySB8JeUg2mVvx",
"alias": "rudolfs"
},
"description": "It is safe to do so because it is content-addressed.",
"base": "25c6660a59c621de1ec406e4f9b2ccfbd21e1b90",
"oid": "cf97a65e850a2d779d0b6c5834b699e0b511a4af",
"timestamp": 1715680060
},
{
"id": "a59c950e722f6d12afbf7446b14b454a7ea2051d",
"author": {
"id": "did:key:z6MkwPUeUS2fJMfc2HZN1RQTQcTTuhw4HhPySB8JeUg2mVvx",
"alias": "rudolfs"
},
"description": "Rebase.",
"base": "b195a3eb356a231d64981c789396a709d83a5d84",
"oid": "3b342ab385810fd3e67ec1fb05f45b27ba50bc36",
"timestamp": 1715769324
}
]
}
}
{
"response": "triggered",
"run_id": {
"id": "5f7dcd83-67ae-417b-95d4-108e98d16c98"
},
"info_url": "https://cci.rad.levitte.org//5f7dcd83-67ae-417b-95d4-108e98d16c98.html"
}
Started at: 2026-09-09 05:37:36.542709+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/5f7dcd83-67ae-417b-95d4-108e98d16c98/w/
╭────────────────────────────────────╮
│ heartwood │
│ Radicle Heartwood Protocol & Stack │
│ 189 issues · 39 patches │
╰────────────────────────────────────╯
Run `cd ./.` to go to the repository directory.
Exit code: 0
$ rad patch checkout 3069ce72bd3df0d7ee801b8c0a181b087987f388
✓ Switched to branch patch/3069ce7 at revision 3069ce7
✓ Branch patch/3069ce7 setup to track rad/patches/3069ce72bd3df0d7ee801b8c0a181b087987f388
Exit code: 0
$ git config advice.detachedHead false
Exit code: 0
$ git checkout cf97a65e850a2d779d0b6c5834b699e0b511a4af
HEAD is now at cf97a65e httpd: Set cache header for immutable blob endpoint
Exit code: 0
$ rad patch show 3069ce72bd3df0d7ee801b8c0a181b087987f388 -p
╭────────────────────────────────────────────────────────────────────────────────╮
│ Title httpd: Set cache header for immutable blob endpoint │
│ Patch 3069ce72bd3df0d7ee801b8c0a181b087987f388 │
│ Author rudolfs z6MkwPU…Ug2mVvx │
│ Head cf97a65e850a2d779d0b6c5834b699e0b511a4af │
│ Base 25c6660a59c621de1ec406e4f9b2ccfbd21e1b90 │
│ Target master │
│ Branches patch/3069ce7 │
│ Commits ahead 1, behind 1367 │
│ Status merged │
│ │
│ It is safe to do so because it is content-addressed. │
├────────────────────────────────────────────────────────────────────────────────┤
│ cf97a65 httpd: Set cache header for immutable blob endpoint │
├────────────────────────────────────────────────────────────────────────────────┤
│ ● Revision 3069ce7 @ 25c6660..cf97a65 by rudolfs z6MkwPU…Ug2mVvx 2 years ago │
│ └─ ✓ accepted by fintohaps z6Mkire…SQZ3voM 2 years ago │
│ ↑ Revision a59c950 @ b195a3e..3b342ab by cloudhead z6MksFq…bS9wzpT 2 years ago │
│ └─ ✓ merged by cloudhead z6MksFq…bS9wzpT │
╰────────────────────────────────────────────────────────────────────────────────╯
commit cf97a65e850a2d779d0b6c5834b699e0b511a4af
Author: Rūdolfs Ošiņš <rudolfs@osins.org>
Date: Tue May 14 11:46:13 2024 +0200
httpd: Set cache header for immutable blob endpoint
It is safe to do so because it is content-addressed.
diff --git a/radicle-httpd/src/api/v1/projects.rs b/radicle-httpd/src/api/v1/projects.rs
index 491e09fb4b..3e8f483c8c 100644
--- a/radicle-httpd/src/api/v1/projects.rs
+++ b/radicle-httpd/src/api/v1/projects.rs
@@ -539,7 +539,7 @@ async fn blob_handler(
let blob = repo.blob(sha, &path)?;
let response = api::json::blob(&blob, &path);
- Ok::<_, Error>(Json(response))
+ Ok::<_, Error>(immutable_response(response))
}
/// Get project readme.
Exit code: 0
shell: 'cargo --version rustc --version cargo fmt --check cargo clippy --all-targets --workspace -- --deny clippy::all cargo build --all-targets --workspace cargo doc --workspace cargo test --workspace --no-fail-fast '
Commands:
$ podman run --name 5f7dcd83-67ae-417b-95d4-108e98d16c98 -v /opt/radcis/ci.rad.levitte.org/cci/state/5f7dcd83-67ae-417b-95d4-108e98d16c98/s:/5f7dcd83-67ae-417b-95d4-108e98d16c98/s:ro -v /opt/radcis/ci.rad.levitte.org/cci/state/5f7dcd83-67ae-417b-95d4-108e98d16c98/w:/5f7dcd83-67ae-417b-95d4-108e98d16c98/w -w /5f7dcd83-67ae-417b-95d4-108e98d16c98/w -v /opt/radcis/ci.rad.levitte.org/.radicle:/${id}/.radicle:ro -e RAD_HOME=/${id}/.radicle rust:trixie bash /5f7dcd83-67ae-417b-95d4-108e98d16c98/s/script.sh
+ cargo --version
info: syncing channel updates for '1.77-x86_64-unknown-linux-gnu'
info: latest update on 2024-04-09, rust version 1.77.2 (25ef9e3d8 2024-04-09)
info: downloading component 'cargo'
info: downloading component 'rust-std'
info: downloading component 'rustc'
info: installing component 'cargo'
info: installing component 'rust-std'
info: installing component 'rustc'
cargo 1.77.2 (e52e36006 2024-03-26)
+ rustc --version
rustc 1.77.2 (25ef9e3d8 2024-04-09)
+ cargo fmt --check
error: 'cargo-fmt' is not installed for the toolchain '1.77-x86_64-unknown-linux-gnu'.
To install, run `rustup component add --toolchain 1.77-x86_64-unknown-linux-gnu rustfmt`
Exit code: 1
{
"response": "finished",
"result": "failure"
}