Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

add restore cache error handling #434

Closed

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.

None yet

5 participants