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

Netflix / security_monkey / 703
68%

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

Pull #522

travis-ci

web-flow
<a href="https://github.com/Netflix/security_monkey/commit/1f90dd7dc">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&#39;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

Change-Id: I</a><a class="double-link" href="https://github.com/Netflix/security_monkey/commit/f98c8d5a7">f98c8d5a7</a>
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 703.1 08 Feb 2017 07:24PM UTC 0
53.46
Travis Job 703.1
Source Files on build 703
Detailed source file information is not available for this build.
  • Back to Repo
  • Travis Build #703
  • 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