Right now, the dagster/dbt setup is keeping all the assets for every job run in /var/lib/dagster/dbt_target with no expiration or cleanup. This has resulted in ~40k files taking up 29G of files and running the current / partition to critical disk levels. We need to either shift the location of these files / directories or find out a sustainable way to keep history to a usable level.
For now, I have culled the directories on disk for any asset dirs over 30 days old. This cleaned up 933 directories and 7G of space. The following command was used: find /var/lib/dagster/dbt_target/ -maxdepth 1 -type d -name my_dbt_assets-\* -mtime +30 | xargs -I{} rm -rf {}