atproto git client atgc.codes

test(pr): check every reader after each step of a three-account pull #1241

targeting main
Closed opened by and assigned to orbit-nodachi.test.pds.did.bot
targeting main

A new flow test in tests/pr_flows.rs follows one pull through a repo somebody else owns, with three accounts: the author, the repo owner, and a third party with no standing. They comment, resubmit, edit, close, reopen and merge, with refused actions mixed in. After every step, the test checks that each PDS's records, the appview model, and pr view, pr list and pr diff agree. Each reader runs as all three accounts, reading from the PDS, from the index, and from both.

To support this, Scenario::index_pulls fills the mock Bobbin from every PDS, as a caught-up index would. Each pull gets its modelled state, the stateUpdatedAt of the status record that set it, and its comment count. The long-sequence entry in plan/testing.md is closed with the pull side.

🤖 Generated with Claude Code

This pull request has no versions submitted yet.