Skip to content

http3: add the qlog event schema to trace header#5383

Merged
marten-seemann merged 1 commit intomasterfrom
http3-qlog-event-schema
Oct 15, 2025
Merged

http3: add the qlog event schema to trace header#5383
marten-seemann merged 1 commit intomasterfrom
http3-qlog-event-schema

Conversation

@marten-seemann
Copy link
Copy Markdown
Member

@marten-seemann marten-seemann commented Oct 12, 2025

Part of #4124.

Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull Request Overview

This PR adds support for HTTP3-specific qlog event schemas to the trace header infrastructure. The key purpose is to enable HTTP3 event logging alongside existing QUIC event logging by introducing schema support checking and allowing traces to support multiple event schemas.

  • Adds a SupportsSchemas method to the Trace interface to check if a trace supports specific event schemas
  • Introduces HTTP3 event schema constant and default connection tracer
  • Updates existing tracers to support both QUIC and HTTP3 event schemas

Reviewed Changes

Copilot reviewed 10 out of 10 changed files in this pull request and generated no comments.

Show a summary per file
File Description
testutils/events/event_recorder.go Implements SupportsSchemas method for test trace
qlogwriter/writer.go Adds SupportsSchemas interface method and eventSchemas field to FileSeq
qlog/qlog_dir.go Adds DefaultConnectionTracerWithSchemas function to support multiple schemas
interop/utils/logging.go Updates to include HTTP3 event schema in tracer
integrationtests/tools/qlog.go Updates to include HTTP3 event schema in tracer
integrationtests/self/self_test.go Implements SupportsSchemas method for multiplexed trace
http3/server.go Adds schema support check before creating qlog producer
http3/qlog/qlog_dir.go Creates new HTTP3 qlog package with event schema constant
example/main.go Updates import to use HTTP3-specific qlog package
example/client/main.go Updates import to use HTTP3-specific qlog package

Tip: Customize your code reviews with copilot-instructions.md. Create the file or learn how to get started.

@codecov
Copy link
Copy Markdown

codecov Bot commented Oct 12, 2025

Codecov Report

❌ Patch coverage is 85.71429% with 2 lines in your changes missing coverage. Please review.
✅ Project coverage is 83.21%. Comparing base (378d867) to head (8ab4893).
⚠️ Report is 1 commits behind head on master.

Files with missing lines Patch % Lines
qlogwriter/writer.go 0.00% 2 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##           master    #5383      +/-   ##
==========================================
+ Coverage   83.19%   83.21%   +0.02%     
==========================================
  Files         158      159       +1     
  Lines       19216    19227      +11     
==========================================
+ Hits        15986    15999      +13     
+ Misses       2606     2605       -1     
+ Partials      624      623       -1     

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

@marten-seemann marten-seemann force-pushed the http3-qlog-event-schema branch 2 times, most recently from 973f620 to 7d1e034 Compare October 13, 2025 04:16
Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull Request Overview

Copilot reviewed 14 out of 14 changed files in this pull request and generated 2 comments.


Tip: Customize your code reviews with copilot-instructions.md. Create the file or learn how to get started.

Comment thread qlog/qlog_dir_test.go Outdated
Comment thread http3/qlog/qlog_dir_test.go Outdated
@marten-seemann marten-seemann force-pushed the http3-qlog-event-schema branch from 7d1e034 to 8ab4893 Compare October 13, 2025 04:36
@marten-seemann marten-seemann marked this pull request as ready for review October 13, 2025 04:40
Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull Request Overview

Copilot reviewed 15 out of 15 changed files in this pull request and generated no new comments.


Tip: Customize your code reviews with copilot-instructions.md. Create the file or learn how to get started.

@marten-seemann marten-seemann added this to the v0.56 milestone Oct 13, 2025
@marten-seemann marten-seemann merged commit 5e5100b into master Oct 15, 2025
38 checks passed
@marten-seemann marten-seemann deleted the http3-qlog-event-schema branch December 29, 2025 14:36
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