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

pulibrary / tigerdata-app / 6588ad4d-e242-4902-a1a0-b1458c34681f

27 Oct 2025 06:00PM UTC coverage: 91.33% (+0.005%) from 91.325%
6588ad4d-e242-4902-a1a0-b1458c34681f

Pull #2057

circleci

web-flow
Merge branch 'main' into 2037-dashboard-mf
Pull Request #2057: Dashboard displays projects straights from Mediaflux

52 of 69 new or added lines in 4 files covered. (75.36%)

571 existing lines in 36 files now uncovered.

2802 of 3068 relevant lines covered (91.33%)

486.93 hits per line

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

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

UNCOV
5
  def perform
2✔
UNCOV
6
    FileInventoryRequest.where(["completion_time < ?", 7.days.ago]).each do |req|
3✔
UNCOV
7
      next if req.output_file.nil?
3✔
UNCOV
8
      File.delete(req.output_file) if File.exist?(req.output_file)
2✔
UNCOV
9
      req.state = UserRequest::STALE
2✔
UNCOV
10
      req.save
2✔
UNCOV
11
    end
UNCOV
12
  end
UNCOV
13
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