[test] Cover stream API pagination normalization
Labels: testing, frontend, points: 150 File/location: frontend/src/lib/api/streams.ts
Description: Pagination metadata, empty pages, and malformed stream records 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.
@johnagana-dev has applied to work on this issue as part of the Stellar Wave Program's 10th wave.
Hi, maintainer. Can i be assigned to this project pretty please?
ℹ️ Repo Maintainers: To accept this application, review their application or assign @johnagana-dev to this issue.
@Simbabi has applied to work on this issue as part of the Stellar Wave Program's 10th wave.
Hi Maintainer, I'd like to work on this. Since the issue is about normalization, I'd read
streams.tsfirst and write the tests as a characterization of what it does today: missing, zero, negative, and non-numeric page and limit values, an out-of-range page, totals that disagree with the number of items returned, and malformed stream records. If any of those silently drops or coerces data in a surprising way, I'd flag it in the PR instead of locking it in unnoticed.I work in TypeScript and Vitest daily, so the tests would mock the fetch layer for full determinism and cover network failures and non-2xx responses against the module's error contract. They'd run in the existing frontend suite, so CI picks them up without config changes. It's a contained change, so I can have a PR up today. Could you assign this to me?
ℹ️ Repo Maintainers: To accept this application, review their application or assign @Simbabi to this issue.
@Abayomi-fx has applied to work on this issue as part of the Stellar Wave Program's 10th wave.
I've gone through your requirement thoroughly, I will fix this issues and implement a clean pull request to match your acceptance criteria.
ℹ️ Repo Maintainers: To accept this application, review their application or assign @Abayomi-fx to this issue.
@Sirbeejay16 has applied to work on this issue as part of the Stellar Wave Program's 10th wave.
Hi Maintainer, I will get this done in 20 minutes, let's get this done
ℹ️ Repo Maintainers: To accept this application, review their application or assign @Sirbeejay16 to this issue.
@charleswilliams788 has applied to work on this issue as part of the Stellar Wave Program's 10th wave.
Hi, I’ve looked through the issue and understand the changes required. I’m confident I can handle the task and would appreciate the opportunity.
ℹ️ Repo Maintainers: To accept this application, review their application or assign @charleswilliams788 to this issue.
@Joseph-tech10 has applied to work on this issue as part of the Stellar Wave Program's 10th wave.
I’ve thoroughly reviewed the issue and have a clear understanding of the intended outcome. I’d like to take this on and deliver a well-integrated solution that meets the acceptance criteria while maintaining the quality and consistency of the existing project.
ℹ️ Repo Maintainers: To accept this application, review their application or assign @Joseph-tech10 to this issue.
@dannyxzb has applied to work on this issue as part of the Stellar Wave Program's 10th wave.
Hi Maintainer, I've reviewed the issue and the linked discussion. The fix should be straightforward. Please assign this issue to me. I'd love to work on it.
ℹ️ Repo Maintainers: To accept this application, review their application or assign @dannyxzb to this issue.
@sweetgirl8523 has applied to work on this issue as part of the Stellar Wave Program's 10th wave.
Hello maintainer. I’d be glad to strengthen FlowFi’s stream API reliability with deterministic tests for pagination metadata, empty pages, malformed records, boundary inputs, and dependency failures. I’d sincerely appreciate the opportunity to contribute this focused testing improvement.
ℹ️ Repo Maintainers: To accept this application, review their application or assign @sweetgirl8523 to this issue.
@Hakimi674 has applied to work on this issue as part of the Stellar Wave Program's 10th wave.
Hi Maintainer, I’ve reviewed the requirements for this issue and understand the changes that need to be made. I’d appreciate it if you could assign the issue to me so I can get started.
ℹ️ Repo Maintainers: To accept this application, review their application or assign @Hakimi674 to this issue.
@loladeyisau8-hub has applied to work on this issue as part of the Stellar Wave Program's 10th wave.
Ready to start working immediately, kindly assign.
ℹ️ Repo Maintainers: To accept this application, review their application or assign @loladeyisau8-hub to this issue.
@OlayiwolaSherrifSalawu has applied to work on this issue as part of the Stellar Wave Program's 10th wave.
I would like to work on this issues
ℹ️ Repo Maintainers: To accept this application, review their application or assign @OlayiwolaSherrifSalawu to this issue.
Congratulations, @OlayiwolaSherrifSalawu! 🎉 Your application was accepted by the repo's maintainers, and the issue is due on October 22, 2026.
🧑💻 @OlayiwolaSherrifSalawu: 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 marked as completed by a Drips Wave moderator for @OlayiwolaSherrifSalawu as part of the Stellar Wave Program's 10th Wave 🥳
Moderator's reason: [Auto-assessed] The PR was merged successfully (mergedAt: 2026-10-28T13:26:46Z), completing the implementation of stream API pagination normalization tests as requested in Issue #1771.
😎 @OlayiwolaSherrifSalawu: 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.
🧑💻 Repo maintainers: How'd the contributor do? Leave a review to share your experience working with them.
ℹ️ Note: This issue was marked complete via moderation. Points were issued even though the GitHub issue remains open.