(migrated from GitLab)
Bluesky are testing a V2 for app.bsky.feed.getPostThread, namely, getPostThreadV2 an getPostThreadHiddenV2. They're currently in app.bsky.unspecced for testing, but that doesn't stop us implementing them for now and bumping them over and merging the PR once they're ready. They're going to be behind feature gates in the app, but we should be able to bypass those to test with.
Given that getPostThread is currently some of the slowest and worst code in the appview, having a flat data structure should help significantly, even if there are new pagination and sort requirements.
early WIP in branch feat-post-thread-v2