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

kobotoolbox / kpi / 23748658159 / 5
82%
master: 76%

Build:
Build:
LAST BUILD BRANCH: dev-1943-google-regional-data
DEFAULT BRANCH: master
Ran 30 Mar 2026 02:05PM UTC
Files 907
Run time 22s
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

30 Mar 2026 01:59PM UTC coverage: 55.611% (-10.4%) from 66.017%
23748658159.5

push

github

web-flow
fix(qual): graceful timeout handling for automatic qualitative analysis DEV-1928 (#6894)

### 📣 Summary
This PR introduces strict timeout configurations for AWS Bedrock
requests to prevent unhandled 504 Gateway Timeout errors during
automatic qualitative analysis.

### 📖 Description
This PR addresses an issue where slow responses from the LLM via AWS
Bedrock were causing the web server to sever the connection, resulting
in a 504 Gateway Timeout for the client.
- A strict timeout of 50 seconds (read) and 5 seconds (connect) is now
enforced on the `boto3` client via `botocore.config.Config`.
- The `run_external_process` loop is updated to catch
`ReadTimeoutError`.
- If a timeout occurs on the primary model, this PR ensures the system
gracefully falls back to the backup model.
- If all models time out, a clean JSON response with a failed status is
returned to the frontend rather than crashing the request.
- Unit tests have been updated and added to verify the timeout fallback
behavior.

3987 of 11848 branches covered (33.65%)

19999 of 35962 relevant lines covered (55.61%)

0.56 hits per line

Source Files on job 23748658159.5
  • Tree
  • List 907
  • Changed 300
  • Source Changed 0
  • Coverage Changed 300
Coverage ∆ File Lines Relevant Covered Missed Hits/Line Branch Hits Branch Misses
  • Back to Build 23748658159
  • 6c2e193d on github
  • Prev Job for on main (#23748212298.7)
  • Next Job for on main (#23748805479.10)
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