Skip to content

fix: specs for money validator, webhook payload, rate limits on public reads, and relations loading - #712

Merged
chonilius merged 1 commit into
MergeFi:mainfrom
meloball9993-star:fix/meloball9993-star-validators-throttling-relations
Oct 20, 2026
Merged

chonilius merged 1 commit into
MergeFi:mainfrom
meloball9993-star:fix/meloball9993-star-validators-throttling-relations

Conversation

@meloball9993-star

Copy link
Copy Markdown
Contributor

This PR resolves the 4 issues assigned to @meloball9993-star:

  1. Money Validator Specs: Added comprehensive unit tests in src/common/validators/money.validator.spec.ts testing 7-decimal boundaries, rejection of 8 decimals, 0, leading zeros, 100M cap, and stroops roundtrip.
  2. GitHub Webhook Payload Specs: Added src/github/github-webhook-payload.util.spec.ts testing minimal valid payloads, missing required fields, and incorrect property types for PR and issue webhooks.
  3. Public Read Throttling: Added @Throttle limits on public read endpoints (GET /bounties/:id, GET /milestones/:id, GET /maintenance-pools, GET /maintenance-pools/:id) to prevent database resource exhaustion.
  4. Relations Loading: Added repository and issues relation loading in MilestonesService.list and repository in MaintenancePoolService.list and findOne.

Closes #603
Closes #595
Closes #592
Closes #591

@drips-wave

drips-wave Bot commented Oct 20, 2026

Copy link
Copy Markdown

@meloball9993-star Great news! 🎉 Based on an automated assessment of this PR, the linked Wave issue(s) no longer count against your application limits.

You can now already apply to more issues while waiting for a review of this PR. Keep up the great work! 🚀

Learn more about application limits

@vercel

vercel Bot commented Oct 20, 2026

Copy link
Copy Markdown

@meloball9993-star is attempting to deploy a commit to the chonilius' projects Team on Vercel.

A member of the Team first needs to authorize it.

@chonilius
chonilius merged commit 6870229 into MergeFi:main Oct 20, 2026
1 check failed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment