flowfi icon indicating copy to clipboard operation
flowfi copied to clipboard

[test] Cover Soroban retry abort behavior

Open K1NGD4VID opened this issue 1 month ago • 7 comments

Labels: testing, backend, points: 150 File/location: backend/src/services/sorobanService.ts

Description: Retries, abort signals, backoff exhaustion, and timeout cleanup lack service tests.

Acceptance Criteria:

  • [ ] Add deterministic tests for the documented success and failure paths, including boundary inputs and dependency failures.
  • [ ] Run the new tests in the corresponding CI suite and assert the public behavior and error contract.

Notes: This is a focused regression gap for the cited module; it was not covered by the existing test files reviewed during the sweep.

K1NGD4VID avatar Oct 22 '26 04:10 K1NGD4VID

Hello!

Happy to work on this in flowfi. I have a clean approach to address Cover Soroban retry abort behavior and will verify the implementation against existing test suites. Would love to take this on — please assign!

Thanks!

Ranjeet2063 avatar Oct 27 '26 19:10 Ranjeet2063

Hi team,

I'm interested in tackling this issue. Here is how I plan to resolve it:

  1. I can implement the contract logic with strict authorization checks, optimized storage footprint, and full simulation test coverage before opening the PR.
  2. Add full test coverage and ensure clean CI verification.

Looking forward to contributing this once assigned. Will make sure all existing checks stay green.

ranjan1969x avatar Nov 01 '26 10:11 ranjan1969x

Hey team,

I'd like to help resolve this issue. Governance authorization checks, boundary caps, or state validation need to be enforced across contract invocations. I plan to implement strict administrative authorization checks (require_auth) and state transition validations and enforce boundary rules and prevent state corruption or reentrancy hazards, followed by emit comprehensive audit events upon successful state modifications.

I'll write contract integration tests verifying both authorized state updates and unauthorized invocation rejections to verify everything passes cleanly.

Happy to take this on if you can assign it over. Will get a clean PR ready promptly.

GangDev6707 avatar Nov 02 '26 00:11 GangDev6707

Hi @LabsCrypt maintainers,

I reviewed the issue for Cover Soroban retry abort behavior. Governance authorization checks, boundary caps, or state validation need to be enforced across contract invocations.

Proposed Implementation:

  1. Implement strict administrative authorization checks (require_auth) and state transition validations.
  2. Enforce boundary rules and prevent state corruption or reentrancy hazards.
  3. Emit comprehensive audit events upon successful state modifications.

Testing & Verification: I will write contract integration tests verifying both authorized state updates and unauthorized invocation rejections.

Please assign this to me and I will deliver a clean PR with passing tests shortly.

maxx-GENIUS avatar Nov 03 '26 00:11 maxx-GENIUS

@Dreal-pyper has applied to work on this issue as part of the Stellar Wave Program's 11th wave.

Hi maintainer, I can get this issue fixed quickly. Please assign it to me

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

Dreal-pyper avatar Nov 21 '26 12:11 Dreal-pyper

Congratulations, @Dreal-pyper! 🎉 Your application was accepted by the repo's maintainers, and the issue is due on November 25, 2026.

🧑‍💻 @Dreal-pyper: 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 Nov 21 '26 12:11 drips-wave[bot]

This issue has been completed by @Dreal-pyper as part of the Stellar Wave Program's 11th Wave 🥳

😎 @Dreal-pyper: 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 Nov 21 '26 16:11 drips-wave[bot]