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

ThePalaceProject / web-patron / 25675471151 / 1
88%
main: 88%

Build:
DEFAULT BRANCH: main
Ran 11 May 2026 02:17PM UTC
Files 14
Run time 1s
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

11 May 2026 02:11PM UTC coverage: 87.954% (-1.4%) from 89.354%
25675471151.1

push

github

web-flow
Prefer heuristic library short name for slug (PP-4263) (#133)

## Description

Adds heuristic derivation of each library's slug from its registry
catalog entrie. Extracts the first path component of the catalog root
link (e.g. `CA0156` from `https://ca.thepalaceproject.org/CA0156/`),
falling back to the same part of the authentication document link, and
returning `null` if neither yields a value. `computeSlug` calls it and
falls back to the registry identifier as before.

## Motivation and Context

We want to use the library short name as the slug, but we don't maintain
that value in the registry (let alone include it in the feed). So, for
the time being, we heuristically pull it from the first path component
of the library catalog or authentication document URL, since that is a
safe place to find it for the Palace Manager library catalog servers in
The Palace Project hosted environment.

[Jira PP-4263]

## How Has This Been Tested?

- New/updated tests to cover the new and changed functionality.
- Manual testing in local dev environment.
- All checks pass locally.
- [CI
checks](https://github.com/ThePalaceProject/web-patron/actions/runs/25460022748)
pass.

## Checklist:

- [x] I have updated the documentation accordingly.
- [x] All new and existing tests passed.

208 of 238 branches covered (87.39%)

Branch coverage included in aggregate %.

325 of 368 relevant lines covered (88.32%)

31.44 hits per line

Source Files on job 25675471151.1
  • Tree
  • List 14
  • Changed 1
  • Source Changed 0
  • Coverage Changed 1
Coverage ∆ File Lines Relevant Covered Missed Hits/Line Branch Hits Branch Misses
  • Back to Build 25675471151
  • baeb8ec8 on github
  • Prev Job for on main (#25445038757.1)
  • Next Job for on main (#25676026124.1)
  • Delete
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