[PR #4980] [MERGED] fix(common): extention interceptor response meta #5008

Closed
opened 2026-03-17 02:29:44 +03:00 by kerem · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/hoppscotch/hoppscotch/pull/4980
Author: @CuriousCorrelation
Created: 4/10/2025
Status: Merged
Merged: 4/10/2025
Merged by: @jamesgeorge007

Base: patchHead: fix-extension-response-meta


📝 Commits (2)

  • 669d92a fix(common): extention interceptor response meta
  • 59fd177 fix(common): use extension timing meta directly

📊 Changes

1 file changed (+53 additions, -0 deletions)

View changed files

📝 packages/hoppscotch-common/src/platform/std/kernel-interceptors/extension/index.ts (+53 -0)

📄 Description

This addresses an issue with the extension interceptor where response metadata (timing metrics and size calculations) was missing from the response object.

This change is an isolated addition since the extension interceptor has become somewhat "detached" from the kernel capabilities over time, while other interceptors were able to be evolved with architecture.

This fix helps bridge that gap without requiring substantial refactoring of the extension interceptor implementation.

Closes HFE-810

Notes to reviewers

The following screenshot shows extension interceptor in the upper section at localhost (patch) with correct response metadata, followed by the current deployed version with missing response meta.

response-meta


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/hoppscotch/hoppscotch/pull/4980 **Author:** [@CuriousCorrelation](https://github.com/CuriousCorrelation) **Created:** 4/10/2025 **Status:** ✅ Merged **Merged:** 4/10/2025 **Merged by:** [@jamesgeorge007](https://github.com/jamesgeorge007) **Base:** `patch` ← **Head:** `fix-extension-response-meta` --- ### 📝 Commits (2) - [`669d92a`](https://github.com/hoppscotch/hoppscotch/commit/669d92ab18021f01a34b8afa7fae4250290dafa3) fix(common): extention interceptor response meta - [`59fd177`](https://github.com/hoppscotch/hoppscotch/commit/59fd177b5dc474787ffe0f0c8ee24e4c4f393f5e) fix(common): use extension timing meta directly ### 📊 Changes **1 file changed** (+53 additions, -0 deletions) <details> <summary>View changed files</summary> 📝 `packages/hoppscotch-common/src/platform/std/kernel-interceptors/extension/index.ts` (+53 -0) </details> ### 📄 Description This addresses an issue with the extension interceptor where response metadata (timing metrics and size calculations) was missing from the response object. This change is an isolated addition since the extension interceptor has become somewhat "detached" from the kernel capabilities over time, while other interceptors were able to be evolved with architecture. This fix helps bridge that gap without requiring substantial refactoring of the extension interceptor implementation. Closes HFE-810 #### Notes to reviewers The following screenshot shows `extension` interceptor in the upper section at `localhost` (patch) with correct response metadata, followed by the current deployed version with missing response meta. ![response-meta](https://github.com/user-attachments/assets/9108e51a-96c6-46ee-a91c-88c57388f2e6) --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
kerem 2026-03-17 02:29:44 +03:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/hoppscotch#5008
No description provided.