NodeLoader: Upload directory listing to sentry on NAR hash mismatch
requested to merge anlambert/swh-loader-core:node-loader-upload-dir-listing-to-sentry-on-hash-mismatch into master
When the NodeLoader did not manage to recompute the same NAR hash as expected, list the content of the faulty directory by dumping paths and SWHIDs to a CSV file that will be uploaded as an attachment to the associated sentry event.
This should help debugging this kind of issues in production.
Related to swh/infra/sysadm-environment#5230 (closed).