Bsky client inserts threads using com.atproto.repo.applyWrites programatically computing cid and rkey. If thread is created at same time it works just fine because of only 1 call.
As third party service dev I rely on com.atproto.repo.createRecord to get correct uri and cid. Still I use same createdAt as time of bigger post from other service.
Thread is successfully created but available only with posts_with_replies filter for method app.bsky.feed.getAuthorFeed.
To Reproduce
Steps to reproduce the behavior:
exec
const agent = new AtpAgent({
service: 'https://bsky.social',
});
// authorise
Describe the bug
Bsky client inserts threads using
com.atproto.repo.applyWrites
programatically computingcid
andrkey
. If thread is created at same time it works just fine because of only 1 call.As third party service dev I rely on
com.atproto.repo.createRecord
to get correcturi
andcid
. Still I use samecreatedAt
as time of bigger post from other service.Thread is successfully created but available only with
posts_with_replies
filter for methodapp.bsky.feed.getAuthorFeed
.To Reproduce
Steps to reproduce the behavior:
const date = new Date(); const {uri, cid} = await agent.post({ text: 'hello', createdAt: date.toISOString() }) await agent.post({ text: 'world', reply: {root: {uri, cid}, parent: {uri, cid}}, createdAt: date.toISOString() })