← Back to Pull requests

Reconcile two contributions after merge conflicts #14

Merged
huitema merged 1 files (195 lines) on Nov 19, 2026 08:07 UTC
View on GitHub
huitema huitema commented on Nov 19, 2026 07:13 UTC
Author

Both @Yanmei-Liu and @altanai made contributions, one defining the new events and packet types, the other defining the modification to existing QUIC events. The github merge of course made a mess of things. This PR attempts to reconcile contributions.

Diff: 195 lines (+92 / -103) across 1 files Reviewer: Yanmei-Liu Review duration: 54m
All Vouch review confidence checks passed
Residual risk 0.04 = Change Risk (0.35) × (1 − Review Confidence (0.88)). Review depth and reviewer attention state are adequate.
Model 1 · Change Risk (XGBoost)
Score: 0.35 · 195 lines diff across 1 files
0.35
Model 2 · Review Depth (DistilBERT)
Depth Score: 0.85 · 5 substantive comment(s)
0.85
Model 3 · Review Timing & Attention
Session adequacy: 100% · Reviewer familiarity: 50%
88%
Bedrock Claude 3 · Risk Narration
(disconnected)
Groq
Groq Risk Narration
AWS Bedrock is currently disconnected. Generate high-confidence PR triage narration on-demand using Groq.
Model 1 · Change Risk Attribution
SHAP Weights
Diff Size diff_size
0.316
Real PR Conversation Timeline
11 items
github-actions[bot] github-actions[bot] commented on code on Nov 19, 2026 07:13 UTC
Code Review
draft-huitema-quic-qlog-multipath.md:1
@@ -300,6 +223,76 @@ path 0. Later the client abandons path 1 at the application's request.
 ]
 ~~~
 
+
+# Add a Path identifier to existing QUIC events
+
+When a QUIC event describes an operation or state for one known path,
+implementations MUST include `path_id`, including when its value is 0. 

implementations MUST include `path_id`, including when its value is 0.

Yanmei-Liu Yanmei-Liu commented on code on Nov 19, 2026 07:35 UTC
Code Review
draft-huitema-quic-qlog-multipath.md:1
@@ -300,6 +223,76 @@ path 0. Later the client abandons path 1 at the application's request.
 ]
 ~~~
 
+
+# Add a Path identifier to existing QUIC events
+
+When a QUIC event describes an operation or state for one known path,
+implementations MUST include `path_id`, including when its value is 0.
+(The `path_id` field is defined in {{mp-events}}.)
+Implementations
+MUST omit the field when the event is connection-wide or when the associated
+Path ID is not known. Omission does not mean path 0. An implementation MAY
+place `path_id` in `common_fields` only when the same value applies to every
+event in that trace, following the common-field rules in {{I-D.ietf-quic-qlog-main-schema}}.
+
+The event-level field identifies the path on which the event's packet or
+operation applies. A Path ID carried inside a frame remains a frame field and
+can identify a different path. For example, a packet sent on path 0 can carry
+a PATH_ACK frame acknowledging packets from path 1; the event has
+`path_id: 0`, while the PATH_ACK frame has `path_id: 1`.
+
+The field applies to the following existing events in the `quic` namespace
+when the stated path context is known:
+
+| Event | Meaning of `path_id` |
+| --- | --- |
+| `packet_sent`, `packet_received` | Path carrying the packet. |
+| `packet_lost` | Path carrying the lost packet. |
+| `packet_dropped`, `packet_buffered` | Path associated with the packet, if it can be identified at that point. |
+| `packets_acked` | Path of the acknowledged packets, not the path carrying the ACK or PATH_ACK frame. Implementations MUST split events when acknowledged packets belong to different paths. |
+| `recovery_metrics_updated`, `recovery_parameters_set` | Path whose recovery or congestion-control values are reported. |
+| `congestion_state_updated`, `ecn_state_updated`, `timer_updated` | Path whose state or timer changed. Omit it for a connection-wide update. |
+| `mtu_updated`, `spin_bit_updated` | Path whose MTU or spin-bit state changed. |
+| `connection_id_updated` | Path associated with the connection ID being updated. |
+| `tuple_assigned` | Path only when the tuple assignment is for one specific Path ID; the tuple itself remains identified by `tuple_id`. |
+| `migration_state_updated` | Path being migrated. Its Path ID remains the same as the tuple changes during migration. |
+| `frames_parsed`, `frames_created` | Path associated with the packet or packets. Implementations MUST split an event if its packet numbers span different paths. Omit `path_id` for frames created before a path is selected. |
+
+Path-management events defined by this document MUST include `path_id` when
+they refer to one path. For a frame whose RFC 10069 definition contains a
+Path ID, the frame's `data` representation MUST also retain that frame field;
+the event-level `path_id` does not replace it. For other QUIC events,
+implementations MUST include `path_id` when they describe a single known
+path, and MUST omit it when they are connection-wide or the path is unknown.
+
+An example packet event is:
+
+~~~ json
+{
+  "time": 123.4,
+  "name": "quic:packet_sent",
+  "path_id": 1,
+  "data": {
+    "header": {
+      "packet_type": "1RTT",
+      "packet_number": 0
+    },
+    "frames": [
+      { "frame_type": "stream", "stream_id": 0, "offset": 0 }
+    ]
+  }
+}
+~~~
+
+The field is outside `data`, so existing QUIC event data definitions do not
+need to be copied or redefined for each event. The table above specifies the
+event-by-event semantics and applicability of the common field. New event
+types and frame encodings for RFC 10069 remain defined in the sections below.

