GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — [tests] Fix github action restore cache timeout by bryaneaton13 · Pull Request #9342 · vercel/vercel

Conversation

@bryaneaton13

@bryaneaton13 bryaneaton13 commented Jan 30, 2023 •
edited by styfle
Loading

Uh oh!

There was an error while loading. Please reload this page.

Copy link
Copy Markdown
Contributor

Github Action for actions/cache has an issue that could cause it to take 1 hour and then timeout while trying to restore the cache.

Since actions/setup-node is no longer used to restore the pnpm cache, the timeout-minutes: 5 doesn't do anything for this action.

Instead we need to put an env variable on the actions/cache Github Action to actually set the restore cache timeout.

env:
  SEGMENT_DOWNLOAD_TIMEOUT_MINS: 5 # See https://github.com/actions/cache/issues/810
  • See discussion here Github Actions fix caching timeout #9340
  • Related to Action can wait for at least 27 minutes when no progress is being made on the download actions/cache#810
  • Follow up to [tests] Fix timeout for actions/setup-node #8639

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

All reactions
@bryaneaton13
Fix github action restore cache timeout
d99757a
@bryaneaton13
bryaneaton13 requested review from EndangeredMassa, Ethan-Arrowood, TooTallNate, cb1kenobi, ijjk and styfle as code owners January 30, 2023 15:16
@bryaneaton13 bryaneaton13 changed the title Fix github action restore cache timeout [tests] Fix github action restore cache timeout Jan 30, 2023
styfle
styfle approved these changes Jan 30, 2023
View reviewed changes

@styfle styfle left a comment

Copy link
Copy Markdown
Member

There was a problem hiding this comment.

Choose a reason for hiding this comment

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

Thanks for the PR!

Hopefully the root cause is eventually fixed 😅

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

All reactions
@styfle styfle added area: tests pr: automerge semver: none PR is not relevant to publishing labels Jan 30, 2023
@vercel
vercel Bot deployed to Preview January 30, 2023 15:27
View deployment
@styfle
styfle merged commit db216f9 into vercel:main Jan 30, 2023
@bryaneaton13
bryaneaton13 deleted the fix-github-action-cache-timeout branch January 30, 2023 15:50

This branch was successfully deployed

1 active deployment
Preview — d99757ab Deployed Jan 30, 2023 by vercel[bot]
View deployment
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Reviewers

@styfle styfle styfle approved these changes
@TooTallNate TooTallNate Awaiting requested review from TooTallNate
@EndangeredMassa EndangeredMassa Awaiting requested review from EndangeredMassa
@cb1kenobi cb1kenobi Awaiting requested review from cb1kenobi
@Ethan-Arrowood Ethan-Arrowood Awaiting requested review from Ethan-Arrowood
@ijjk ijjk Awaiting requested review from ijjk ijjk is a code owner

Uh oh!

There was an error while loading. Please reload this page.

Assignees

No one assigned

Labels

area: tests semver: none PR is not relevant to publishing

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

Uh oh!

There was an error while loading. Please reload this page.

2 participants

@bryaneaton13 @styfle
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
You are visitor 01402775 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.