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

stacklok / toolhive / 40366147337
73%

Build:
DEFAULT BRANCH: main
Ran 26 Oct 2026 05:18PM UTC
Jobs 1
Files 978
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

26 Oct 2026 05:10PM UTC coverage: 71.822% (-0.04%) from 71.863%
40366147337

push

github

web-flow
Show upstream display name on consent page (#6929)

* Show upstream display name on consent page

The consent page's "You will sign in with" line showed the upstream's
Name, a routing and storage key restricted to DNS-label syntax. An
embedder keying upstreams by an opaque id showed that id to users.

Add an optional, display-only DisplayName to UpstreamRunConfig,
UpstreamConfig and NamedUpstream (closes #6922):
- Copy it through buildUpstreamConfig and buildUpstreams
- Resolve it at render time from the current upstream list, sanitised
  like client names, trimmed and capped; fall back to Name
- Keep Name in Technical details and as every storage key
- Never reject it in validation
- Document the trust obligation and regenerate API docs

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

* Address code review feedback

Fixed issues from code review:
- MEDIUM: Move display-name validation test above the
  UpstreamFilter test's doc comment

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

* Tighten consent label truncation and tests

Addresses stacklok/toolhive#6929 review comments:
- LOW consent_test.go (4360871334): pin empty DisplayName on a configured upstream
- LOW consent_test.go (4360871388): add authorize-path and multi-upstream test
- LOW consent_test.go (4360871393): narrow AC1.3 test to the lookups it guards
- LOW consent.go (4360871419): trim space before the ellipsis, fix cap comment
- LOW consent_test.go (4360871425): add cap, ampersand and quote rows
- LOW consent.go (4360871438): reword "swapped upstream set" comment
- LOW consent.go (4360871447): rename cap to maxConsentTextRunes
- LOW consent.go (4360871456): return from inside the upstream loop
- LOW consent_test.go (4360871486): assert pending record consumed, add helper

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

* Pin display_name encoding and runner validation

Addresses stacklok/toolhive#6929 review comments:
- MEDIUM config_test.go (4360871381): add ... (continued)

24 of 24 new or added lines in 3 files covered. (100.0%)

60 existing lines in 3 files now uncovered.

89578 of 124723 relevant lines covered (71.82%)

128.45 hits per line

Coverage Regressions

Lines Coverage ∆ File
51
59.0
-5.31% pkg/workloads/manager.go
6
19.87
-3.97% pkg/client/manager.go
3
0.0
-100.0% pkg/workloads/sysproc_unix.go
Jobs
ID Job ID Ran Files Coverage
1 40366147337.1 26 Oct 2026 05:18PM UTC 978
71.82
GitHub Action Run
Source Files on build 40366147337
  • Tree
  • List 978
  • Changed 11
  • Source Changed 6
  • Coverage Changed 11
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #40366147337
  • d225741d on github
  • Prev Build on main (#40359608055)
  • Next Build on main (#40371786279)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE TRIAL · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc