The provider doesn't verify disk capacity before advertising it to the network. #2972
Description
Issue Summary:
In the current implementation of our SDKs, when a user requests a task with a specified minimum disk requirement, the SDK matches them with providers advertising sufficient capacity. However, there's no verification process to ensure the provider has the necessary available disk space at the time of task allocation. This can lead to task failures if the disk is full, despite the user specifying the minimum disk requirements.
Steps to Reproduce:
- Request a task with a specified minimum disk requirement.
- SDK matches with a provider advertising the required capacity.
- Task is initiated without verifying actual available disk space on the provider's device.
Current Behavior:
The task might fail during execution if the provider's disk does not have enough free space, even though they advertised sufficient capacity.
Expected Behavior:
Before task allocation, the system should verify the actual available disk space on the provider's device to ensure it meets the task's minimum disk requirements. This would prevent task failure due to insufficient disk space.