The three new path events now appear above this paragraph, while the frame definitions follow it. Could we point to each section directly?

event-by-event semantics and applicability of the common field.
{{mp-events}} defines the new events. {{multipath-specific-frames}}
defines the frame encodings.

Yanmei-Liu Yanmei-Liu commented on Nov 19, 2026 07:35 UTC
Reviewer

Thanks, Christian. The merged draft looks good to me overall. I’ve marked the three remaining inconsistencies with suggested changes. Could you take another look at those spots?

Yanmei-Liu Yanmei-Liu commented on code on Nov 19, 2026 07:39 UTC
Code Review
draft-huitema-quic-qlog-multipath.md:1

The packet is sent on path 0. Could we record that on the event itself? The PATH_ACK acknowledges path 1, and PATH_CIDS_BLOCKED refers to path 2.

  "name": "quic:packet_sent",
  "path_id": 0,

Yanmei-Liu Yanmei-Liu commented on code on Nov 19, 2026 07:40 UTC
Code Review
draft-huitema-quic-qlog-multipath.md:1
@@ -90,94 +90,6 @@ This section is to be removed before publishing as an RFC.
    example, draft 00 of this document is identified using the URI
    urn:ietf:params:qlog:events:quic-multipath-00.

Could we use the same schema URI here as in the permanent definition and the IANA entry? This restores the wording from #10 and gives draft implementations one identifier to put in event_schemas.

Only implementations of the published RFC can use the unversioned URN
defined in {{event-schema}}. Implementations of a draft version MUST
append a hyphen and the corresponding draft number to that URN. For
example, draft 00 uses `urn:ietf:params:qlog:events:quic#multipath-00`.

Yanmei-Liu Yanmei-Liu commented on code on Nov 19, 2026 07:40 UTC
Code Review
draft-huitema-quic-qlog-multipath.md:1
@@ -300,6 +223,76 @@ path 0. Later the client abandons path 1 at the application's request.
 ]
 ~~~
 
