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

pulibrary / tigerdata-app / 6a5be3a8-ecd4-400d-9134-33099047b33b

21 Oct 2025 03:31PM UTC coverage: 91.184% (+0.1%) from 91.054%
6a5be3a8-ecd4-400d-9134-33099047b33b

push

circleci

web-flow
Ensuring that `parallelism` is set to 4 for CircleCI and separates `system` tests into separate CI jobs (#2055)

* - Ensuring that `parallelism` is set to 4
- Separating `system` RSpec spec suites in the CI build
- Using an `inconsistent` RSpec tag to mark inconsistently failing tests
- Ensuring that CI does not run for `inconsistent` tests

* Removing `inconsistent` tag for RSpec test suites

2741 of 3006 relevant lines covered (91.18%)

763.77 hits per line

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

88.24
/app/controllers/mediaflux_info_controller.rb
1
# frozen_string_literal: true
2
class MediafluxInfoController < ApplicationController
4✔
3
  # GET /mediaflux_infos or /mediaflux_infos.json
4
  def index
4✔
5
    @mf_version = mediaflux_version_info
156✔
6
    @mediaflux_roles = User.mediaflux_roles(user: current_user)
156✔
7
    @sysadmin = current_user.sysadmin
156✔
8
    @developer = current_user.developer
156✔
9
    respond_to do |format|
156✔
10
      format.html
156✔
11
      format.json { render json: @mf_version }
306✔
12
    end
13
  end
14

15
  private
4✔
16

17
    def mediaflux_version_info
4✔
18
      # Notice that we use the system user (instead of the current user) in this request to Mediaflux
19
      # because the average user does not have access to execute server.version.
20
      version_request = Mediaflux::VersionRequest.new(session_token: SystemUser.mediaflux_session)
156✔
21
      version_request.resolve
156✔
22
      raise version_request.response_error[:message] if version_request.error?
156✔
23
      version_request.version
156✔
24
    rescue => ex
25
      Rails.logger.error("Error fetching Mediaflux version: #{ex.message}")
×
26
      { vendor: "N/A", version: "N/A" }
×
27
    end
28
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