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

pulibrary / tigerdata-app / e941e498-f4a8-4326-87a1-30b7af4ce668

04 Nov 2025 12:57PM UTC coverage: 91.37% (-0.03%) from 91.403%
e941e498-f4a8-4326-87a1-30b7af4ce668

Pull #2126

circleci

bess
Bump tar in the npm_and_yarn group across 1 directory

Bumps the npm_and_yarn group with 1 update in the / directory: [tar](https://github.com/isaacs/node-tar).


Updates `tar` from 7.5.1 to 7.5.2
- [Release notes](https://github.com/isaacs/node-tar/releases)
- [Changelog](https://github.com/isaacs/node-tar/blob/main/CHANGELOG.md)
- [Commits](https://github.com/isaacs/node-tar/compare/v7.5.1...v7.5.2)

---
updated-dependencies:
- dependency-name: tar
  dependency-version: 7.5.2
  dependency-type: indirect
  dependency-group: npm_and_yarn
...

Signed-off-by: dependabot[bot] <support@github.com>
Pull Request #2126: Bump tar from 7.5.1 to 7.5.2 in the npm_and_yarn group across 1 directory

2827 of 3094 relevant lines covered (91.37%)

488.74 hits per line

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

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

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