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

salsify / delayed_job_heartbeat_plugin / 31
97%
master: 96%

Build:
Build:
LAST BUILD BRANCH: bug/missing-migration-version
DEFAULT BRANCH: master
Ran 06 Jul 2017 01:31PM UTC
Jobs 20
Files 8
Run time 6min
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
31

push

travis-ci

atsheehan
Worker clears locks on shutdown [PLAT-1593]

In some cases the ClearLocks plugin from Delayed::Job may fail to clear
the locked_at/locked_by fields on a job because it was interrupted at a
bad time (see [PLAT-1590]). The delayed_worker is still removed since
the heartbeat is using a separate connection, leaving orphaned jobs
behind that are not re-run until the 4 hour max run time has passed.

This change will require the worker to clear its own locks when it is
shutting down before it removes itself from the delayed_workers table.

166 of 171 relevant lines covered (97.08%)

131.3 hits per line

Jobs
ID Job ID Ran Files Coverage
1 31.1 (2.3.3, RAILS_VERSION="~> 3.2.22") 06 Jul 2017 01:31PM UTC 0
97.08
Travis Job 31.1
2 31.2 (2.2.6, RAILS_VERSION="~> 3.2.22") 06 Jul 2017 01:31PM UTC 0
97.08
Travis Job 31.2
3 31.3 (2.1.10, RAILS_VERSION="~> 3.2.22") 06 Jul 2017 01:31PM UTC 0
97.08
Travis Job 31.3
4 31.4 (2.0.0-p648, RAILS_VERSION="~> 3.2.22") 06 Jul 2017 01:31PM UTC 0
97.08
Travis Job 31.4
5 31.5 (2.3.3, RAILS_VERSION="~> 4.0.13") 06 Jul 2017 01:31PM UTC 0
96.49
Travis Job 31.5
6 31.6 (2.2.6, RAILS_VERSION="~> 4.0.13") 06 Jul 2017 01:32PM UTC 0
96.49
Travis Job 31.6
7 31.7 (2.1.10, RAILS_VERSION="~> 4.0.13") 06 Jul 2017 01:33PM UTC 0
96.49
Travis Job 31.7
8 31.8 (2.0.0-p648, RAILS_VERSION="~> 4.0.13") 06 Jul 2017 01:33PM UTC 0
96.49
Travis Job 31.8
9 31.9 (2.3.3, RAILS_VERSION="~> 4.1.16") 06 Jul 2017 01:34PM UTC 0
96.49
Travis Job 31.9
10 31.10 (2.2.6, RAILS_VERSION="~> 4.1.16") 06 Jul 2017 01:33PM UTC 0
96.49
Travis Job 31.10
11 31.11 (2.1.10, RAILS_VERSION="~> 4.1.16") 06 Jul 2017 01:35PM UTC 0
96.49
Travis Job 31.11
12 31.12 (2.0.0-p648, RAILS_VERSION="~> 4.1.16") 06 Jul 2017 01:35PM UTC 0
96.49
Travis Job 31.12
13 31.13 (2.4.0, RAILS_VERSION="~> 4.2.7") 06 Jul 2017 01:35PM UTC 0
96.49
Travis Job 31.13
14 31.14 (2.3.3, RAILS_VERSION="~> 4.2.7") 06 Jul 2017 01:35PM UTC 0
96.49
Travis Job 31.14
15 31.15 (2.2.6, RAILS_VERSION="~> 4.2.7") 06 Jul 2017 01:35PM UTC 0
96.49
Travis Job 31.15
16 31.16 (2.1.10, RAILS_VERSION="~> 4.2.7") 06 Jul 2017 01:37PM UTC 0
96.49
Travis Job 31.16
17 31.17 (2.0.0-p648, RAILS_VERSION="~> 4.2.7") 06 Jul 2017 01:36PM UTC 0
96.49
Travis Job 31.17
18 31.18 (2.4.0, RAILS_VERSION="~> 5.0.1") 06 Jul 2017 01:37PM UTC 0
96.49
Travis Job 31.18
19 31.19 (2.3.3, RAILS_VERSION="~> 5.0.1") 06 Jul 2017 01:37PM UTC 0
96.49
Travis Job 31.19
20 31.20 (2.2.6, RAILS_VERSION="~> 5.0.1") 06 Jul 2017 01:38PM UTC 0
96.49
Travis Job 31.20
Source Files on build 31
Detailed source file information is not available for this build.
  • Back to Repo
  • Travis Build #31
  • 84882df2 on github
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