Radish alpha
h
rad:z3gqcJUoA1n9HaHKufZs5FCSGazv5
Radicle Heartwood Protocol & Stack
Radicle
Git
fetch: allow missing default branch
Merged fintohaps opened 1 year ago

When fetching, the validation logic would prune a delegate if it was missing the default branch. Originally, this was done to prevent any broken state, but later it was realised that this can be too restrictive and would not allow nodes to recover into an improved state.

Remove this check so thtat nodes can still fetch from each other when the default branch is missing.

An e2e test is added to show that nodes can still fetch from each other and still receive other references, even when a delegate is missing their default branch.

fintohaps opened with revision 72c31bfc on base f6aa46a2 +122 -27 1 year ago

When fetching, the validation logic would prune a delegate if it was missing the default branch. Originally, this was done to prevent any broken state, but later it was realised that this can be too restrictive and would not allow nodes to recover into an improved state.

Remove this check so thtat nodes can still fetch from each other when the default branch is missing.

An e2e test is added to show that nodes can still fetch from each other and still receive other references, even when a delegate is missing their default branch.

did:key:z6MksFqX...wzpT pushed revision 2 35f25117 on base f6aa46a2 +119 -27 1 year ago

Fix clippy lint.

did:key:z6MksFqX...wzpT merged revision 35f25117 at eb095c10 1 year ago