+
+# Add a Path identifier to existing QUIC events
+
+When a QUIC event describes an operation or state for one known path,
+implementations MUST include `path_id`, including when its value is 0.
+(The `path_id` field is defined in {{mp-events}}.)
+Implementations
+MUST omit the field when the event is connection-wide or when the associated
+Path ID is not known. Omission does not mean path 0. An implementation MAY
+place `path_id` in `common_fields` only when the same value applies to every
+event in that trace, following the common-field rules in {{I-D.ietf-quic-qlog-main-schema}}.
+
+The event-level field identifies the path on which the event's packet or
+operation applies. A Path ID carried inside a frame remains a frame field and
+can identify a different path. For example, a packet sent on path 0 can carry
+a PATH_ACK frame acknowledging packets from path 1; the event has
+`path_id: 0`, while the PATH_ACK frame has `path_id: 1`.
+
+The field applies to the following existing events in the `quic` namespace
+when the stated path context is known:
+
+| Event | Meaning of `path_id` |
+| --- | --- |
+| `packet_sent`, `packet_received` | Path carrying the packet. |
+| `packet_lost` | Path carrying the lost packet. |
+| `packet_dropped`, `packet_buffered` | Path associated with the packet, if it can be identified at that point. |
+| `packets_acked` | Path of the acknowledged packets, not the path carrying the ACK or PATH_ACK frame. Implementations MUST split events when acknowledged packets belong to different paths. |
+| `recovery_metrics_updated`, `recovery_parameters_set` | Path whose recovery or congestion-control values are reported. |
+| `congestion_state_updated`, `ecn_state_updated`, `timer_updated` | Path whose state or timer changed. Omit it for a connection-wide update. |
+| `mtu_updated`, `spin_bit_updated` | Path whose MTU or spin-bit state changed. |
+| `connection_id_updated` | Path associated with the connection ID being updated. |
+| `tuple_assigned` | Path only when the tuple assignment is for one specific Path ID; the tuple itself remains identified by `tuple_id`. |
+| `migration_state_updated` | Path being migrated. Its Path ID remains the same as the tuple changes during migration. |
+| `frames_parsed`, `frames_created` | Path associated with the packet or packets. Implementations MUST split an event if its packet numbers span different paths. Omit `path_id` for frames created before a path is selected. |
+
+Path-management events defined by this document MUST include `path_id` when
+they refer to one path. For a frame whose RFC 10069 definition contains a
+Path ID, the frame's `data` representation MUST also retain that frame field;
+the event-level `path_id` does not replace it. For other QUIC events,
+implementations MUST include `path_id` when they describe a single known
+path, and MUST omit it when they are connection-wide or the path is unknown.
+
+An example packet event is:
+
+~~~ json
+{
+  "time": 123.4,
+  "name": "quic:packet_sent",
+  "path_id": 1,
+  "data": {
+    "header": {
+      "packet_type": "1RTT",
+      "packet_number": 0
+    },
+    "frames": [
+      { "frame_type": "stream", "stream_id": 0, "offset": 0 }
+    ]
+  }
+}
+~~~
+
+The field is outside `data`, so existing QUIC event data definitions do not
+need to be copied or redefined for each event. The table above specifies the
+event-by-event semantics and applicability of the common field. New event
+types and frame encodings for RFC 10069 remain defined in the sections below.
+Only implementations of the published RFC can use the unversioned URN
+defined in {{event-schema}}. Implementations of a draft version MUST
+append a hyphen and the corresponding draft number to that URN. For
+example, draft 00 uses `urn:ietf:params:qlog:events:quic#multipath-00`.
+
 # Multipath specific frames

Could we remove this second copy of the versioning rule when applying the draft-identification suggestion? That keeps the rule in the section marked for removal at publication. Companion suggestion


# Multipath specific frames

Yanmei-Liu Yanmei-Liu approved these changes on Nov 19, 2026 07:41 UTC
Approved Reviewer

Approved these changes.

huitema huitema commented on code on Nov 19, 2026 07:51 UTC
Code Review
draft-huitema-quic-qlog-multipath.md:1
@@ -300,6 +223,76 @@ path 0. Later the client abandons path 1 at the application's request.
 ]
 ~~~
 
