Skip to content

Conversation

brettfo
Copy link
Contributor

@brettfo brettfo commented Oct 13, 2025

Ensure that tenant-id and client-id are allowed values in the API client so they get serialized properly. The credentials are passed through to the proxy here.

@brettfo brettfo force-pushed the tenant-and-client-id branch 4 times, most recently from 2835d0c to a934023 Compare October 13, 2025 23:03
@brettfo brettfo marked this pull request as ready for review October 13, 2025 23:05
@brettfo brettfo requested a review from a team as a code owner October 13, 2025 23:05
@Copilot Copilot AI review requested due to automatic review settings October 13, 2025 23:05
Copy link
Contributor

@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 adds support for forwarding tenant-id and client-id credential values to the job's credentials metadata, ensuring these values reach the proxy. This follows the established pattern used for Python's index-url value.

  • Added tenant-id and client-id fields to the Credential type definition
  • Implemented forwarding logic in the credential processing to include these fields in metadata
  • Added comprehensive test coverage for the new functionality

Reviewed Changes

Copilot reviewed 3 out of 5 changed files in this pull request and generated no comments.

File Description
src/api-client.ts Added optional tenant-id and client-id fields to Credential type
src/updater.ts Implemented forwarding logic for tenant-id and client-id to credentials metadata
tests/updater.test.ts Added test case verifying tenant-id and client-id are properly forwarded

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

@brettfo brettfo force-pushed the tenant-and-client-id branch from a934023 to 4208ce2 Compare October 14, 2025 14:30
@brettfo brettfo changed the title forward tenant-id and client-id to credentials-metadata add tenant-id and client-id to credentials Oct 14, 2025
@jakecoffman jakecoffman merged commit 87c17ae into github:main Oct 14, 2025
6 checks passed
@brettfo brettfo deleted the tenant-and-client-id branch October 14, 2025 17:29
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.

3 participants