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

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

Build:
Build:
LAST BUILD BRANCH: dev-1829-allauth-openapi-docs
DEFAULT BRANCH: master
Ran 30 Mar 2026 02:06PM UTC
Files 905
Run time 36s
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: 60.481% (-5.5%) from 66.017%
23748658159.6

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.

4671 of 11894 branches covered (39.27%)

21746 of 35955 relevant lines covered (60.48%)

0.6 hits per line

Source Files on job 23748658159.6
  • Tree
  • List 905
  • Changed 276
  • Source Changed 0
  • Coverage Changed 276
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