Skip to content

Recc: Add option for ignoring failure results in cache

When enabling uploading failed results to cache and the failure was due to low system resources, other users may retrieve the cached entry and fail even if they have enough resources.

It would be ideal if we can distinguish between compilation failure and failures due to low system resources, and don't upload the failures due to low system resources to cache. In practice, its hard to distinguish between them.

To make sure clients do not inadvertently gets incorrect results from cache (ie, local execution succeeds, but using cache returns failed action), allow discarding actions results with non-zero exit code.

Merge request reports