diff --git a/.github/workflows/test-go.yml b/.github/workflows/test-go.yml index ca62de272e..d048455f04 100644 --- a/.github/workflows/test-go.yml +++ b/.github/workflows/test-go.yml @@ -294,6 +294,10 @@ jobs: run_id: context.runId, }); + // This is a temporary debugging statement to catch an intermittent API issue + // we will remove it once this script runs reliably + console.log(result.data); + const prefixToSearchFor = 'Run Go tests / test-go (${{ matrix.id }}' const jobData = result.data.jobs.filter( (job) => job.name.startsWith(prefixToSearchFor) @@ -303,9 +307,7 @@ jobs: jobData.length == 0 || jobData[0].html_url === undefined ) { - const msg = "Failed to fetch GHA job data."; - console.log(msg); - throw new Error(msg); + console.log("Failed to fetch GHA job data."); } const url = jobData[0].html_url; @@ -319,6 +321,7 @@ jobs: }); - name: Prepare failure summary if: success() || failure() + continue-on-error: true run: | # This jq query filters out successful tests, leaving only the failures. # Then, it formats the results into rows of a Markdown table.