← Back to Pull requests

Define qlog events for multipath path creation, abandonment, and status #10

Merged
Yanmei-Liu merged 1 files (162 lines) on Nov 19, 2026 06:33 UTC
View on GitHub
Yanmei-Liu Yanmei-Liu commented on Nov 19, 2026 02:15 UTC
Author

Closes #6.

Packet events show when a path-management signal was sent or received. These three Base-level events record when the logging endpoint changed its path configuration.

  • quic:path_created records when the client initiates a path or the server accepts it. Address validation can still be pending.

  • quic:path_abandoned records the endpoint's first decision to abandon a Path ID, including an unused one. The initiator distinguishes a local decision from one prompted by the peer.

  • quic:path_status_updated records changes to either endpoint's advertised preference. A status frame can arrive on path 0, set path 1 to backup, and later be repeated. The trace records one update for path 1.
  • All three events use the affected path's top-level path_id, consistent with #3. The draft supplies the CDDL data definitions, a client-side example, and the IANA event list. The schema URI uses the #multipath fragment prescribed for an extension of the quic namespace. qlog main schema §8

    The draft built as text and HTML. All three examples validated against their CDDL data types and the combined $ProtocolEventData choice. Additional checks covered required fields, status values, and integer limits.

    Diff: 162 lines (+139 / -23) across 1 files Reviewer: huitema Review duration: 258m
    All Vouch review confidence checks passed
    Residual risk 0.03 = Change Risk (0.33) × (1 − Review Confidence (0.92)). Review depth and reviewer attention state are adequate.
    Model 1 · Change Risk (XGBoost)
    Score: 0.33 · 162 lines diff across 1 files
    0.33
    Model 2 · Review Depth (DistilBERT)
    Depth Score: 0.91 · 4 substantive comment(s)
    0.91
    Model 3 · Review Timing & Attention
    Session adequacy: 100% · Reviewer familiarity: 50%
    91%
    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.305
    Real PR Conversation Timeline
    7 items
    huitema huitema commented on code on Nov 19, 2026 02:46 UTC
    Code Review
    draft-huitema-quic-qlog-multipath.md:1
    @@ -82,17 +81,128 @@ This section is to be removed before publishing as an RFC.
     
        Only implementations of the final, published RFC can use the events
        belonging to the event schema with the URI
    -   urn:ietf:params:qlog:events:quic-multipath.  Until such an RFC exists,
    +   `urn:ietf:params:qlog:events:quic#multipath`.  Until such an RFC exists,
        implementations MUST NOT identify themselves using this URI.
     
        Implementations of draft versions of the event schema MUST append the
        string "-" and the corresponding draft number to the URI.  For
        example, draft 00 of this document is identified using the URI
    -   urn:ietf:params:qlog:events:quic-multipath-00.
    -
    -# Multipath specific events and event extensions
    -
    -TODO.
    +   `urn:ietf:params:qlog:events:quic#multipath-00`.

    The URN definition should be in the top section, not in the "draft event" section that will be deleted upon publication!

    huitema huitema commented on code on Nov 19, 2026 02:48 UTC
    Code Review
    draft-huitema-quic-qlog-multipath.md:1
    @@ -82,17 +81,128 @@ This section is to be removed before publishing as an RFC.
     
        Only implementations of the final, published RFC can use the events
        belonging to the event schema with the URI
    -   urn:ietf:params:qlog:events:quic-multipath.  Until such an RFC exists,
    +   `urn:ietf:params:qlog:events:quic#multipath`.  Until such an RFC exists,
        implementations MUST NOT identify themselves using this URI.
     
        Implementations of draft versions of the event schema MUST append the
        string "-" and the corresponding draft number to the URI.  For
        example, draft 00 of this document is identified using the URI
    -   urn:ietf:params:qlog:events:quic-multipath-00.
    -
    -# Multipath specific events and event extensions
    -
    -TODO.
    +   `urn:ietf:params:qlog:events:quic#multipath-00`.
    +
    +# Multipath specific events and event extensions {#mp-events}
    +
    +The three events in this section have Base importance. They record
    +changes to the paths of a connection as seen by the endpoint. Packet
    +events record the frames that carry path management signals. A single
    +change can involve several frames, and a local decision can precede the
    +first frame that signals it.
    +
    +Each of these events MUST identify the affected path using a top-level
    +`path_id` field of type `uint32` alongside `time`, `name`, and `data`
    +({{Section 7 of I-D.ietf-quic-qlog-main-schema}}).
    +Its value is the Path ID from {{RFC10069}}, scoped to the connection.
    +For example, if a packet on path 0 changes the status of path 1, the
    +status event has `path_id` 1. The optional qlog `tuple` field identifies
    +the network tuple associated with an event. Two Path IDs can share a
    +tuple, and a path can change tuples during migration. Tuple details can
    +be recorded with `quic:tuple_assigned` ({{I-D.ietf-quic-qlog-quic-events}}).
    +
    +The event data types extend the qlog main schema as follows. Fields of
    +type `QUICPathVarInt` hold the decoded value of a QUIC variable-length
    +integer and follow the qlog serialization rules for `uint64`.
    +
    +~~~ cddl
    +$ProtocolEventData /= QUICPathCreated / QUICPathAbandoned /
    +                      QUICPathStatusUpdated
    +
    +QUICPathVarInt = 0..4611686018427387903  ; 2^62 - 1
    +~~~

    We do not use varint in qlog. This probably should be an int32.

    huitema huitema commented on Nov 19, 2026 04:45 UTC
    Reviewer

    Great start, thanks. Can we make sure that the URN is at the right place, and that the path ID is defined as a 32 bit integer?

    Yanmei-Liu Yanmei-Liu commented on code on Nov 19, 2026 05:17 UTC
    Code Review
    draft-huitema-quic-qlog-multipath.md:1
    @@ -82,17 +81,128 @@ This section is to be removed before publishing as an RFC.
     
        Only implementations of the final, published RFC can use the events
        belonging to the event schema with the URI
    -   urn:ietf:params:qlog:events:quic-multipath.  Until such an RFC exists,
    +   `urn:ietf:params:qlog:events:quic#multipath`.  Until such an RFC exists,
        implementations MUST NOT identify themselves using this URI.
     
        Implementations of draft versions of the event schema MUST append the
        string "-" and the corresponding draft number to the URI.  For
        example, draft 00 of this document is identified using the URI
    -   urn:ietf:params:qlog:events:quic-multipath-00.
    -
    -# Multipath specific events and event extensions
    -
    -TODO.
    +   `urn:ietf:params:qlog:events:quic#multipath-00`.

    In aaf0f90, I clarified the definition of urn:ietf:params:qlog:events:quic#multipath in the permanent “Event Schema Definition” section. The draft-only subsection now refers back to that definition and explains the version suffix, with -00 as the example. Could you take another look at the placement?

    Yanmei-Liu Yanmei-Liu commented on code on Nov 19, 2026 05:17 UTC
    Code Review
    draft-huitema-quic-qlog-multipath.md:1
    @@ -82,17 +81,128 @@ This section is to be removed before publishing as an RFC.
     
        Only implementations of the final, published RFC can use the events
        belonging to the event schema with the URI
    -   urn:ietf:params:qlog:events:quic-multipath.  Until such an RFC exists,
    +   `urn:ietf:params:qlog:events:quic#multipath`.  Until such an RFC exists,
        implementations MUST NOT identify themselves using this URI.
     
        Implementations of draft versions of the event schema MUST append the
        string "-" and the corresponding draft number to the URI.  For
        example, draft 00 of this document is identified using the URI
    -   urn:ietf:params:qlog:events:quic-multipath-00.
    -
    -# Multipath specific events and event extensions
    -
    -TODO.
    +   `urn:ietf:params:qlog:events:quic#multipath-00`.
    +
    +# Multipath specific events and event extensions {#mp-events}
    +
    +The three events in this section have Base importance. They record
    +changes to the paths of a connection as seen by the endpoint. Packet
    +events record the frames that carry path management signals. A single
    +change can involve several frames, and a local decision can precede the
    +first frame that signals it.
    +
    +Each of these events MUST identify the affected path using a top-level
    +`path_id` field of type `uint32` alongside `time`, `name`, and `data`
    +({{Section 7 of I-D.ietf-quic-qlog-main-schema}}).
    +Its value is the Path ID from {{RFC10069}}, scoped to the connection.
    +For example, if a packet on path 0 changes the status of path 1, the
    +status event has `path_id` 1. The optional qlog `tuple` field identifies
    +the network tuple associated with an event. Two Path IDs can share a
    +tuple, and a path can change tuples during migration. Tuple details can
    +be recorded with `quic:tuple_assigned` ({{I-D.ietf-quic-qlog-quic-events}}).
    +
    +The event data types extend the qlog main schema as follows. Fields of
    +type `QUICPathVarInt` hold the decoded value of a QUIC variable-length
    +integer and follow the qlog serialization rules for `uint64`.
    +
    +~~~ cddl
    +$ProtocolEventData /= QUICPathCreated / QUICPathAbandoned /
    +                      QUICPathStatusUpdated
    +
    +QUICPathVarInt = 0..4611686018427387903  ; 2^62 - 1
    +~~~

    I removed QUICPathVarInt in aaf0f90 and made path_id explicit in the CDDL as a required top-level uint32 on all three events. This covers the full unsigned 32-bit Path ID range in RFC 10069. The error_code and sequence_number fields can exceed 32 bits, so they use qlog’s uint64 with the RFC limit of 2^62 − 1. Could you review the updated types and let me know if this addresses your concern?

    huitema huitema approved these changes on Nov 19, 2026 06:33 UTC
    Approved Reviewer

    Thanks.

    Using "quic#multipath" is nice. It seems like the right way to say that we are incrementing the definitions in the QUIC name space.

    We may need to revisit some of the definition after discussing with a wider audience, but this is a very good start.

    Reviewers
    Assignees
    Yanmei-Liu Yanmei-Liu
    Labels
    risk: low confidence: 91.5% 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: 33.5% (LOW) · Higher = larger blast radius
    33.5%
    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: 91.5% · Lower = rushed or shallow review
    91.5%
    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: 2.8% · Safe to merge
    2.8%