Skip to content

http: add browser Fetch client conformance scenario - #162

Open
Utkarsh-Sinha0 wants to merge 2 commits into
open-telemetry:mainfrom
Utkarsh-Sinha0:feat/js-fetch-http-conformance
Open

Utkarsh-Sinha0 wants to merge 2 commits into
open-telemetry:mainfrom
Utkarsh-Sinha0:feat/js-fetch-http-conformance

Conversation

@Utkarsh-Sinha0

@Utkarsh-Sinha0 Utkarsh-Sinha0 commented Aug 31, 2026 •

Copy link
Copy Markdown

Summary

This adds browser Fetch client coverage to the JavaScript HTTP conformance suite.

  • Runs each runner-selected HTTP contract case in a real headless browser with @opentelemetry/instrumentation-fetch.
  • Adds a reusable browser runner that preserves the contract request URL and bridges browser OTLP/HTTP protobuf exports to the conformance collector.
  • Adds decoded OTLP integration coverage that verifies only the selected request produces a client span.
  • Validates response status and parsed JSON without depending on object-key order.
  • Records the generated conformance coverage and documents how to run the scenario.

Part of #139.

Validation

  • JavaScript syntax checks for all changed sources
  • git diff --check
  • GitHub Actions requested for the dependency-backed test and formatting suites

The committed coverage records the instrumentation's current recommended network.protocol.version findings.

@Utkarsh-Sinha0
Utkarsh-Sinha0 requested a review from a team as a code owner August 31, 2026 08:06
Copilot AI balanced review requested due to automatic review settings August 31, 2026 08:06

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Copilot was unable to review this pull request because the user who requested the review has reached their quota limit.

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: 5921d581e3

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

Comment thread scenarios/http/js/fetch/scenarios/client.js Outdated
@opentelemetry-pr-dashboard

opentelemetry-pr-dashboard Bot commented Aug 31, 2026 •

Copy link
Copy Markdown

Pull request dashboard status

Waiting on reviewers · refreshed 2026-10-23 20:44 UTC

Review the latest changes.

Status above doesn't look right?
  • Just replied or pushed? Anything around or after the refresh time above may not be picked up yet — give it a few minutes.
  • Anything look wrong? Report it with what you expected; it helps us improve the dashboard.

Add browser Fetch coverage using the shared HTTP contract and validate responses with structural JSON equality.
@Utkarsh-Sinha0
Utkarsh-Sinha0 force-pushed the feat/js-fetch-http-conformance branch from d886b1b to c8cd7ff Compare September 3, 2026 06:39

This branch has not been deployed

No deployments
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.

2 participants