fix(ci): clone did-crdt from the archive repo the pin lives on #6

Closed
hugooconnor wants to merge 1 commit from refs/pull/6/head into main
hugooconnor commented 2026-07-15 06:35:25 +00:00 (Migrated from codeberg.org)

Problem

The release pipeline failed at the sibling-clone step:

Cloning into '../did-crdt'...
fatal: reference is not a tree: 06842517a9c66225f75786dd9935256c0f6ec0d4

cbcl-rs and spindle-rust checked out fine; only did-crdt failed.

Root cause — wrong repo, not a bad pin

There are two same-named repos under anuna, with no shared history:

repo main contents
did-crdt (what CI cloned) adb5c7a single squashed commit, "feat: did:crdt reference implementation"
did-crdt-archive 06842517 full history — the pinned commit

git merge-base between the two returns nothing — they are unrelated. The local ../did-crdt path dep that elephant builds and passes tests against has origin = did-crdt-archive, whose main is exactly DID_CRDT_REF = 06842517. CI was simply cloning the wrong one.

Fix

Point the did-crdt clone at did-crdt-archive.git (one line), with a comment so the trap doesn't reappear. The pin itself is correct and unchanged.

Note for follow-up (not in this PR)

The existence of a fresh anuna/did-crdt reference-impl repo suggests an intended migration away from the archive. That's a real code change (unrelated history / possibly different API), not a CI tweak — worth a separate decision about which repo is canonical going forward. This PR only unblocks the release against the code we currently ship.

🤖 Generated with Claude Code

https://claude.ai/code/session_01Q6GBsN4CfVF7QXAycnK2ip

## Problem The release pipeline failed at the sibling-clone step: ``` Cloning into '../did-crdt'... fatal: reference is not a tree: 06842517a9c66225f75786dd9935256c0f6ec0d4 ``` `cbcl-rs` and `spindle-rust` checked out fine; only `did-crdt` failed. ## Root cause — wrong repo, not a bad pin There are **two same-named repos** under `anuna`, with no shared history: | repo | `main` | contents | |------|--------|----------| | `did-crdt` (what CI cloned) | `adb5c7a` | single squashed commit, "feat: did:crdt reference implementation" | | `did-crdt-archive` | `06842517` | full history — **the pinned commit** | `git merge-base` between the two returns nothing — they are unrelated. The local `../did-crdt` path dep that elephant builds and passes tests against has `origin = did-crdt-archive`, whose `main` is exactly `DID_CRDT_REF = 06842517`. CI was simply cloning the wrong one. ## Fix Point the `did-crdt` clone at `did-crdt-archive.git` (one line), with a comment so the trap doesn't reappear. The pin itself is correct and unchanged. ## Note for follow-up (not in this PR) The existence of a fresh `anuna/did-crdt` reference-impl repo suggests an intended migration away from the archive. That's a real code change (unrelated history / possibly different API), not a CI tweak — worth a separate decision about which repo is canonical going forward. This PR only unblocks the release against the code we currently ship. 🤖 Generated with [Claude Code](https://claude.com/claude-code) https://claude.ai/code/session_01Q6GBsN4CfVF7QXAycnK2ip

Pull request closed

Sign in to join this conversation.
No reviewers
No labels
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
anuna-research/elephant!6
No description provided.