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

pulibrary / tigerdata-app / 47f8b36e-6cbd-422b-b67d-16bb6ff637e9

29 Oct 2025 11:56AM UTC coverage: 82.265% (-9.1%) from 91.333%
47f8b36e-6cbd-422b-b67d-16bb6ff637e9

Pull #2118

circleci

bess
Update expected version of mediaflux
Pull Request #2118: Upgrade to mediaflux_dev v0.17.0

1 of 1 new or added line in 1 file covered. (100.0%)

568 existing lines in 35 files now uncovered.

2528 of 3073 relevant lines covered (82.26%)

296.63 hits per line

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

18.18
/app/models/mediaflux_status.rb
1
# frozen_string_literal: true
2
class MediafluxStatus < HealthMonitor::Providers::Base
3✔
3
  def check!
3✔
4
    # Notice that we check Mediaflux status using our TigerData account
5
    # (rather than the "logged in" user since there is not always a logged
6
    # in user for the health check)
UNCOV
7
    Rails.cache.fetch("mediaflux_health_session", expires_in: 5.minutes) do
×
UNCOV
8
      logon_request = Mediaflux::LogonRequest.new
×
UNCOV
9
      session_token = logon_request.session_token
×
UNCOV
10
      if logon_request.error?
×
UNCOV
11
        raise logon_request.response_error[:message]
×
12
      else
UNCOV
13
        Mediaflux::LogoutRequest.new(session_token:)
×
14
      end
UNCOV
15
      session_token
×
16
    rescue StandardError => e
UNCOV
17
      Rails.logger.error("Mediaflux error #{e.message}")
×
UNCOV
18
      raise StandardError, "Mediaflux error: Go to the server logs for details"
×
19
    end
20
  end
21
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