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

Unleash / unleash-node-sdk
90%

Build:
DEFAULT BRANCH: main
Repo Added 31 Jul 2025 11:32AM UTC
Token eO7OLTK2chEkFLkXz6LACD1HVXrusoGv7 regen
Build 481 Last
Files 39
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

LAST BUILD ON BRANCH main
branch: SELECT
CHANGE BRANCH
x
Sync Branches
  • No branch selected
  • 2-3719/change-registration-name
  • ava-shim
  • backoff-impr
  • chore/make-client-spec-tests-work
  • chore/move-metrics-api-into-base-client
  • chore/move-streaming-code-into-repo
  • chore/parse-safety-for-api
  • chore/quick-and-dirty-bench
  • chore/unwired-up-failover-strategy
  • dependabot/npm_and_yarn/brace-expansion-2.0.3
  • dependabot/npm_and_yarn/flatted-3.4.2
  • dependabot/npm_and_yarn/form-data-4.0.5
  • dependabot/npm_and_yarn/ip-address-10.1.1
  • dependabot/npm_and_yarn/js-yaml-3.14.2
  • dependabot/npm_and_yarn/postcss-8.5.14
  • dependabot/npm_and_yarn/qs-6.14.1
  • dependabot/npm_and_yarn/qs-6.14.2
  • dependabot/npm_and_yarn/vite-7.3.2
  • docs/fix-tag-filter-example
  • drop-negative-counter-inc
  • drop-node-16-support
  • empty-values
  • ensure-cjs-compatibility
  • extract-fetching-strategies
  • feat/basic-regex-support
  • feat/bolt-in-failover
  • feat/failover-config
  • feat/implement-semver-gte-lte-and-cidr-constraints
  • feat/redis-as-backup
  • feature/custom-types
  • feature/test-make-fetch-happens
  • fetching-mode-change
  • fix-histogram-default-buckets
  • fix-sec-tar
  • fix-switch-to-polling
  • fix/event-handle-failure-forces-rehydration
  • handle-end-sse-events
  • hide-get-mode-from-interface
  • histogram-metric
  • impact-metrics
  • improve-impact-metrics-readme
  • invalid-value-rejection
  • ky-migration
  • main
  • metric-type-correctness-improvements
  • migrate-eslint-biome
  • migrate-off-ava
  • new-release-flow
  • npm-trusted-publishers
  • remove-tar-from-resolutions
  • remove-ts-expect-error
  • rename-type
  • renovate/actions-checkout-5.x
  • renovate/actions-checkout-6.x
  • renovate/actions-setup-node-5.x
  • renovate/actions-setup-node-6.x
  • renovate/biomejs-biome-2.x
  • renovate/debug-4.x-lockfile
  • renovate/eslint-import-resolver-typescript-3.x-lockfile
  • renovate/eslint-plugin-prettier-5.x-lockfile
  • renovate/express-4.x-lockfile
  • renovate/https-proxy-agent-7.x-lockfile
  • renovate/lint-staged-16.x-lockfile
  • renovate/lru-cache-11.x-lockfile
  • renovate/make-fetch-happen-15.x
  • renovate/make-fetch-happen-15.x-lockfile
  • renovate/migrate-config
  • renovate/nock-14.x-lockfile
  • renovate/node-20.x-lockfile
  • renovate/node-24.x
  • renovate/npm-ip-address-vulnerability
  • renovate/npm-minimatch-vulnerability
  • renovate/npm-qs-vulnerability
  • renovate/prettier-3.x-lockfile
  • renovate/proxy-from-env-2.x
  • renovate/qs-6.x-lockfile
  • renovate/semver-7.x-lockfile
  • renovate/sinon-21.x-lockfile
  • renovate/tar-7.x-lockfile
  • renovate/tsconfig-node12-12.x-lockfile
  • renovate/tsconfig-node18-replacement
  • renovate/tsconfig-node20-20.x-lockfile
  • renovate/tsconfig-node20-replacement
  • renovate/typescript-5.x-lockfile
  • renovate/vitest-monorepo
  • revert-proxy-form-env
  • sdk-driven-mode-change
  • sse-wire-level-tests
  • switch-to-polling-immediate-fetch
  • task/migrateOffAvaToVitest
  • update-link-references
  • update-readme
  • upgrade-deps
  • upgrade-make-fetch-happen
  • validate-revert-with-cjs

