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
{{ message }}
Repository navigation
Pipeline breaking when PDF file is replaced by an HTML page #1210
thrownewError(`Only one file should have been recorded in ${hash}, but all these files were recorded: ${modifiedFilesInCommit.join(', ')}`);
}
It seems this error is uncaught and crashes the whole pipeline with no recovery options. I get the following log:
2025-11-28T06:05:18+00:00 �[31merror�[39m Zalando — Data Catalogue for Vetted Researchers Error: Only one file should have been recorded in 693a560f39b6de4006a6219c3e97c8778dbe6bbb, but all these files were recorded: Zalando/Data Catalogue for Vetted Researchers.html, Zalando/Data Catalogue for Vetted Researchers.pdf
And then a traceback:
at Module.toDomain (file:///home/pptruser/open-terms-archive/engine/src/archivist/recorder/repositories/git/dataMapper.js:57:11)
...
at async Archivist.trackTermsChanges (file:///home/pptruser/open-terms-archive/engine/src/archivist/index.js:184:22)
Zalando declaration contains a PDF file, which was correctly fetched over the last days/weeks.
At some point in time, some issue triggered an empty HTML reply (temporary issue on the webserver, antibot, whatever). Then, the engine recorded the HTML file alongside the PDF file.
The snapshot directory now contains both a HTML and a PDF file, crashing the pipeline.
I can probably work around it by manually removing the faulty HTML file, but this issue will likely happen again on future runs.
Activity