Skip to content

Commit 19789af

Browse files
committed
fix: remove retry loop around dagger call ci
Retrying the entire pipeline masks real failures and wastes CI time. Individual publish steps can handle their own retries if needed. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
1 parent eac1865 commit 19789af

1 file changed

Lines changed: 1 addition & 12 deletions

File tree

.github/workflows/ci.yml

Lines changed: 1 addition & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -161,18 +161,7 @@ jobs:
161161
)
162162
fi
163163
164-
MAX_RETRIES=5
165-
RETRY=0
166-
until dagger -v call ci "${ARGS[@]}"; do
167-
RETRY=$((RETRY + 1))
168-
if [ "$RETRY" -ge "$MAX_RETRIES" ]; then
169-
echo "Dagger CI failed after $MAX_RETRIES attempts"
170-
exit 1
171-
fi
172-
DELAY=$((10 + RETRY * 10))
173-
echo "Dagger CI failed (attempt $RETRY/$MAX_RETRIES), retrying in ${DELAY}s..."
174-
sleep "$DELAY"
175-
done
164+
dagger -v call ci "${ARGS[@]}"
176165
177166
- name: Update READMEs via Dagger
178167
if: github.ref_name == 'main'

0 commit comments

Comments
 (0)