Proper way to get files deleted from disk

Hello all !
I’m self hosting an here is the plot:

Collections “articles” have an o2m “image” field.
directus_files have a m2o “article_id’“ field
storage in R2 bucket in Cloudflare

1 - delete file from directus file explorer => asset is deleted from R2 bucket
2- delete article, file deleted from cascade and disapear from file explorer => asset is NOT deleted from R2 bucket

Is that a bug? a config problem ? a design choice ?
Is there a way to get this to work ? (apart from setting up a flow)
Is the only solution to delete the file item directly ?

Ah good one. In this case the cascade delete is handled by the database directly, so it indeed won’t delete the file from the storage disk. I’ve jotted down your question on our end so we can take a look at that in the future.