08 May 2026 08:53AM UTC coverage: 90.397% (+0.2%) from 90.208%
25546605402

push

github

web-flow
fix: correct requests and timeouts on repository, metrics tests (#858)

* fix: unskip test for fetch 404 error

the 404 test's comment claims make-fetch-happen "automatically retries two extra times on 404". Wrong against `node_modules/make-fetch-happen/index.d.ts:62` retries 408, 420, 429, ≥500 and that's it. 404 is not in the list. Un-skip it.

* fix: unskip repository test using polling-fetcher

Tests were skipped because their warn-message assertion is stale. They expect responded 502. Waiting for 20ms before trying again. but `polling-fetcher.ts:91-95` emits responded `${statusCode}. Backing off` (matching the live 500 test on line 380).

* fix: unskip test and correct sendMetrics() failing behavior

The test at src/test/metrics.test.ts:417-456 verifies that when an HTTP 500 is returned, the bucket metrics are preserved so nothing is lost. We were skipping this test even though it is useful. It was failing because of a race condition in the event-emission order inside sendMetrics().

Move `restoreBucket()` and `metricRegistry?.restore()` to before `configurationError()` / `backoff()`, so the bucket is restored before any warn/error event fires and potentially disables the instance.

* fix: correct test timeouts on sendMetrics()

* fix: skip tests repository - leave them as TODOs

669 of 787 branches covered (85.01%)

Branch coverage included in aggregate %.

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

1 existing line in 1 file now uncovered.

1242 of 1327 relevant lines covered (93.59%)

5255.13 hits per line

Relevant lines Covered
Build:
Build:
1327 RELEVANT LINES 1242 COVERED LINES
5255.13 HITS PER LINE
Source Files on main
  • Tree
  • List 39
  • Changed 2
  • Source Changed 1
  • Coverage Changed 2
Coverage ∆ File Lines Relevant Covered Missed Hits/Line Branch Hits Branch Misses

Recent builds

Builds Branch Commit Type Ran Committer Via Coverage
25546605402 main fix: correct requests and timeouts on repository, metrics tests (#858) * fix: unskip test for fetch 404 error the 404 test's comment claims make-fetch-happen "automatically retries two extra times on 404". Wrong against `node_modules/make-fetch-... push 08 May 2026 08:54AM UTC web-flow github
90.4
25545158175 feature/test-make-fetch-happens Merge 2beb313a1 into 467f83012 Pull #858 08 May 2026 08:20AM UTC web-flow github
90.4
25537260899 renovate/node-24.x Merge 329d9c62e into 467f83012 Pull #799 08 May 2026 04:45AM UTC web-flow github
90.21
25537255333 renovate/node-20.x-lockfile Merge 1db4302b0 into 467f83012 Pull #714 08 May 2026 04:45AM UTC web-flow github
90.21
25523903888 renovate/nock-14.x-lockfile Merge 3a4c0042c into 467f83012 Pull #829 07 May 2026 09:47PM UTC web-flow github
90.21
25482561105 dependabot/npm_and_yarn/postcss-8.5.14 Merge e539e8384 into 467f83012 Pull #857 07 May 2026 07:36AM UTC web-flow github
90.21
25482511725 main fix(deps): update dependency ip-address to v10 [security] (#856) Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> push 07 May 2026 07:35AM UTC web-flow github
90.21
25454461899 renovate/npm-ip-address-vulnerability Merge 946e3b679 into 8dc4eb570 Pull #856 06 May 2026 06:47PM UTC web-flow github
90.21
25454437838 dependabot/npm_and_yarn/ip-address-10.1.1 Merge eead78ef2 into 8dc4eb570 Pull #855 06 May 2026 06:46PM UTC web-flow github
90.21
25337065982 renovate/lru-cache-11.x-lockfile Merge a66839045 into 8dc4eb570 Pull #853 04 May 2026 06:50PM UTC web-flow github
90.21
See All Builds (480)

Badge your Repo: unleash-node-sdk

We detected this repo isn’t badged! Grab the embed code to the right, add it to your repo to show off your code coverage, and when the badge is live hit the refresh button to remove this message.

Could not find badge in README.

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

Refresh
  • Settings
  • Repo on GitHub
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