Skip to content

Conversation

@panticmilos
Copy link
Contributor

Description:
This PR provides error handling for cache restore functionality.

Check list:

  • Mark if documentation changes are required.
  • Mark if tests were added or updated to cover the changes.

@panticmilos panticmilos requested a review from a team June 14, 2022 10:15
restoreKey
);
try {
const matchedKey = await cache.restoreCache(
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Shouldn't we push this fix into restoreCache from actions/cache? That way everything that uses caching will handle 503s correctly.

Copy link
Contributor

@brcrista brcrista left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think we should push the fix into the actions/cache package so everything gets fixed and is future-proofed

@brcrista
Copy link
Contributor

#448 will fix this

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants