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

pulibrary / bibdata / 31a2a5a6-71e0-4c97-89ac-edd0d51725ca
90%
main: 89%

Build:
Build:
LAST BUILD BRANCH: remove-extra-call
DEFAULT BRANCH: main
Ran 23 Oct 2025 09:55PM UTC
Jobs 2
Files 173
Run time 1min
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

23 Oct 2025 09:51PM UTC coverage: 89.759% (-0.03%) from 89.788%
31a2a5a6-71e0-4c97-89ac-edd0d51725ca

Pull #2969

circleci

sandbergja
Remove unnecessary call from bibliographic holding availability endpoint

This affects the endpoint /bibliographic/:bib_id/holdings/:holding_id/availability,
which is used by the Requests form.

Prior to this commit, this endpoint made 2 or more requests to Alma:
* 1 to retrieve the MarcXML record along with requests and general
  availability data
* 1 or more to retrieve the item availability data

The first call was only used to retrieve the bib id -- something that
we already have because the user provided it in the request. Therefore,
we can eliminate this call and save an extra 500-1000ms each time we
load the request form (and be gentler on our API limits).

Co-authored-by: Christina Chortaria <christinach@users.noreply.github.com>
Co-authored-by: Mark Zelesky <mzelesky@users.noreply.github.com>
Pull Request #2969: Remove unnecessary call from bibliographic holding availability endpoint

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

2 existing lines in 2 files now uncovered.

9019 of 10048 relevant lines covered (89.76%)

344.57 hits per line

Uncovered Existing Lines

Lines Coverage ∆ File
1
88.46
-2.34% app/adapters/alma_adapter/availability_status.rb
1
73.5
-0.85% app/controllers/bibliographic_controller.rb
Jobs
ID Job ID Ran Files Coverage
1 31a2a5a6-71e0-4c97-89ac-edd0d51725ca.1 23 Oct 2025 09:55PM UTC 60
88.53
2 31a2a5a6-71e0-4c97-89ac-edd0d51725ca.2 23 Oct 2025 10:02PM UTC 113
92.02
Source Files on build 31a2a5a6-71e0-4c97-89ac-edd0d51725ca
  • Tree
  • List 173
  • Changed 3
  • Source Changed 0
  • Coverage Changed 3
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • CircleCI Build #31A2A5A6...
  • Pull Request #2969
  • PR Base - main (#5BEA34B8...)
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