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

redhat-developer / yaml-language-server / 24805310751
85%
master: 80%

Build:
Build:
LAST BUILD BRANCH: list-jsonc-parser-in-dependencies
DEFAULT BRANCH: master
Ran 22 Apr 2026 10:12PM UTC
Jobs 1
Files 69
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

22 Apr 2026 10:10PM UTC coverage: 85.323% (+0.02%) from 85.3%
24805310751

push

github

web-flow
feat: Set User-agent header when requesting schema over HTTP(S) (#1226)

* feat: add User-Agent header to HTTP/HTTPS schema fetch requests

Include a well-formed RFC 9110-compliant User-Agent on all direct xhr calls
when fetching schemas over HTTP or HTTPS:

  yaml-language-server/<version> (RedHat) node/<nodeVersion> (<platform>)

The server version is read from YAML_LANGUAGE_SERVER_VERSION, the Node.js
version from process.versions.node, and the platform from process.platform.
All three are guarded with typeof-process checks for browser/web worker
safety, falling back to 'unknown' for the version and omitting the runtime
and platform tokens entirely in non-Node environments.

* test: add unit tests for User-Agent header on HTTP(S) schema fetch

Cover version from env var, 'unknown' fallback, http:// parity,
Accept-Encoding preservation, successful response handling, and
xhr error rejection.

3008 of 3740 branches covered (80.43%)

Branch coverage included in aggregate %.

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

4439 of 4988 relevant lines covered (88.99%)

287820.0 hits per line

Jobs
ID Job ID Ran Files Coverage
1 24805310751.1 22 Apr 2026 10:12PM UTC 69
85.32
GitHub Action Run
Source Files on build 24805310751
  • Tree
  • List 69
  • Changed 1
  • Source Changed 1
  • Coverage Changed 1
Coverage ∆ File Lines Relevant Covered Missed Hits/Line Branch Hits Branch Misses
  • Back to Repo
  • Github Actions Build #24805310751
  • 93b9e721 on github
  • Prev Build on main (#24572672533)
  • Next Build on main (#24857420268)
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