Open djjuhasz opened 5 months ago
This seems to need a bit of an update, filesystemwatcher does not have a isDir or similar attribute being set in the link provided: https://github.com/artefactual-sdps/enduro/blob/main/internal/watcher/filesystem.go#L132 . Context is updated most recently in @djjuhasz latest issue
I updated the isDir link to https://github.com/artefactual-sdps/enduro/blob/main/internal/watcher/filesystem.go#L153
Describe the bug
When a transfer that is a directory of files is uploaded to the MinIO "sips" bucket for processing, Enduro creates a separate processing workflow for each file in the directory, and then each workflow fails with an fatal error in the download-activity.
To Reproduce
Steps to reproduce the behavior:
sips
bucketOne Enduro processing workflow is started for each file in the directory, then each workflow fails with a download-activity error like:
Expected behavior
Screenshots
Additional context
isDir
parameter, but it is always set to false for MinIO watcher eventsisDir
parameter to true when appropriate (https://github.com/artefactual-sdps/enduro/blob/main/internal/watcher/filesystem.go#L153)