• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

medplum / medplum / 25574796321
92%

Build:
DEFAULT BRANCH: main
Ran 08 May 2026 07:24PM UTC
Jobs 1
Files 781
Run time 2min
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

08 May 2026 07:07PM UTC coverage: 91.723% (+0.001%) from 91.722%
25574796321

push

github

web-flow
Add admin API endpoint for rate limit utilization status (#9152)

* Add admin API endpoint for rate limit utilization status

Adds GET /admin/projects/:projectId/rate-limits that reads current
FHIR quota consumption from Redis for project members. Accepts optional
membershipId query params to check specific memberships. Returns
per-membership and per-project quota utilization without consuming
any rate limit points.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Signed-off-by: maddyli <maddy@medplum.com>

* [autofix.ci] apply automated fixes

Signed-off-by: maddyli <maddy@medplum.com>

* Move rate limits to FHIR operation, extract shared config, use arrayify

- Move endpoint from /admin/projects/:id/rate-limits to
  /fhir/R4/Project/:id/$rate-limits as a proper FHIR operation
- Extract shared rate limit config (key prefixes, duration, quota
  resolution) into getFhirQuotaConfig() in fhirquota.ts so the
  endpoint and the rate limiter stay in sync
- Use arrayify() from @medplum/core for query param normalization
- Return FHIR Parameters resource instead of custom JSON

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Signed-off-by: maddyli <maddy@medplum.com>

* [autofix.ci] apply automated fixes

Signed-off-by: maddyli <maddy@medplum.com>

* Revert "refactor(agent): always collect HL7 conn stats (#9141)"

This reverts commit 6f87f6cd5.

Signed-off-by: maddyli <maddy@medplum.com>

* have rate limit call consume rate limits

Signed-off-by: maddyli <maddy@medplum.com>

* [autofix.ci] apply automated fixes

Signed-off-by: maddyli <maddy@medplum.com>

* remove getfhirquota from context.ts

Signed-off-by: maddyli <maddy@medplum.com>

* refactor: use OperationDefinition with parseInputParameters/buildOutputParameters

Replace manual Parameters construction with FHIR OperationDefinition-based
parameter handling for the $rate-limits operation.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Signed-off-by... (continued)

18707 of 21342 branches covered (87.65%)

Branch coverage included in aggregate %.

48 of 50 new or added lines in 3 files covered. (96.0%)

33933 of 36048 relevant lines covered (94.13%)

13337.13 hits per line

Uncovered Changes

Lines Coverage ∆ File
2
92.45
packages/server/src/fhir/operations/project-rate-limits.ts
Jobs
ID Job ID Ran Files Coverage
1 25574796321.1 08 May 2026 07:24PM UTC 781
91.72
GitHub Action Run
Source Files on build 25574796321
  • Tree
  • List 781
  • Changed 2
  • Source Changed 0
  • Coverage Changed 2
Coverage ∆ File Lines Relevant Covered Missed Hits/Line Branch Hits Branch Misses
  • Back to Repo
  • 64d82411 on github
  • Prev Build on gh-readonly-queue/main/pr-9067-983bf9650bb1b973505e78f9f31c407d8efb6904 (#25568418586)
  • Next Build on main (#25580026919)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc