Skip to content

feat(interceptors): mark decompress interceptor as stable - #6047

Merged
metcoder95 merged 2 commits into
mainfrom
decompress-stable
Nov 12, 2026
Merged

metcoder95 merged 2 commits into
mainfrom
decompress-stable

Conversation

@mcollina

Copy link
Copy Markdown
Member

Removes the one-time ExperimentalWarning emitted by interceptors.decompress() and drops the experimental note from docs/docs/api/Interceptors.md, so downstream consumers such as jsdom can rely on the maintained interceptor instead of bundling their own.

Adds a test that creates the interceptor in a fresh process and asserts no warning is printed.

Fixes: #6046

Remove the one-time ExperimentalWarning emitted when creating the
decompress interceptor and drop the experimental note from the docs.

Fixes: #6046
Signed-off-by: Matteo Collina <hello@matteocollina.com>
@codecov-commenter

codecov-commenter commented Oct 17, 2026 •

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 91.57%. Comparing base (43700ff) to head (5ce7926).
⚠️ Report is 13 commits behind head on main.

Additional details and impacted files
@@           Coverage Diff           @@
##             main    #6047   +/-   ##
=======================================
  Coverage   91.57%   91.57%           
=======================================
  Files         113      113           
  Lines       43839    43927   +88     
=======================================
+ Hits        40144    40226   +82     
- Misses       3695     3701    +6     

☔ View full report in Codecov by Harness.
📢 Have feedback on the report? Share it here.

🚀 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.

Comment thread test/interceptors/decompress.js Outdated
})

test('should not emit an ExperimentalWarning', async t => {
const { execFile } = require('node:child_process')

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

not sure this is needed?

Addresses review feedback: the test is not needed.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01RXDU1ph8pDVRZzjBDx9BCA
Signed-off-by: Matteo Collina <hello@matteocollina.com>
@metcoder95
metcoder95 merged commit f550811 into main Nov 12, 2026
38 checks passed
@metcoder95
metcoder95 deleted the decompress-stable branch November 12, 2026 10:18
@github-actions github-actions Bot mentioned this pull request Nov 19, 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.

Un-experimental DecompressInterceptor

3 participants