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

pulibrary / pdc_describe / 4e4e59fc-9df4-4838-9fd4-6c7ea33cdb7c

07 Apr 2025 06:36PM UTC coverage: 1.283% (-94.6%) from 95.862%
4e4e59fc-9df4-4838-9fd4-6c7ea33cdb7c

Pull #1994

circleci

hectorcorrea
Switched to use the autocomplete that we aleady use for ROR. Integrated it with the existing logic for creators
Pull Request #1994: Started adding auto complete to contributors

0 of 46 new or added lines in 2 files covered. (0.0%)

4806 existing lines in 74 files now uncovered.

65 of 5065 relevant lines covered (1.28%)

0.01 hits per line

Source File
Press 'n' to go to next uncovered line, 'b' for previous

0.0
/app/jobs/update_snapshot_job.rb
1
# frozen_string_literal: true
UNCOV
2
class UpdateSnapshotJob < ApplicationJob
×
UNCOV
3
  queue_as :low
×
4

UNCOV
5
  def perform(work_id:, last_snapshot_id:)
×
UNCOV
6
    work = Work.find(work_id)
×
7

8
    # do nothing if there was another snapshot saved to the work between when this one was queued and when it started
9
    #   Becuse this job can take so long lets not keep running it every time someone looks at the work
10
    #   Unless this is a completely new visit after the last queued job completed
UNCOV
11
    return if work.upload_snapshots.first&.id != last_snapshot_id
×
12

UNCOV
13
    work.reload_snapshots
×
UNCOV
14
  end
×
UNCOV
15
end
×
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

© 2025 Coveralls, Inc