flowfi icon indicating copy to clipboard operation
flowfi copied to clipboard

[fix] Clear RPC timeout timers when calls settle

Open K1NGD4VID opened this issue 1 month ago • 11 comments

Labels: bug, backend, points: 150 File/location: backend/src/lib/rpc-pool.ts:74

Description: execute and probeAll allocate timeout timers for every RPC operation without clearing them on success or early failure. Successful calls retain closures until timeout and their AbortSignals are aborted after the operation has already succeeded.

Acceptance Criteria:

  • [ ] Clear timeout handles in finally on every settled operation/probe, while preserving timeouts for genuinely hung requests.
  • [ ] With fake timers, verify successful calls retain no timeout and are not later aborted; verify early failures and genuine timeout failover.

Notes: Source trace: neither execute nor probeAll stores or clears its Promise.race timeout handle.

Audited commit: 649b6976a100fd964ce191428eef1faeb50aaa39. Closest prior issues reviewed: #1192, #805. This report concerns the specific failure or uncovered test paths described above, rather than repeating the original feature request.

K1NGD4VID avatar Oct 21 '26 17:10 K1NGD4VID

@eleven-smg has applied to work on this issue as part of the Stellar Wave Program's 10th wave.

Hi maintainer I have thoroughly read the description to this issue and I can resolve this according to the description required ensuring it meet all the acceptance criteria kindly assign.

ℹ️ Repo Maintainers: To accept this application, review their application or assign @eleven-smg to this issue.

eleven-smg avatar Oct 21 '26 20:10 eleven-smg

@baba-billy has applied to work on this issue as part of the Stellar Wave Program's 10th wave.

Please assign

ℹ️ Repo Maintainers: To accept this application, review their application or assign @baba-billy to this issue.

baba-billy avatar Oct 21 '26 20:10 baba-billy

@rilwanubala has applied to work on this issue as part of the Stellar Wave Program's 10th wave.

HI, how are you doing? please assign me to work on this issue

ℹ️ Repo Maintainers: To accept this application, review their application or assign @rilwanubala to this issue.

rilwanubala avatar Oct 21 '26 21:10 rilwanubala

@Ayfataan has applied to work on this issue as part of the Stellar Wave Program's 10th wave.

I’d like to work on this issue

ℹ️ Repo Maintainers: To accept this application, review their application or assign @Ayfataan to this issue.

Ayfataan avatar Oct 21 '26 23:10 Ayfataan

@Ayfataan has applied to work on this issue as part of the Stellar Wave Program's 10th wave.

I’d like to work on this issue

ℹ️ Repo Maintainers: To accept this application, review their application or assign @Ayfataan to this issue.

Ayfataan avatar Oct 21 '26 23:10 Ayfataan

@Fatima26-star has applied to work on this issue as part of the Stellar Wave Program's 10th wave.

‎I would love to work on this issue. I'll keep the implementation simple, clean, and well-tested.

ℹ️ Repo Maintainers: To accept this application, review their application or assign @Fatima26-star to this issue.

Fatima26-star avatar Oct 22 '26 08:10 Fatima26-star

@awwalmust has applied to work on this issue as part of the Stellar Wave Program's 10th wave.

I would like to work on this issue

ℹ️ Repo Maintainers: To accept this application, review their application or assign @awwalmust to this issue.

awwalmust avatar Oct 22 '26 09:10 awwalmust

@solaawojobi00-bit has applied to work on this issue as part of the Stellar Wave Program's 10th wave.

Kindly assign

ℹ️ Repo Maintainers: To accept this application, review their application or assign @solaawojobi00-bit to this issue.

solaawojobi00-bit avatar Oct 22 '26 09:10 solaawojobi00-bit

@nemeregiftbrown-byte has applied to work on this issue as part of the Stellar Wave Program's 10th wave.

Hi maintainer please i will love to work on this issue

ℹ️ Repo Maintainers: To accept this application, review their application or assign @nemeregiftbrown-byte to this issue.

nemeregiftbrown-byte avatar Oct 22 '26 09:10 nemeregiftbrown-byte

Congratulations, @nemeregiftbrown-byte! 🎉 Your application was accepted by the repo's maintainers, and the issue is due on October 22, 2026.

🧑‍💻 @nemeregiftbrown-byte: Please resolve the issue such that the repo's maintainers have enough time to review your contribution before the due date. You'll earn Points for completing the issue on-time, which will make you eligible for a share of the Stellar Wave Program's reward pool.

[!WARNING] When opening a PR, please link it to this issue to ensure it gets tracked accurately. Points are awarded when this issue is marked as completed by the maintainer.

🤠 Repo maintainers: Please keep an eye on the contributor's progress and review their work before the due date. You can manage this issue, including adjusting its complexity and points, here.

🌊 Happy Wave 🌊

drips-wave[bot] avatar Oct 22 '26 10:10 drips-wave[bot]

This issue has been completed by @nemeregiftbrown-byte as part of the Stellar Wave Program's 10th Wave 🥳

😎 @nemeregiftbrown-byte: You earned 200 Points for completing this issue! Once the Wave's rewards are finalized, you'll be eligible for a percentage of the Wave's reward pool based on the percentage of total points you've earned. Learn more here. You can also Leave a review to share your experience working on this issue.

🧑‍💻 Repo maintainers: How'd the contributor do? Leave a review to share your experience working with them.

drips-wave[bot] avatar Oct 26 '26 15:10 drips-wave[bot]