Skip to content

Complete connection lifecycle telemetry for tree expansion #1123

Backlog

Description

Two low-severity telemetry gaps were identified in PR4 (#1117). Neither changes connection behavior.

  1. Discovery uses a custom child-fetch path. Capture the same bounded established-client context before fetching children that the base provider captures, so Discovery tree events can be joined to the client generation and authentication method. Do not fetch a client for telemetry.
  2. A stale connection failure can be discarded after setting the tree failure marker. Suppress successful completions of the failure-only callback so discarded attempts do not count as failures; keep actual failures and cancellations visible.

Add focused tests for the Discovery path and for the distinction between discarded and genuine failures. Preserve existing privacy masking and do not add raw connection or error details.

Review threads: Discovery context, stale failure telemetry.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancement

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions