From 421c895b1db656ed1c34935f8ffe22f543dec159 Mon Sep 17 00:00:00 2001 From: Harsh Mishra Date: Mon, 10 Aug 2026 16:57:50 +0530 Subject: [PATCH] DOC-373: fix broken Update Parity Docs pipeline Since the localstack-pro CI restructure (PR #7263, June 2026), the parity-metric-* artifacts are only uploaded by scheduled nightly runs of the 'AWS / Build, Test, Push' workflow, while push-triggered runs (the vast majority) only execute acceptance tests. The artifact search window of 20 runs therefore no longer contained any run with parity metrics. Raise the search window (LIMIT) to 200 runs so the latest successful nightly run is found. Also remove the download step for the Free Plan K8s pipeline: the 'AWS / Community K8S tests' workflow was deleted from localstack-pro in the same restructure, so its artifacts no longer exist. --- .github/workflows/docs-parity-updates.yml | 19 ++++++++----------- 1 file changed, 8 insertions(+), 11 deletions(-) diff --git a/.github/workflows/docs-parity-updates.yml b/.github/workflows/docs-parity-updates.yml index a50862eea..cdfd8ba1b 100644 --- a/.github/workflows/docs-parity-updates.yml +++ b/.github/workflows/docs-parity-updates.yml @@ -48,8 +48,13 @@ jobs: GITHUB_TOKEN: ${{ secrets.PRO_ACCESS_TOKEN }} REPOSITORY_NAME: localstack-pro ARTIFACT_ID: parity-metric-pro-raw-amd* - WORKFLOW: "AWS / Build, Test, Push" + WORKFLOW: "AWS / Build, Test, Push" PREFIX_ARTIFACT: pro-integration-test + # The parity-metric-* artifacts are only uploaded by scheduled (nightly) runs of the + # AWS main pipeline; push-triggered runs only execute acceptance tests. Scan a larger + # window of runs so the search reaches the latest successful nightly run among the + # far more frequent push-triggered runs. + LIMIT: 200 - name: Download coverage (capture-notimplemented) data from Enterprise pipeline (GitHub) working-directory: docs @@ -70,6 +75,8 @@ jobs: ARTIFACT_ID: parity-metric-raw-amd* WORKFLOW: "AWS / Build, Test, Push" PREFIX_ARTIFACT: community-integration-test + # See the comment on the Enterprise pipeline metrics step above. + LIMIT: 200 - name: Download coverage (capture-notimplemented) data from Free Plan pipeline (GitHub) working-directory: docs @@ -101,16 +108,6 @@ jobs: WORKFLOW: "AWS / Pro K8s tests" PREFIX_ARTIFACT: k8s-integration-test - - name: Download coverage data for Free Plan K8s pipeline (integration tests) (GitHub) - working-directory: docs - run: /tmp/get_latest_github_metrics.sh ./target main - env: - GITHUB_TOKEN: ${{ secrets.PRO_ACCESS_TOKEN }} - REPOSITORY_NAME: localstack-pro - ARTIFACT_ID: parity-metric-community-k8s-integration-raw-* - WORKFLOW: "AWS / Community K8S tests" - PREFIX_ARTIFACT: k8s-community-integration-test - - name: Create Parity Coverage Docs working-directory: docs run: |