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

kobotoolbox / kpi / 23179673250 / 3
81%
master: 76%

Build:
Build:
LAST BUILD BRANCH: main
DEFAULT BRANCH: master
Ran 17 Mar 2026 05:24AM UTC
Files 895
Run time 19s
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

17 Mar 2026 05:19AM UTC coverage: 54.432% (-5.9%) from 60.33%
23179673250.3

push

github

web-flow
feat(qual): add per-user throttling for Automatic QA requests DEV-1449 (#6824)

### 📣 Summary
Adds a configurable per-user rate limit for automatic QA requests to
prevent users or scripts from triggering large bursts of Bedrock
requests through the supplement API.

### 📖 Description
Automatic QA requests trigger calls to external LLM providers (AWS
Bedrock). Currently there is no protection against a user sending a
large number of requests in a short time period.

Although the UI does not provide bulk operations, users could easily
send repeated requests via scripts (e.g. curl or API clients).

This PR introduces per-user rate limiting for Automatic QA requests. The
throttle:
- applies only to Automatic Bedrock QA requests (e.g.,
`AUTOMATIC_BEDROCK_QUAL`)
- is enforced on the submission supplement PATCH endpoint
- is per authenticated user
- limits requests to N requests per second (Configurable via Constance
`AUTOMATIC_QA_REQUESTS_PER_SECOND`, default: 5)

If a user exceeds the configured limit, the API returns: `HTTP 429 Too
Many Requests`

3596 of 11518 branches covered (31.22%)

19195 of 35264 relevant lines covered (54.43%)

0.54 hits per line

Source Files on job 23179673250.3
  • Tree
  • List 895
  • Changed 153
  • Source Changed 0
  • Coverage Changed 153
Coverage ∆ File Lines Relevant Covered Missed Hits/Line Branch Hits Branch Misses
  • Back to Build 23179673250
  • 26f81f01 on github
  • Prev Job for on main (#23141457682.5)
  • Next Job for on main (#23198933749.1)
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