+
+# Add a Path identifier to existing QUIC events
+
+When a QUIC event describes an operation or state for one known path,
+implementations MUST include `path_id`, including when its value is 0.
+(The `path_id` field is defined in {{mp-events}}.)
+Implementations
+MUST omit the field when the event is connection-wide or when the associated
+Path ID is not known. Omission does not mean path 0. An implementation MAY
+place `path_id` in `common_fields` only when the same value applies to every
+event in that trace, following the common-field rules in {{I-D.ietf-quic-qlog-main-schema}}.
+
+The event-level field identifies the path on which the event's packet or
+operation applies. A Path ID carried inside a frame remains a frame field and
+can identify a different path. For example, a packet sent on path 0 can carry
+a PATH_ACK frame acknowledging packets from path 1; the event has
+`path_id: 0`, while the PATH_ACK frame has `path_id: 1`.
+
+The field applies to the following existing events in the `quic` namespace
+when the stated path context is known:
+
+| Event | Meaning of `path_id` |
+| --- | --- |
+| `packet_sent`, `packet_received` | Path carrying the packet. |
+| `packet_lost` | Path carrying the lost packet. |
+| `packet_dropped`, `packet_buffered` | Path associated with the packet, if it can be identified at that point. |
+| `packets_acked` | Path of the acknowledged packets, not the path carrying the ACK or PATH_ACK frame. Implementations MUST split events when acknowledged packets belong to different paths. |
+| `recovery_metrics_updated`, `recovery_parameters_set` | Path whose recovery or congestion-control values are reported. |
+| `congestion_state_updated`, `ecn_state_updated`, `timer_updated` | Path whose state or timer changed. Omit it for a connection-wide update. |
+| `mtu_updated`, `spin_bit_updated` | Path whose MTU or spin-bit state changed. |
+| `connection_id_updated` | Path associated with the connection ID being updated. |
+| `tuple_assigned` | Path only when the tuple assignment is for one specific Path ID; the tuple itself remains identified by `tuple_id`. |
+| `migration_state_updated` | Path being migrated. Its Path ID remains the same as the tuple changes during migration. |
+| `frames_parsed`, `frames_created` | Path associated with the packet or packets. Implementations MUST split an event if its packet numbers span different paths. Omit `path_id` for frames created before a path is selected. |
+
+Path-management events defined by this document MUST include `path_id` when
+they refer to one path. For a frame whose RFC 10069 definition contains a
+Path ID, the frame's `data` representation MUST also retain that frame field;
+the event-level `path_id` does not replace it. For other QUIC events,
+implementations MUST include `path_id` when they describe a single known
+path, and MUST omit it when they are connection-wide or the path is unknown.
+
+An example packet event is:
+
+~~~ json
+{
+  "time": 123.4,
+  "name": "quic:packet_sent",
+  "path_id": 1,
+  "data": {
+    "header": {
+      "packet_type": "1RTT",
+      "packet_number": 0
+    },
+    "frames": [
+      { "frame_type": "stream", "stream_id": 0, "offset": 0 }
+    ]
+  }
+}
+~~~
+
+The field is outside `data`, so existing QUIC event data definitions do not
+need to be copied or redefined for each event. The table above specifies the
+event-by-event semantics and applicability of the common field. New event
+types and frame encodings for RFC 10069 remain defined in the sections below.

Done.

huitema huitema commented on code on Nov 19, 2026 07:53 UTC
Code Review
draft-huitema-quic-qlog-multipath.md:1
@@ -300,6 +223,76 @@ path 0. Later the client abandons path 1 at the application's request.
 ]
 ~~~
 
