Description
I'm seeing some strange issues in ipfs-unixfs-exporter, from 8.0.6, and then also from 8.0.2.
-
From 8.0.6, exporting of a concatenated file created from files of blocksize of 32K seems to generate wrong results. This happens when running the test suite on https://github.com/webrecorder/ipfs-composite-files/tree/store-ops after updating to ipfs-unixfs-exporter 8.0.6
-
I tried making an isolated test case for this issue so its easier to test, and set up: https://github.com/ikreymer/bug-report-unixfs-exporter-issues/blob/main/test-export.js However, in this setup, from 8.0.2, the exporter seems to be abort node and never actually complete, both with ava and just running normally.
To repro, yarn install and yarn test in: https://github.com/ikreymer/bug-report-unixfs-exporter
then upgrade to ipfs-unixfs-exporter@8.0.2 or higher, and runyarn test
again
Because of the second issue, I couldn't create a clean repro the first one, so noting both here. Updating to the currently latest ipfs-unixfs-exporter@9.0.1 has the same issue in both cases.
This was tested on Node 18.2 and Node 19.0.1 on Mac.