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

Increase timeouts for actions that rely on actions #214

Merged
merged 1 commit into from
Jul 18, 2023

Conversation

joshwlewis
Copy link
Member

@joshwlewis joshwlewis commented May 22, 2023

The registry/request-add-buildpack and registry/request-yank-buildpack actions both rely on a synchronous check to ensure that the issue opened is also closed. The issue is only closed after the GitHub actions automation on buildpacks/registry-index finishes. However, it seems fairly common to see some instance queuing in GitHub actions. This PR changes the timeout for these actions to give a bit more time for the registry operations to complete.

Some examples of slower entries:

registry/request-add-entry with the default timeout of 2 minutes would have timed out for all of the above (in fact, one of mine did here: https://github.com/heroku/buildpacks-nodejs/actions/runs/5049524949/jobs/9059646026). I've increased the timeout to be just above the slowest of recent releases.

@joshwlewis joshwlewis requested review from a team as code owners May 22, 2023 22:26
@joshwlewis joshwlewis force-pushed the increase-add-entry-timeout branch from 78e33ea to 4ad31e1 Compare May 22, 2023 22:32
@joshwlewis joshwlewis added semver:patch A change requiring a patch version bump type:enhancement A general enhancement labels May 22, 2023
@edmorley
Copy link
Contributor

@hone I don't suppose you have access to this repo and could review? :-)

@jkutner jkutner merged commit 0af178c into main Jul 18, 2023
@jkutner jkutner deleted the increase-add-entry-timeout branch July 18, 2023 19:07
edmorley added a commit to heroku/languages-github-actions that referenced this pull request Jul 19, 2023
Dependabot can currently only update standard actions, not those
that use a Docker Hub reference - so this Docker Hub reference has
to be updated manually.

The upstream `request-add-entry` action has a number of fixes
we should pick up:
buildpacks/github-actions@v5.0.1...v5.3.0

Most notably:
- buildpacks/github-actions#198
- buildpacks/github-actions#214

GUS-W-13788681.
edmorley added a commit to heroku/languages-github-actions that referenced this pull request Jul 20, 2023
Dependabot can currently only update standard actions, not those
that use a Docker Hub reference - so this Docker Hub reference has
to be updated manually.

The upstream `request-add-entry` action has a number of fixes
we should pick up:
buildpacks/github-actions@v5.0.1...v5.3.0

Most notably:
- buildpacks/github-actions#198
- buildpacks/github-actions#214

Fixes #68.
GUS-W-13788681.
edmorley added a commit to edmorley/github-actions that referenced this pull request Jul 4, 2024
In buildpacks#214 the timeouts for Actions that rely on other Actions was
bumped from 2 minutes to 8 minutes.

However, there are still occasionally instances where the registry
request issue isn't processed for up to 15-16 minutes due to delays
in the GitHub Actions runner being started.

As such this raises the timeout again, from 8 minutes to 20 minutes.

Signed-off-by: Ed Morley <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
semver:patch A change requiring a patch version bump type:enhancement A general enhancement
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants