flowfi icon indicating copy to clipboard operation
flowfi copied to clipboard

[test] Cover stream validator integer boundaries

Open K1NGD4VID opened this issue 1 month ago • 6 comments

Labels: testing, backend, points: 150 File/location: backend/src/validators/stream.validator.ts

Description: I128 limits, zero values, decimal strings, and unsafe numeric inputs lack boundary coverage.

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

Hi maintainers,

I reviewed the issue for Cover stream validator integer boundaries. Redis operations or stream consumer pipelines need robust handling around timeouts, atomic ttl expiration, and consumer group pel retention.

Proposed Implementation:

  1. Audit the Redis transaction or pipeline operations to guarantee atomic key creation and TTL assignment.
  2. Ensure consumer group acknowledgment and stream retention parameters prevent unexpected data loss.
  3. Propagate configured timeout deadlines cleanly across pipelined commands.

Testing & Verification: I will simulate high-throughput or network delay scenarios to verify bounded memory and zero dropped entries.

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

GangDev6707 avatar Nov 06 '26 10:11 GangDev6707

Hey team,

I reviewed the issue for Cover stream validator integer boundaries. Redis operations or stream consumer pipelines need robust handling around timeouts, atomic ttl expiration, and consumer group pel retention.

Proposed Implementation:

  1. Audit the Redis transaction or pipeline operations to guarantee atomic key creation and TTL assignment.
  2. Ensure consumer group acknowledgment and stream retention parameters prevent unexpected data loss.
  3. Propagate configured timeout deadlines cleanly across pipelined commands.

Testing & Verification: I will simulate high-throughput or network delay scenarios to verify bounded memory and zero dropped entries.

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

maxx-GENIUS avatar Nov 08 '26 12:11 maxx-GENIUS

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

I would like to on this issue please

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

Rayhab2000 avatar Nov 21 '26 13:11 Rayhab2000

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

hi, let me work on this

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

samad13 avatar Nov 21 '26 13:11 samad13

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

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

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

😎 @samad13: 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 28 '26 16:11 drips-wave[bot]