[test] Cover completion event replay
Labels: testing, backend, points: 150 File/location: backend/src/workers/soroban-event-worker.ts
Description: Completion events arriving before or after final withdrawal lack 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.
Hi @LabsCrypt! I'd like to work on this issue (#1763). Plan: add deterministic tests covering completion event replay idempotency, state transitions, and failure/boundary conditions. ETA: ~30 minutes.
Submitted PR: https://github.com/LabsCrypt/flowfi/pull/1833
Hey team,
I'd like to help resolve this issue. We need to resolve 'cover completion event replay' cleanly across the target modules. I plan to trace the current code execution path to isolate the behavior boundary and implement a focused, modular fix for 'cover completion event replay' adhering strictly to repository architecture, followed by ensure defensive guards and backward compatibility are maintained.
I'll reproduce the target scenario locally, add regression unit tests, and confirm all CI checks pass 100% green to verify everything passes cleanly.
Please assign this to me, ready to submit a tested patch with zero regressions.
@MFrancis-dev 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 @MFrancis-dev to this issue.
Congratulations, @MFrancis-dev! đ Your application was accepted by the repo's maintainers, and the issue is due on November 25, 2026.
đ§âđģ @MFrancis-dev: 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 đ
This issue has been completed by @MFrancis-dev as part of the Stellar Wave Program's 11th Wave đĨŗ
đ @MFrancis-dev: 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.