You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It does not appear that the PDS implementation of SyncGetLatestCommit is returning the repo's correct rev.
The rev returned by PDS implementation of SyncGetLatestCommit disagrees with the BGS implementation of SyncGetLatestCommit and with the rev contained within the repo returned by the PDS implementation of SyncGetRepo.
Apologies for the ugly ass Go - it's just a quick demo to show how root commit / rev are agreed on by most things, but the rev returned by SyncGetLatestCommit for the PDS is in disagreement.
Expected behavior
SyncGetLatestCommit to return the correct rev for the repository.
Details
Operating system: MacOS
Node version: Not installed
Additional context
The text was updated successfully, but these errors were encountered:
Describe the bug
It does not appear that the PDS implementation of SyncGetLatestCommit is returning the repo's correct rev.
The
rev
returned by PDS implementation of SyncGetLatestCommit disagrees with the BGS implementation of SyncGetLatestCommit and with therev
contained within the repo returned by the PDS implementation of SyncGetRepo.It feels like
applyCommit
/updateRoot
in https://github.com/bluesky-social/atproto/blob/main/packages/pds/src/sql-repo-storage.ts is missing an update to therev
field on therepo_root
tableTo Reproduce
Apologies for the ugly ass Go - it's just a quick demo to show how root commit / rev are agreed on by most things, but the rev returned by SyncGetLatestCommit for the PDS is in disagreement.
Expected behavior
SyncGetLatestCommit to return the correct
rev
for the repository.Details
Additional context
The text was updated successfully, but these errors were encountered: