Skip to content

ci(release): poll crates.io instead of fixed sleep — fixes v0.1.0 verify-step flake#27

Merged
saurabhjain1592 merged 2 commits intomainfrom
ci/bump-cratesio-propagation-wait
May 5, 2026
Merged

ci(release): poll crates.io instead of fixed sleep — fixes v0.1.0 verify-step flake#27
saurabhjain1592 merged 2 commits intomainfrom
ci/bump-cratesio-propagation-wait

Conversation

@saurabhjain1592
Copy link
Copy Markdown
Member

Summary

The v0.1.0 release exposed a flake: cargo publish returned success but the crates.io index lookup at /api/v1/crates/axonflow-sdk-rust/0.1.0 hadn't propagated within the 30s sleep, so the verify step false-failed. The crate WAS live (verified manually) by the time we re-ran.

Replace the fixed sleep + single curl with a 12-attempt poll (15s between attempts, ~3-minute ceiling). Exits early on first success, fails clearly with a manual-check pointer if the ceiling is hit.

Test plan

  • yaml.safe_load clean
  • Will be exercised on the next v* tag push

Contributor acknowledgement

  • DCO sign-off
  • CONTRIBUTING.md
  • MIT
  • Branch: ci/bump-cratesio-propagation-wait

…sleep

The v0.1.0 release exposed a flake: cargo publish returned success but the
crates.io index lookup at /api/v1/crates/axonflow-sdk-rust/0.1.0 hadn't
propagated within the 30s sleep, so the verify step false-failed (the crate
WAS live by the time we manually checked).

Replace the fixed sleep + single curl with a 12-attempt poll (15s between
attempts, ~3 minute ceiling). Exits early on first success, fails clearly
with a manual-check pointer if the ceiling is hit.

Signed-off-by: Saurabh Jain <saurabhjain1592@gmail.com>
Signed-off-by: Saurabh Jain <saurabhjain1592@gmail.com>
@saurabhjain1592 saurabhjain1592 merged commit 43d97c3 into main May 5, 2026
9 checks passed
@saurabhjain1592 saurabhjain1592 deleted the ci/bump-cratesio-propagation-wait branch May 5, 2026 16:45
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant