Open arj03 opened 1 year ago
Aha, this one seems to be buggy:
Doesn't update parent. There is more though.
And the second bug seems to be that the messages comes in the wrong order. updateLookupFromMsg
first gets the group/additions and later the 1. So the parent links don't correctly align. It's a bit strange, because the messages from network should come in, in the correct order. So it's a bit strange that we would get them shuffled.
Argh fuck. It's because replicate
is cheating and just requests all feeds at once. https://github.com/ssbc/ssb-tribes2/blob/4beef23cc85cd2fd4f34a1ab8e3f63bc3d54daba/test/helpers/replicate.js#L13
I'm looking at a trace that looks something like this:
Got branch is what you get from
ssb.metafeeds.branchStream({ old: true, live: true })
and notify is from inside this module on live data.The tree looks like this:
For some reason it seems like 1 doesn't have a proper parent (v1), which is really strange because it seems like 4 works fine.