ts-etl: Certain DOIs on Crossref break the graph-walking algorithm and produce infinite loop
Opened this issue · 0 comments
ships commented
Bug Report
Packages affected:
- OWL/SHACL definitions
- ts-sdk
- ts-etl
- spa
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 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.