Skip to content

Conversation

addaleax
Copy link
Collaborator

@addaleax addaleax commented Sep 3, 2025

Without this, we lose debug logging information from the oidc-plugin internals, such as HTTP request tracking.

(requires mongodb-js/devtools-shared#570 to compile)

Without this, we lose debug logging information from the oidc-plugin
internals, such as HTTP request tracking.
@Copilot Copilot AI review requested due to automatic review settings September 3, 2025 21:13
@addaleax addaleax requested a review from a team as a code owner September 3, 2025 21:13
Copilot

This comment was marked as outdated.

@addaleax addaleax added the no-title-validation Skips validation of PR titles (conventional commit adherence + JIRA ticket inclusion) label Sep 4, 2025
@addaleax addaleax requested a review from Copilot September 4, 2025 11:09
Copy link

@Copilot 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 enables debug logging to be forwarded from the oidc-plugin internals by updating the logging configuration and dependencies. The main purpose is to ensure that HTTP request tracking and other debug information from OIDC authentication flows are captured in the logging output.

  • Adds debug log forwarding in the logging hook to capture debug-level information
  • Updates devtools-connect and devtools-proxy-support dependencies to versions that support this functionality
  • Includes a test to verify that OIDC HTTP calls are properly logged

Reviewed Changes

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

Show a summary per file
File Description
packages/logging/src/logging-and-telemetry.ts Adds debug log forwarding to the hookLogger configuration
packages/e2e-tests/test/e2e-oidc.spec.ts Adds test to verify OIDC HTTP request logging functionality
packages/types/package.json Updates @mongodb-js/devtools-connect dependency to v3.9.4
packages/snippet-manager/package.json Updates @mongodb-js/devtools-proxy-support dependency to v0.5.3
packages/service-provider-node-driver/package.json Updates @mongodb-js/devtools-connect dependency to v3.9.4
packages/logging/package.json Updates @mongodb-js/devtools-connect dependency to v3.9.4
packages/cli-repl/package.json Updates @mongodb-js/devtools-proxy-support dependency to v0.5.3
packages/arg-parser/package.json Updates @mongodb-js/devtools-connect dependency to v3.9.4

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

@addaleax addaleax merged commit c5ecb99 into main Sep 4, 2025
138 of 145 checks passed
@addaleax addaleax deleted the forward-debug-logs branch September 4, 2025 12:25
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

no-title-validation Skips validation of PR titles (conventional commit adherence + JIRA ticket inclusion)

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants