delete manifests correct when deleted from the PDS fixes https://tangled.org/did:plc:e3kzdezk5gsirzh7eoqplc64/issues/18

This commit is contained in:
Evan Jarrett
2026-05-06 21:13:00 -05:00
parent 419d05057e
commit 2d0872790d
+3 -1
View File
@@ -264,7 +264,9 @@ func (p *Processor) ProcessRecord(ctx context.Context, did, collection, rkey str
switch collection {
case atproto.ManifestCollection:
if isDelete {
return db.DeleteManifest(p.db, did, "", rkey)
// Manifest rkey is the digest with "sha256:" stripped; the digest
// column stores the full form, so reconstruct it for the WHERE clause.
return db.DeleteManifest(p.db, did, "", "sha256:"+rkey)
}
_, err := p.ProcessManifest(ctx, did, data)
return err