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

UI5 / cli / 27620244988 / 3 – logger
94%
main: 94%

Build:
DEFAULT BRANCH: main
Ran 16 Jun 2026 01:18PM UTC
Files 5
Run time 0s
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

16 Jun 2026 01:15PM UTC coverage: 100.0%. Remained the same
logger – 27620244988.3

push

github

matz3
fix(documentation): Make API sidebar generation deterministic and order-safe

The API sidebar in .vitepress/config.ts is built by walking
fs.readdirSync("docs/api") and merging entries into a tree. Two issues
were causing failures and inconsistencies:

- readdirSync returns entries in filesystem order (insertion order on
  Linux, alphabetical on macOS APFS). When a "module-..." leaf file
  was processed before a sibling that needed to nest under the same
  name (e.g. module-@ui5_logger.md before @ui5_logger_Logger.md), the
  recursion crashed with "Cannot read properties of undefined (reading
  'push')" because the leaf had no items array. This broke the
  build:vitepress step on GitHub Actions.
- Even when it succeeded, sibling order in the generated sidebar
  varied across platforms.

Fixes:
- Sort the readdir result so the input order — and therefore the
  resulting tree — is identical across filesystems.
- Make appendToTree defensive: when a leaf and a branch share a name,
  merge them by promoting the leaf to a branch and attaching the
  module doc as a 'main' child, in either order. This keeps the build
  working even if the sort is removed or the file set changes.

176 of 176 branches covered (100.0%)

Branch coverage included in aggregate %.

287 of 287 relevant lines covered (100.0%)

27.13 hits per line

Source Files on job logger - 27620244988.3
  • Tree
  • List 5
  • Changed 0
  • Source Changed 0
  • Coverage Changed 0
Coverage ∆ File Lines Relevant Covered Missed Hits/Line Branch Hits Branch Misses
  • Back to Build 27620244988
  • 3f9dce7e on github
  • Prev Job for on main (#27607718176.1)
  • Next Job for on main (#27672869108.5)
  • 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