+
+# Add a Path identifier to existing QUIC events
+
+When a QUIC event describes an operation or state for one known path,
+implementations MUST include `path_id`, including when its value is 0.
+(The `path_id` field is defined in {{mp-events}}.)
+Implementations
+MUST omit the field when the event is connection-wide or when the associated
+Path ID is not known. Omission does not mean path 0. An implementation MAY
+place `path_id` in `common_fields` only when the same value applies to every
+event in that trace, following the common-field rules in {{I-D.ietf-quic-qlog-main-schema}}.
+
+The event-level field identifies the path on which the event's packet or
+operation applies. A Path ID carried inside a frame remains a frame field and
+can identify a different path. For example, a packet sent on path 0 can carry
+a PATH_ACK frame acknowledging packets from path 1; the event has
+`path_id: 0`, while the PATH_ACK frame has `path_id: 1`.
+
+The field applies to the following existing events in the `quic` namespace
+when the stated path context is known:
+
+| Event | Meaning of `path_id` |
+| --- | --- |
+| `packet_sent`, `packet_received` | Path carrying the packet. |
+| `packet_lost` | Path carrying the lost packet. |
+| `packet_dropped`, `packet_buffered` | Path associated with the packet, if it can be identified at that point. |
+| `packets_acked` | Path of the acknowledged packets, not the path carrying the ACK or PATH_ACK frame. Implementations MUST split events when acknowledged packets belong to different paths. |
+| `recovery_metrics_updated`, `recovery_parameters_set` | Path whose recovery or congestion-control values are reported. |
+| `congestion_state_updated`, `ecn_state_updated`, `timer_updated` | Path whose state or timer changed. Omit it for a connection-wide update. |
+| `mtu_updated`, `spin_bit_updated` | Path whose MTU or spin-bit state changed. |
+| `connection_id_updated` | Path associated with the connection ID being updated. |
+| `tuple_assigned` | Path only when the tuple assignment is for one specific Path ID; the tuple itself remains identified by `tuple_id`. |
+| `migration_state_updated` | Path being migrated. Its Path ID remains the same as the tuple changes during migration. |
+| `frames_parsed`, `frames_created` | Path associated with the packet or packets. Implementations MUST split an event if its packet numbers span different paths. Omit `path_id` for frames created before a path is selected. |
+
+Path-management events defined by this document MUST include `path_id` when
+they refer to one path. For a frame whose RFC 10069 definition contains a
+Path ID, the frame's `data` representation MUST also retain that frame field;
+the event-level `path_id` does not replace it. For other QUIC events,
+implementations MUST include `path_id` when they describe a single known
+path, and MUST omit it when they are connection-wide or the path is unknown.
+
+An example packet event is:
+
+~~~ json
+{
+  "time": 123.4,
+  "name": "quic:packet_sent",
+  "path_id": 1,
+  "data": {
+    "header": {
+      "packet_type": "1RTT",
+      "packet_number": 0
+    },
+    "frames": [
+      { "frame_type": "stream", "stream_id": 0, "offset": 0 }
+    ]
+  }
+}
+~~~
+
+The field is outside `data`, so existing QUIC event data definitions do not
+need to be copied or redefined for each event. The table above specifies the
+event-by-event semantics and applicability of the common field. New event
+types and frame encodings for RFC 10069 remain defined in the sections below.
+Only implementations of the published RFC can use the unversioned URN
+defined in {{event-schema}}. Implementations of a draft version MUST
+append a hyphen and the corresponding draft number to that URN. For
+example, draft 00 uses `urn:ietf:params:qlog:events:quic#multipath-00`.
+
 # Multipath specific frames

I think I removed it.

huitema huitema commented on code on Nov 19, 2026 07:56 UTC
Code Review
draft-huitema-quic-qlog-multipath.md:1
@@ -90,94 +90,6 @@ This section is to be removed before publishing as an RFC.
    example, draft 00 of this document is identified using the URI
    urn:ietf:params:qlog:events:quic-multipath-00.

I think this was fixed. I will review again,

Reviewers
Assignees
huitema huitema
Labels
risk: low confidence: 88.2% reviewed
Vouch Risk Breakdown
AI-powered review risk analysis
Change Risk
Change Risk · Model 1 (XGBoost)
Predicted defect probability (0.00–1.00) based on diff churn, modified sensitive files, and author risk history.
Score: 34.6% (LOW) · Higher = larger blast radius
34.6%
Review Confidence
Review Confidence · Models 2 & 3
Scrutiny score (0.00–1.00) combining DistilBERT semantic review depth with reviewer familiarity and session dwell time.
Score: 88.2% · Lower = rushed or shallow review
88.2%
Residual Risk
Residual Risk · Core Equation
Residual = Change × (1 − Confidence)
Unmitigated risk surviving review. ≥ 0.65 triggers an automated re-queue to protect production.
Score: 4.1% · Safe to merge
4.1%