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

pulibrary / tigerdata-app / 2e85105d-f9c8-41e9-8b05-fe438b698516

26 Nov 2025 12:16PM UTC coverage: 71.597% (-8.0%) from 79.623%
2e85105d-f9c8-41e9-8b05-fe438b698516

push

circleci

web-flow
Display the data sponsor and data manager in the dashboard listing (#2247)

Closes #2236 

<img width="1036" height="675" alt="Screenshot 2025-11-25 at 3 07 41 PM"
src="https://github.com/user-attachments/assets/3b6a2189-7f71-4b17-97e5-e66c8fed3cb3"
/>

1 of 3 new or added lines in 1 file covered. (33.33%)

346 existing lines in 26 files now uncovered.

2367 of 3306 relevant lines covered (71.6%)

147.24 hits per line

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

0.0
/app/jobs/request_cleanup_job.rb
1
# frozen_string_literal: true
UNCOV
2
class RequestCleanupJob < ApplicationJob
×
UNCOV
3
  queue_as :default
×
4

UNCOV
5
  def perform
×
6
    # Destroy every request in the database that is not valid to submit and has 6 or more errors
UNCOV
7
    Request.where.not(state: Request::SUBMITTED).each do |request|
×
8
      # check if the request has not been updated within 24 hours
UNCOV
9
      next unless request.updated_at < 24.hours.ago
×
UNCOV
10
      next if request.valid_title?
×
UNCOV
11
      request.valid_to_submit?
×
12
      # 6 errors is arbitrary, but it is the number of manditory fields (excluding pre-populated fields) in the request form
UNCOV
13
      if request.errors.count >= 6
×
UNCOV
14
        request.destroy
×
UNCOV
15
      end
×
UNCOV
16
    end
×
UNCOV
17
  end
×
UNCOV
18
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