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

pulibrary / bibdata / a520d9ef-2bb9-4a2a-a60c-7fdf8fa3aa5c
90%
main: 89%

Build:
Build:
LAST BUILD BRANCH: remove-extra-call
DEFAULT BRANCH: main
Ran 23 Oct 2025 10:36PM 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 10:32PM UTC coverage: 89.771% (-0.02%) from 89.788%
a520d9ef-2bb9-4a2a-a60c-7fdf8fa3aa5c

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

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

1 existing line in 1 file now uncovered.

9022 of 10050 relevant lines covered (89.77%)

346.2 hits per line

Uncovered Existing Lines

Lines Coverage ∆ File
1
88.46
-2.34% app/adapters/alma_adapter/availability_status.rb
Jobs
ID Job ID Ran Files Coverage
1 a520d9ef-2bb9-4a2a-a60c-7fdf8fa3aa5c.1 23 Oct 2025 10:36PM UTC 60
88.53
2 a520d9ef-2bb9-4a2a-a60c-7fdf8fa3aa5c.2 23 Oct 2025 10:41PM UTC 113
92.05
Source Files on build a520d9ef-2bb9-4a2a-a60c-7fdf8fa3aa5c
  • Tree
  • List 173
  • Changed 2
  • Source Changed 0
  • Coverage Changed 2
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • CircleCI Build #A520D9EF...
  • 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