From e9a67cfc5beed55d93bc358f1f2421f17bbc0c37 Mon Sep 17 00:00:00 2001 From: Cao Kai Date: Sun, 30 Aug 2026 18:10:10 +0800 Subject: [PATCH] ci: avoid partial checkout for coverage helper --- .github/workflows/coverage-ut.yaml | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/.github/workflows/coverage-ut.yaml b/.github/workflows/coverage-ut.yaml index 2dc2316..5834ccf 100644 --- a/.github/workflows/coverage-ut.yaml +++ b/.github/workflows/coverage-ut.yaml @@ -155,8 +155,9 @@ jobs: token: ${{ secrets.TOKEN_ACTION }} repository: ${{ job.workflow_repository }} ref: ${{ job.workflow_sha }} - sparse-checkout: scripts/prepare_coverage_cgo.sh - sparse-checkout-cone-mode: false + # Avoid partial clone here: materializing the sparse file can trigger + # a non-retried promisor fetch after checkout's normal fetch retries. + fetch-depth: "1" path: .ci-workflow # Best-effort: seed the Go build/module caches and the prebuilt C # thirdparties from the nightly ci-builder image (see