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

loopbackio / loopback-next / 39641740102
55%

Build:
DEFAULT BRANCH: master
Ran 21 Oct 2026 05:15PM UTC
Jobs 4
Files 604
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

21 Oct 2026 05:12PM UTC coverage: 55.067%. Remained the same
39641740102

push

github

dhmlau
fix: support compiling with TypeScript 6 and 7

Packages depend on TypeScript 6 as `typescript`, matching `@loopback/build`.

Source changes required by TypeScript 6/7:

- The default resolver for `module: commonjs` honors `exports` maps, so
  `@loopback/graphql` no longer imports `Middleware` from a deep `type-graphql`
  path and declares it instead. `GRAPHQL_CONTEXT_RESOLVER` gets an explicit
  type, since its inferred type is not portable (TS2883).
- Reading a parent class field through `super` is an error (TS2855), so
  `@loopback/cron` calls `fireOnTick` through `BaseCronJob.prototype`.
- Declaration emit no longer adds `/// <reference path>` for ambient files, so
  `@loopback/testlab` exports the should.js types from a module rather than a
  global declaration file. Without it, `expect` resolves to `any` in every
  consuming package and api-extractor cannot follow the `Internal` symbol.

With TypeScript 6 type information, typescript-eslint reports more findings:

- Async Express handlers in `@loopback/rest` and the rpc-server example pass
  rejections to `next` (`no-misused-promises`).
- `??` / `??=` replace `||` and `!x` guards on objects and arrays
  (`prefer-nullish-coalescing`). `||` is kept where the operand may be `''`.
- `transactions.suite.ts` awaits `disconnect()` (`no-floating-promises`).

Test defects surfaced by the stricter compiler are fixed as well:
`belongs-to-repository-factory.unit.ts` never assigned `companyRepo` and
clobbered `customerRepo` instead, and the todo-list repository tests used
repositories they never created.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Signed-off-by: Raymond Feng <enjoyjava@gmail.com>

3445 of 10784 branches covered (31.95%)

Branch coverage included in aggregate %.

11 of 17 new or added lines in 8 files covered. (64.71%)

73 existing lines in 2 files now uncovered.

9086 of 11972 relevant lines covered (75.89%)

1361.23 hits per line

Uncovered Changes

Lines Coverage ∆ File
3
59.41
0.0% packages/rest/src/rest.server.ts
2
84.21
0.0% examples/rpc-server/src/rpc.router.ts
1
76.0
0.0% extensions/graphql/src/graphql.container.ts

Coverage Regressions

Lines Coverage ∆ File
61
59.41
0.0% packages/rest/src/rest.server.ts
12
72.9
0.0% extensions/graphql/src/graphql.server.ts
Jobs
ID Job ID Ran Files Coverage
1 run-windows-2022-node@22 - 39641740102.1 21 Oct 2026 05:19PM UTC 604
55.06
GitHub Action Run
2 run-ubuntu-latest-node@24 - 39641740102.2 21 Oct 2026 05:15PM UTC 604
55.06
GitHub Action Run
3 run-ubuntu-latest-node@22 - 39641740102.3 21 Oct 2026 05:16PM UTC 604
55.06
GitHub Action Run
4 run-ubuntu-latest-node@26 - 39641740102.4 21 Oct 2026 05:15PM UTC 604
55.06
GitHub Action Run
Source Files on build 39641740102
  • Tree
  • List 604
  • Changed 0
  • Source Changed 0
  • Coverage Changed 0
Coverage ∆ File Lines Relevant Covered Missed Hits/Line Branch Hits Branch Misses
  • Back to Repo
  • Github Actions Build #39641740102
  • a2d1e2de on github
  • Prev Build on master (#39641862260)
  • Next Build on master (#39642086130)
  • Delete
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