You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
feat(training): DiskPreflight + DatasetService class with hard-delete + race guards
Group B shipped:
- DiskPreflight class rejects training jobs with HTTP 507 when SHARED_PATH or SCRATCH_PATH are below configured free-GB thresholds. Env-configurable via MIN_SAMBA_FREE_GB (default 5) and MIN_SCRATCH_FREE_GB (default 10).
- DatasetService class replaces the module-level dataset functions. Delete endpoint now accepts ?hard=true for DB cascade (Dataset row removed, backing File row marked for purge daemon pickup). Both soft and hard delete share race guards: 409 if dataset is mid-preparation, 409 if referenced by any non-terminal training job.
- TrainingService and datasets_router updated to use DatasetService directly; no shims.
0 commit comments