Skip to content

Feat: Passthrough fetch, error cause propagation, type refinements, and core improvements#1318

Merged
developerkunal merged 1 commit intomasterfrom
fern-bot/2026-04-09T11-08Z
Apr 9, 2026
Merged

Feat: Passthrough fetch, error cause propagation, type refinements, and core improvements#1318
developerkunal merged 1 commit intomasterfrom
fern-bot/2026-04-09T11-08Z

Conversation

@fern-api
Copy link
Copy Markdown
Contributor

@fern-api fern-api bot commented Apr 9, 2026

Changes

  • Added makePassthroughRequest - new fetcher utility for raw HTTP passthrough with full unit test coverage
  • Added error cause propagation to ManagementError, ManagementTimeoutError, and handleNonStatusCodeError
  • Extended Fetcher.ts and makeRequest.ts with passthrough support
  • Expanded Client.ts with additional management API methods
  • Removed CustomPager.ts to simplify pagination
  • Minor type and runtime consistency refinements
  • Modernized wire tests across the full suite, reducing boilerplate

@fern-api fern-api bot requested a review from a team as a code owner April 9, 2026 11:08
@codecov
Copy link
Copy Markdown

codecov bot commented Apr 9, 2026

Codecov Report

❌ Patch coverage is 87.75510% with 12 lines in your changes missing coverage. Please review.
✅ Project coverage is 89.42%. Comparing base (c7ce988) to head (62a2abd).
⚠️ Report is 1 commits behind head on master.

Files with missing lines Patch % Lines
src/management/Client.ts 0.00% 4 Missing ⚠️
src/management/errors/ManagementTimeoutError.ts 0.00% 3 Missing ⚠️
.../management/core/fetcher/makePassthroughRequest.ts 96.87% 2 Missing ⚠️
src/management/core/pagination/Page.ts 0.00% 1 Missing ⚠️
src/management/errors/ManagementError.ts 50.00% 1 Missing ⚠️
src/management/errors/handleNonStatusCodeError.ts 0.00% 1 Missing ⚠️
Additional details and impacted files

Impacted file tree graph

@@            Coverage Diff             @@
##           master    #1318      +/-   ##
==========================================
+ Coverage   89.05%   89.42%   +0.36%     
==========================================
  Files         384      384              
  Lines       18234    18246      +12     
  Branches     8682     9047     +365     
==========================================
+ Hits        16239    16316      +77     
+ Misses       1991     1926      -65     
  Partials        4        4              
Flag Coverage Δ
alltests 89.42% <87.75%> (+0.36%) ⬆️

Flags with carried forward coverage won't be shown. Click here to find out more.

Files with missing lines Coverage Δ
src/management/api/types/types.ts 100.00% <ø> (ø)
src/management/core/auth/BasicAuth.ts 95.00% <100.00%> (+1.25%) ⬆️
src/management/core/fetcher/BinaryResponse.ts 100.00% <ø> (ø)
src/management/core/fetcher/Fetcher.ts 93.95% <100.00%> (+0.04%) ⬆️
src/management/core/fetcher/index.ts 100.00% <100.00%> (ø)
src/management/core/fetcher/makeRequest.ts 100.00% <100.00%> (ø)
...management/core/form-data-utils/FormDataWrapper.ts 91.30% <100.00%> (ø)
src/management/core/pagination/index.ts 100.00% <ø> (ø)
src/management/core/runtime/runtime.ts 62.50% <100.00%> (-3.22%) ⬇️
src/management/core/pagination/Page.ts 61.53% <0.00%> (ø)
... and 5 more

... and 2 files with indirect coverage changes

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

@amitsingh05667 amitsingh05667 changed the title 🌿 Fern Regeneration -- April 9, 2026 Feat: Passthrough fetch, error cause propagation, type refinements, and core improvements Apr 9, 2026
Copy link
Copy Markdown
Contributor

@developerkunal developerkunal left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@developerkunal developerkunal merged commit 0df430d into master Apr 9, 2026
10 checks passed
@developerkunal developerkunal deleted the fern-bot/2026-04-09T11-08Z branch April 9, 2026 12:43
@amitsingh05667 amitsingh05667 mentioned this pull request Apr 9, 2026
@developerkunal developerkunal mentioned this pull request Apr 9, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants