Open ships opened 1 year ago
Packages affected:
When I generate a docmap for crossref DOI 10.31227/osf.io/q5dvr , i get a docmap.
An infinite loop is begun and no docmap is created. Eventually we crash with an OOM.
docmaps-etl item --source crossref-api 10.31227/osf.io/q5dvr
Notably, this DOI has some interesting situations including loops. It is-preprint-of M, but M is-preprint-of M and has-preprint M as well. Unclear why these loops break the visited-ids logic but it should be easy to diagnose by stepping thru.
is-preprint-of
has-preprint
Bug Report
Packages affected:
Expected behavior
When I generate a docmap for crossref DOI 10.31227/osf.io/q5dvr , i get a docmap.
Actual behavior
An infinite loop is begun and no docmap is created. Eventually we crash with an OOM.
Steps to reproduce
docmaps-etl item --source crossref-api 10.31227/osf.io/q5dvr
Additional information
Notably, this DOI has some interesting situations including loops. It
is-preprint-of
M, but Mis-preprint-of
M andhas-preprint
M as well. Unclear why these loops break the visited-ids logic but it should be easy to diagnose by stepping thru.