flowfi icon indicating copy to clipboard operation
flowfi copied to clipboard

[Testing] Stop excluding the core Soroban/indexer modules from coverage gates

Open blurbeast opened this issue 2 weeks ago • 4 comments

Overview & Background

backend/vitest.config.ts:26-30 excludes src/services/sorobanService.ts (1005 lines — the on-chain integration), src/workers/soroban-event-worker.ts (the event indexer), and src/services/indexer.service.ts from coverage, while enforcing only 60% thresholds. The frontend gates at 20% lines. The 60% backend gate is therefore computed with the most mission-critical modules — transaction submission, chain reads, event ingestion — removed from measurement: coverage can look healthy while the payment-stream core rots.


Technical Specification & Architecture

  1. Remove sorobanService.ts / soroban-event-worker.ts from coverage.exclude (keep excluding only example files).
  2. Raise thresholds as coverage allows (restore the documented 60%+ path).
  3. Raise frontend thresholds once the current suite is measured honestly.

Target Files

  • backend/vitest.config.ts
  • frontend/vitest.config.ts

Acceptance Criteria

  • [ ] Soroban/indexer modules appear in coverage reports.
  • [ ] Coverage gates measure the payment-critical code paths.
  • [ ] Threshold plan documented for incremental raises.

blurbeast avatar Nov 18 '26 19:11 blurbeast

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

Dear maintainer please assign this issue to me

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

Osuochasam avatar Nov 21 '26 00:11 Osuochasam

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

easy issue for me

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

bolabeatz avatar Nov 21 '26 07:11 bolabeatz

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

🧑‍💻 @bolabeatz: 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 07:11 drips-wave[bot]

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

😎 @bolabeatz: 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 22 '26 20:11 drips-wave[bot]