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

wmzy / fetch-fun / 33618156416
97%

Build:
DEFAULT BRANCH: main
Ran 02 Sep 2026 10:11AM UTC
Jobs 1
Files 10
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

02 Sep 2026 10:11AM UTC coverage: 97.225% (+0.2%) from 97.027%
33618156416

push

github

wmzy
perf: memoize middleware sorting and chain per middlewares reference

applyMiddlewares re-sorted the middleware list and rebuilt the whole
chain with reduceRight on every request. Configs are immutable (every
pipe copies), so the middlewares array reference identifies a client's
middleware set: cache the sort against it in a WeakMap. Middleware
functions receive — and may capture — the config they are applied with
(retry reads o.signal, logging reads o.url), so the fully built chain
is only reused for the identical config, base fetch and timeout
budgets.

340 of 358 branches covered (94.97%)

Branch coverage included in aggregate %.

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

6 existing lines in 2 files now uncovered.

501 of 507 relevant lines covered (98.82%)

39.97 hits per line

Coverage Regressions

Lines Coverage ∆ File
4
96.67
0.06% src/middleware.ts
2
95.24
1.55% src/fetch.ts
Jobs
ID Job ID Ran Files Coverage
1 33618156416.1 02 Sep 2026 10:11AM UTC 10
97.23
GitHub Action Run
Source Files on build 33618156416
  • Tree
  • List 10
  • Changed 3
  • Source Changed 3
  • Coverage Changed 3
Coverage ∆ File Lines Relevant Covered Missed Hits/Line Branch Hits Branch Misses
  • Back to Repo
  • Github Actions Build #33618156416
  • 0f77a9a4 on github
  • Prev Build on main (#33352301099)
  • Next Build on main (#33742485749)
  • 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