[Improvement][Master] Validate same content of input file when using task cache #13223
Closed
3 tasks done
Labels
improvement
make more easy to user or prompt friendly
Search before asking
Description
Task cache mechanism is introduced in #13194. Cache key can make sure tasks have the same value of property (store resource path in file paramter), but the same resource path doesn't mean the same file contents. Also, the different resource path may have same content.
For other types of parameter, the same value of property means the same input, keep logic consistency for file parameter, we should check the same content in resourcePath.
Maybe we can add checksum of input file when generating cache key. In addition, i think it's improper to download the whole file in master, we can save checksum in another file when uploading output file, download checksum file when generating cache key.
Are you willing to submit a PR?
Code of Conduct
The text was updated successfully, but these errors were encountered: