From 9cdafa19b126b4dffe191de2975ee0e8488e5655 Mon Sep 17 00:00:00 2001 From: David Iglesias Date: Tue, 26 Mar 2024 14:56:42 -0700 Subject: [PATCH] [ci] Adds sleep 60s to release action. As suggested in #137299: * Adds a 1 minute sleep to our `release.yml` workflow so LUCI checks have time to be populated through the GitHub Webhooks, before attempting to look at them. This will make the `release` action a little bit slower, but hopefully much more reliable. --- .github/workflows/release.yml | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 977f7f5f152..777e15bcc6e 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -43,6 +43,13 @@ jobs: run: dart pub get working-directory: ${{ github.workspace }}/script/tool + # Give some time for LUCI checks to start becoming populated. + # Because of latency in Github Webhooks, we need to wait for a while + # before being able to look at checks scheduled by LUCI. + - name: Give webhooks a minute + run: sleep 60s + shell: bash + # The next step waits for all tests, but when there are issues with the # hooks it can take a long time for the tests to even be registered. If # "Wait on all tests" runs before that happens, it will pass immediately