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

Netflix / security_monkey / 709
68%

Build:
DEFAULT BRANCH: develop
Ran 08 Feb 2017 08:40PM UTC
Jobs 1
Files 161
Run time 9s
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

pending completion
709

Pull #522

travis-ci

web-flow
Optimize SQL for account delete

Type: generic-bugfix

Why is this change necessary?
We were getting intermittent integrity errors and timeouts when
deleting accounts with many items and issues. This appears to be
caused by SQL Alchemy's method of handling cascading deletes,
which is inefficient and does not appear to handle transactional
locks well, allowing for race conditions.

This change addresses the need by:
Deleting accounts and related records with a raw sql query
Pull Request #522: Optimize SQL for account delete

39 of 39 new or added lines in 2 files covered. (100.0%)

4841 of 9056 relevant lines covered (53.46%)

0.53 hits per line

New Missed Lines in Diff

Lines Coverage ∆ File
1
100.0
security_monkey/views/account.py
31
100.0
security_monkey/account_manager.py

Uncovered Existing Lines

Lines Coverage ∆ File
1
100.0
security_monkey/views/account.py
Jobs
ID Job ID Ran Files Coverage
1 709.1 08 Feb 2017 08:40PM UTC 0
53.46
Travis Job 709.1
Source Files on build 709
Detailed source file information is not available for this build.
  • Back to Repo
  • Travis Build #709
  • Pull Request #522
  • PR Base - develop (#702)
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