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

HEPData / hepdata / 1238 / 1
83%
master: 83%

Build:
Build:
LAST BUILD BRANCH: main
DEFAULT BRANCH: master
Ran 04 Nov 2020 01:23PM UTC
Files 69
Run time 3s
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 2020 01:11PM UTC coverage: 82.38%. First build
1238.1

push

travis-ci-com

alisonrclarke
Fix issue where review messages could not be deleted

This is a workaround for the fact that the db does not define
"ON DELETE CASCADE" for the datareview_messages table.

When deleting a data review object directly, SQLAlchemy cascades the delete
and deletes the associated messages. However, when it's deleted as a result
of a data submission being deleted, SQLAlchemy's lazy loading means that
the data review objects aren't loaded so the associated deletions don't
happen. Instead we directly delete the data reviews in
`receive_before_flush` when a data submission is deleted, which causes
the associated messages to also be deleted.

2679 of 3252 relevant lines covered (82.38%)

0.82 hits per line

Source Files on job 1238.1
  • Tree
  • List 0
  • Changed 0
  • Source Changed 0
  • Coverage Changed 0
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Build 1100
  • Travis Job 1238.1
  • d0ba9dd4 on github
  • Next Job for on fix-review-deletions (#1240.1)
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