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

aarongarrett / quorum / 19083081503
91%

Build:
DEFAULT BRANCH: main
Ran 04 Nov 2025 09:17PM UTC
Jobs 2
Files 51
Run time 1min
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

04 Nov 2025 09:16PM UTC coverage: 90.817% (+0.03%) from 90.784%
19083081503

push

github

aarongarrett
Improve security, observability, and error handling

  Security improvements:
  - Prevent information disclosure by returning generic error messages to clients while logging detailed errors server-side
  - Require SECRET_KEY and ADMIN_PASSWORD environment variables in Docker Compose
  - Add production build validation for frontend API configuration
  - Fix broad exception handling to catch only specific exception types

  Observability enhancements:
  - Add comprehensive health check metrics including database pool status and memory usage
  - Store request ID in request.state for access in endpoint handlers
  - Enhance SSE error logging with endpoint name and path context

  Error handling improvements:
  - Improve duplicate vote detection with specific IntegrityError constraint checking
  - Replace broad exception catches with targeted exception handling in JWT validation

  Configuration fixes:
  - Fix stdout blocking issue by replacing print() with logger.warning() in config validation
  - Move production config validation to main.py after logging setup to prevent initialization issues

  Testing:
  - Add unit tests for request ID tracking middleware
  - Add unit tests for vote service IntegrityError handling
  - Add integration tests for error message security
  - Add integration tests for enhanced health check metrics
  - Add integration tests for SSE error logging context

130 of 159 branches covered (81.76%)

Branch coverage included in aggregate %.

1 of 2 new or added lines in 1 file covered. (50.0%)

39 existing lines in 6 files now uncovered.

1215 of 1322 relevant lines covered (91.91%)

5.65 hits per line

Uncovered Changes

Lines Coverage ∆ File
1
90.38
-1.62% frontend/src/api.js

Coverage Regressions

Lines Coverage ∆ File
17
69.57
-5.43% main.py
12
65.63
1.56% core/config.py
4
92.98
0.26% api/v1/endpoints/sse.py
3
85.71
0.53% middleware/logging.py
2
93.94
17.27% services/vote.py
1
95.12
5.12% api/v1/endpoints/admin.py
Jobs
ID Job ID Ran Files Coverage
1 frontend - 19083081503.1 04 Nov 2025 09:17PM UTC 7
88.48
GitHub Action Run
2 backend - 19083081503.2 04 Nov 2025 09:17PM UTC 44
92.05
GitHub Action Run
Source Files on build 19083081503
  • Tree
  • List 51
  • Changed 8
  • Source Changed 1
  • Coverage Changed 8
Coverage ∆ File Lines Relevant Covered Missed Hits/Line Branch Hits Branch Misses
  • Back to Repo
  • Github Actions Build #19083081503
  • 8c1cd889 on github
  • Prev Build on main (#19047877033)
  • Next Build on main (#19084643364)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE TRIAL · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc