Skip to content

Set CI cache download timeout to enable retries#14881

Merged
hashhar merged 1 commit intotrinodb:masterfrom
nineinchnick:ci-cache-retries
Nov 4, 2022
Merged

Set CI cache download timeout to enable retries#14881
hashhar merged 1 commit intotrinodb:masterfrom
nineinchnick:ci-cache-retries

Conversation

@nineinchnick
Copy link
Copy Markdown
Member

Description

I noticed downloading the cache sometimes gets stuck, like here: https://github.com/trinodb/trino/actions/runs/3384101557/jobs/5620679970. There's a new setting in the cache action documented here: https://github.com/actions/cache/blob/main/workarounds.md#cache-segment-restore-timeout and it should be available because actions/setup-java is using actions/cache 3.0.4 (the JS lib, not the GH action): https://github.com/actions/setup-java/blob/main/package.json

Ref: https://github.com/actions/toolkit/blob/main/packages/cache/RELEASES.md#304

Non-technical explanation

n/a

Release notes

(x) This is not user-visible or docs only and no release notes are required.
( ) Release notes are required, please propose a release note for me.
( ) Release notes are required, with the following suggested text:

Default timeout is 60 minutes, after which a stuck download would be
retried. Lower it to start retrying downloads when they get stuck.
Copy link
Copy Markdown
Member

@hashhar hashhar left a comment

Choose a reason for hiding this comment

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

Thanks.

@hashhar hashhar merged commit d649248 into trinodb:master Nov 4, 2022
@github-actions github-actions bot added this to the 403 milestone Nov 4, 2022
@nineinchnick nineinchnick deleted the ci-cache-retries branch November 7, 2022 08:12
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Development

Successfully merging this pull request may close these issues.

3 participants