Skip to content

azcore fix: initialize request pipeline with configured cloud#3802

Merged
thomas11 merged 3 commits into
masterfrom
tkappler/azcore-token-scope
Dec 18, 2024
Merged

azcore fix: initialize request pipeline with configured cloud#3802
thomas11 merged 3 commits into
masterfrom
tkappler/azcore-token-scope

Conversation

@thomas11

Copy link
Copy Markdown
Contributor

Fixes #3795, hopefully.

The way Azure's azcore and azidentity SDKs are designed makes it hard to test this, but reading the source here it looks like this change should fix the issue.

@thomas11 thomas11 requested a review from a team December 17, 2024 21:15
@github-actions

Copy link
Copy Markdown
Contributor

Does the PR have any schema changes?

Looking good! No breaking changes found.
No new resources/functions.

@codecov

codecov Bot commented Dec 17, 2024

Copy link
Copy Markdown

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 57.01%. Comparing base (c57661c) to head (89e784c).
Report is 1 commits behind head on master.

Additional details and impacted files
@@            Coverage Diff             @@
##           master    #3802      +/-   ##
==========================================
+ Coverage   57.00%   57.01%   +0.01%     
==========================================
  Files          78       78              
  Lines       12035    12041       +6     
==========================================
+ Hits         6860     6865       +5     
- Misses       4675     4676       +1     
  Partials      500      500              

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@mjeffryes mjeffryes left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Approving b/c I don't want to block you on timezone delta and it makes sense that this could fix the issue, but would be nice to capture this requirement in some sort of test or at least a comment.

Comment thread provider/pkg/azure/client_azcore.go
@thomas11 thomas11 force-pushed the tkappler/azcore-token-scope branch from 3bd6a92 to 89e784c Compare December 18, 2024 09:08
@thomas11 thomas11 enabled auto-merge (squash) December 18, 2024 09:23
@thomas11 thomas11 merged commit 1285abd into master Dec 18, 2024
@thomas11 thomas11 deleted the tkappler/azcore-token-scope branch December 18, 2024 09:42
@pulumi-bot

Copy link
Copy Markdown
Contributor

This PR has been shipped in release v2.79.0.

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.

New AzCore API Breaks Environment

3 participants