rpc-tests.yml is chronically flaky on main
Nobody has claimed this yet.
Assessment
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Newbie friendliness
- 45/100
- Issue type
- Bug
- Clarity
- Needs clarification
- Activity status
- Active
- Tech stack
- github-actions, rust
- Domain
- ci-cd, testing-qa
Research direction
Start with rpc-tests.yml and compare the listed failed workflow runs, including the clawback and auto-build integration tests, to identify recurring timing or resource patterns. Review the integration test execution and cargo-nextest retry options mentioned in the issue. Done should be a bounded workflow or test-suite change that reduces these failures without leaving main gated by unresolved flakiness.
Written by the indexing model from the issue text.
Description
The RPC Tests workflow fails on a large majority of pushes to main: 23 of the last 30 push-triggered runs failed. The failures don't point to one regression — a different integration test fails each time, and the failing job varies too (seen on both ubuntu-latest-8-cores and macos-15-large). For example, integration::tx::clawback::clawback has failed on an immediate post-clawback balance assertion on macOS, while integration::auto_build::deploy_workspace_with_package_auto_builds has failed on Ubuntu in a different run. This pattern looks like timing/eventual-consistency races and possibly resource contention in the live-network integration suite rather than a single code defect.
A few directions that might be worth exploring: replacing immediate post-action assertions (like the clawback balance check) with a poll-with-timeout, adding retries for the integration test suite (e.g. via cargo-nextest --retries), and possibly separating out the flakiest tests into a non-blocking job so they stop gating main while they're investigated.
Below are 15 recent runs on main where this workflow failed, most recent first, as evidence of the pattern:
- https://github.com/stellar/stellar-cli/actions/runs/32060658023 (2026-08-17)
- https://github.com/stellar/stellar-cli/actions/runs/32028700318 (2026-08-17)
- https://github.com/stellar/stellar-cli/actions/runs/31391102061 (2026-08-10)
- https://github.com/stellar/stellar-cli/actions/runs/31189615817 (2026-08-07)
- https://github.com/stellar/stellar-cli/actions/runs/30956068415 (2026-08-04)
- https://github.com/stellar/stellar-cli/actions/runs/30941049691 (2026-08-04)
- https://github.com/stellar/stellar-cli/actions/runs/30634589862 (2026-07-31)
- https://github.com/stellar/stellar-cli/actions/runs/30506187096 (2026-07-30)
- https://github.com/stellar/stellar-cli/actions/runs/30463157771 (2026-07-29)
- https://github.com/stellar/stellar-cli/actions/runs/30364950775 (2026-07-28)
- https://github.com/stellar/stellar-cli/actions/runs/30303449763 (2026-07-27)
- https://github.com/stellar/stellar-cli/actions/runs/30289224414 (2026-07-27)
- https://github.com/stellar/stellar-cli/actions/runs/30117101420 (2026-07-24)
- https://github.com/stellar/stellar-cli/actions/runs/30046317845 (2026-07-23)
- https://github.com/stellar/stellar-cli/actions/runs/29950742418 (2026-07-22)
- Dominant language
- Rust
- Stars
- 123
- Forks
- 141
- Avg merge
- 2d 21h
- Merged PRs (30d)
- 17
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from stellar/stellar-cli
-
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
stellar/stellar-cli#2384 · 2 comments ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 68/100
stellar/stellar-cli#2347 ·
-
Difficulty 3/5 1-2 days Newbie friendliness 68/100
stellar/stellar-cli#2723 ·
-
Difficulty 3/5 1-2 days Newbie friendliness 72/100
stellar/stellar-cli#2722 ·
-
Difficulty 4/5 3-5 days Newbie friendliness 48/100
stellar/stellar-cli#2703 ·
All issues in stellar/stellar-cli
Similar issues
-
Difficulty 2/5 1-3 hours Newbie friendliness 86/100
kwakseongjae/auto-hwp#319 ·
-
area:cli bug filter-quality good first issue priority:medium
Difficulty 2/5 1-3 hours Newbie friendliness 84/100
-
Difficulty 1/5 Under an hour Newbie friendliness 72/100
bevyengine/bevy#25861 ·
-
comp-datalake
Difficulty 2/5 1-3 hours Newbie friendliness 88/100
ClickHouse/ClickHouse#121222 ·
-
enhancement remote
Difficulty 2/5 1-3 hours Newbie friendliness 68/100