Skip to content

http3: add basic client-side qlog support#5374

Merged
marten-seemann merged 1 commit intomasterfrom
http3-client-side-qlog
Oct 11, 2025
Merged

http3: add basic client-side qlog support#5374
marten-seemann merged 1 commit intomasterfrom
http3-client-side-qlog

Conversation

@marten-seemann
Copy link
Copy Markdown
Member

@marten-seemann marten-seemann commented Oct 11, 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 basic client-side qlog support for HTTP/3 by integrating qlog event recording for frame parsing and creation operations.

Key changes:

  • Integration of qlog event recording for HTTP/3 frame operations
  • Update of request writer interface to accept qlog recorder parameter
  • Addition of comprehensive test coverage for qlog event recording

Reviewed Changes

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

Show a summary per file
File Description
http3/stream_test.go Updates tests to use new connection setup with event recorder and validates qlog frame events
http3/stream.go Adds qlog event recording for data frame parsing and invalid headers frame scenarios
http3/response_writer_test.go Minor refactoring to move variable declaration closer to usage
http3/request_writer_test.go Enhances request writer tests with qlog event validation and stream ID parameters
http3/request_writer.go Extends request writer interface to support qlog recording for header frame creation
http3/http3_helper_test.go Updates helper function call to match new request writer interface

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

Comment thread http3/response_writer_test.go
Comment thread http3/request_writer.go
@codecov
Copy link
Copy Markdown

codecov Bot commented Oct 11, 2025

Codecov Report

❌ Patch coverage is 73.68421% with 10 lines in your changes missing coverage. Please review.
✅ Project coverage is 83.10%. Comparing base (53d2468) to head (f39bee7).
⚠️ Report is 1 commits behind head on master.

Files with missing lines Patch % Lines
http3/request_writer.go 79.17% 5 Missing ⚠️
http3/stream.go 64.29% 4 Missing and 1 partial ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##           master    #5374      +/-   ##
==========================================
+ Coverage   83.07%   83.10%   +0.04%     
==========================================
  Files         158      158              
  Lines       18939    18963      +24     
==========================================
+ Hits        15732    15759      +27     
+ Misses       2584     2581       -3     
  Partials      623      623              

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

@marten-seemann marten-seemann merged commit 7796175 into master Oct 11, 2025
38 checks passed
@marten-seemann marten-seemann deleted the http3-client-side-qlog branch October 11, 2025 08:14
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