Skip to content

No disk space check before downloading ERCOT files #38

@haydenk

Description

@haydenk

Problem

The downloader writes ZIP files to disk without checking available disk space first. With ~380 files in the feed at any time and each ZIP potentially several MB, a full disk causes a partial write that is silently marked failed. Subsequent runs re-attempt and fail again, filling logs.

Expected behavior

Before starting a download batch, check available disk space against the total size of files to be downloaded (using the file size from the ERCOT document list response if available, or a configured minimum threshold). Emit a clear error and abort the run if space is insufficient rather than attempting downloads that will fail mid-write.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions