Skip to content
Snippets Groups Projects

Add option for ignoring failure results in cache

Open Caroline Cao requested to merge ccao156/add-option-to-discard-failure into master

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.

Edited by Caroline Cao

Merge request reports

Loading
Loading

Activity

Filter activity
  • Approvals
  • Assignees & reviewers
  • Comments (from bots)
  • Comments (from users)
  • Commits & branches
  • Edits
  • Labels
  • Lock status
  • Mentions
  • Merge request status
  • Tracking
  • Loading
  • Loading
  • Loading
  • Loading
  • Loading
  • Loading
  • Loading
  • Loading
  • Loading
  • Loading
Please register or sign in to reply
Loading