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

pulibrary / tigerdata-app / 04236f1b-c04e-4600-82a8-1d39f8ac5b3f
91%

Build:
DEFAULT BRANCH: main
Ran 14 Jan 2026 09:22PM UTC
Jobs 0
Files 0
Run time –
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

pending completion
04236f1b-c04e-4600-82a8-1d39f8ac5b3f

push

circleci

web-flow
Use collection statistics for file inventory count (#2350)

Fetch the file count from the Mediaflux collection statistics, if
statistics are not available we fall back to the value that we used
before from the accumulator.

Closes #2301 

There are tests already that check the file count (see
https://github.com/pulibrary/tigerdata-app/blob/main/spec/models/mediaflux/asset_metadata_request_spec.rb#L42
and
https://github.com/pulibrary/tigerdata-app/blob/main/spec/models/mediaflux/asset_metadata_request_spec.rb#L65)
and they continue to work with the new implementation.

I did not add tests for the fall back logic because it would be pain to
create collections without the statistics (since now all of them are
setup to use statistics in tigerdata-config). But the code has been
deployed to Staging and QA. Here is an example of the Honeybadger
warning (in QA) for when a Mediaflux collection does not have
statistics: https://app.honeybadger.io/projects/113559/faults/126555498
-- Notice that we still get the correct values from the accumulator,
though.
Source Files on build 04236f1b-c04e-4600-82a8-1d39f8ac5b3f
Detailed source file information is not available for this build.
  • Back to Repo
  • CircleCI Build #04236F1B...
  • 12610298 on github
  • Prev Build on main (#854440A2...)
  • Next Build on main (#E5C489B2...)
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

© 2026 Coveralls, Inc