Skip to content

Update dependencies and configuration for Azure Functions#333

Merged
HowardvanRooijen merged 6 commits intomainfrom
feature/update-2025-06
Jun 6, 2025
Merged

Update dependencies and configuration for Azure Functions#333
HowardvanRooijen merged 6 commits intomainfrom
feature/update-2025-06

Conversation

@HowardvanRooijen
Copy link
Contributor

  • Modified build.yml to use GitHub SHA for concurrency.
  • Updated Endjin.RecommendedPractices.GitHub to version 2.1.18 in multiple projects.
  • Upgraded Azure.Identity to version 1.14.0 and adjusted version specifications for related packages.
  • Changed credential type in AzureTokenCredentialSourceFromConfiguration.cs for Visual Studio Code.
  • Updated local.settings.template.json to use dotnet-isolated for Azure Functions.
  • Reflected new package versions in packages.lock.json, ensuring compatibility.
  • Added new testing dependencies and removed outdated ones in packages.lock.json.

- Modified `build.yml` to use GitHub SHA for concurrency.
- Updated `Endjin.RecommendedPractices.GitHub` to version 2.1.18 in multiple projects.
- Upgraded `Azure.Identity` to version 1.14.0 and adjusted version specifications for related packages.
- Changed credential type in `AzureTokenCredentialSourceFromConfiguration.cs` for Visual Studio Code.
- Updated `local.settings.template.json` to use `dotnet-isolated` for Azure Functions.
- Reflected new package versions in `packages.lock.json`, ensuring compatibility.
- Added new testing dependencies and removed outdated ones in `packages.lock.json`.
@github-actions
Copy link

github-actions bot commented Jun 6, 2025

Test Results

78 tests  ±0   77 ✅  - 1   0s ⏱️ -1s
 1 suites ±0    1 💤 +1 
 1 files   ±0    0 ❌ ±0 

Results for commit 026d658. ± Comparison against base commit 4ed2a1c.

♻️ This comment has been updated with latest results.

HowardvanRooijen and others added 4 commits June 6, 2025 09:36
Changed the expected type of the `TokenCredential` from
'VisualStudioCodeCredential' to 'AzureCliCredential'
in the Visual Studio Code credential configuration test as VisualStudioCodeCredential is now obsolete.
Clarified the deprecation notice in the switch statement
for `ClientIdentitySourceTypes.VisualStudioCode`,
correcting the reference from `VisualStuCredential`
to `VisualStudioCodeCredential`.
This commit updates the `Corvus.Identity.ClientAuthentication.Azure` namespace by:
- Changing the initialization of `indicatedSourceTypes` in `ClientIdentityConfigurationValidation.cs` to use an empty array.
- Modifying the handling of `configuration.IdentitySourceType` to use array syntax in the `Except` method.
- Marking the `VisualStudioCode` enum value as obsolete in `ClientIdentitySourceTypes.cs`, recommending the use of `AzureCli` instead.
- Correcting a typo in `IAzureTokenCredentialSource.cs`.
- Removing the mapping for `ClientIdentitySourceTypes.VisualStudioCode` in `AzureTokenCredentialSourceFromConfiguration.cs`.
- Updating the `SimpleSourceTypes.feature` file to reflect the deprecation of `VisualStudioCode` and adding a scenario to ignore related tests.
@github-actions
Copy link

github-actions bot commented Jun 6, 2025

Code Coverage Summary Report - Linux (No TFM)

Summary
Generated on: 06/06/2025 - 12:23:36
Parser: Cobertura
Assemblies: 3
Classes: 40
Files: 39
Line coverage: 89.4% (996 of 1114)
Covered lines: 996
Uncovered lines: 118
Coverable lines: 1114
Total lines: 5374
Branch coverage: 63.5% (87 of 137)
Covered branches: 87
Total branches: 137
Method coverage: Feature is only available for sponsors

Coverage

Corvus.Identity.Abstractions - 100%
Name Line Branch
Corvus.Identity.Abstractions 100% ****
Corvus.Identity.ClientAuthentication.AccessTokenDetail 100%
Corvus.Identity.ClientAuthentication.AccessTokenNotIssuedException 100%
Corvus.Identity.ClientAuthentication.AccessTokenRequest 100%
Corvus.Identity.Azure - 81.9%
Name Line Branch
Corvus.Identity.Azure 81.9% 75.2%
Corvus.Identity.ClientAuthentication.Azure.ClientIdentityConfiguration 100%
Corvus.Identity.ClientAuthentication.Azure.ClientIdentityConfigurationValid
ation
97.7% 90%
Corvus.Identity.ClientAuthentication.Azure.Internal.AccessTokenSourceFromDy
namicConfiguration
100% 50%
Corvus.Identity.ClientAuthentication.Azure.Internal.AzureTokenCredentialAcc
essTokenSource
96.5%
Corvus.Identity.ClientAuthentication.Azure.Internal.AzureTokenCredentialSou
rce
78.5% 50%
Corvus.Identity.ClientAuthentication.Azure.Internal.AzureTokenCredentialSou
rceForSpecificConfiguration
94.4% 100%
Corvus.Identity.ClientAuthentication.Azure.Internal.AzureTokenCredentialSou
rceFromConfiguration
91.5% 80%
Corvus.Identity.ClientAuthentication.Azure.Internal.KeyVaultSecretCache 0% 0%
Corvus.Identity.ClientAuthentication.Azure.Internal.KeyVaultSecretClientFac
tory
0%
Corvus.Identity.ClientAuthentication.Azure.Internal.ServiceIdentityAccessTo
kenSource
0%
Corvus.Identity.ClientAuthentication.Azure.Internal.ServiceIdentityAzureTok
enCredentialSource
71.4%
Corvus.Identity.ClientAuthentication.Azure.Internal.TestableClientSecretCre
dential
100%
Corvus.Identity.ClientAuthentication.Azure.KeyVaultSecretConfiguration 100%
Corvus.Identity.ClientAuthentication.Azure.LegacyAzureServiceTokenProviderC
onnectionString
92.8% 75%
Corvus.Identity.ClientAuthentication.Azure.LegacyAzureServiceTokenProviderO
ptions
0%
Microsoft.Extensions.DependencyInjection.AzureIdentityServiceCollectionExte
nsions
47.6% 0%
Corvus.Identity.Specs - 91.7%
Name Line Branch
Corvus.Identity.Specs 91.7% 41.6%
Corvus.Identity.Azure.AzureTokenCredentialAccessTokenSourceFeature 100%
Corvus.Identity.Azure.AzureTokenCredentialAccessTokenSourceSteps 94% 75%
Corvus.Identity.Azure.AzureTokenCredentialAccessTokenSourceSteps.TestTokenC
redential
85.7%
Corvus.Identity.Azure.AzureTokenCredentialAccessTokenSourceSteps.TestTokenC
redentialSourceFromConfig
100%
Corvus.Identity.Azure.ClientIdentityConfigurationValidationFeature 100%
Corvus.Identity.Azure.KeyVaultBindings 97.3% 50%
Corvus.Identity.Azure.KeyVaultBindings.FakeKeyVaultSecretClientFactory 94.7% 50%
Corvus.Identity.Azure.KeyVaultBindings.FakeKeyVaultSecretClientFactory.Fake
SecretClient
90% 50%
Corvus.Identity.Azure.LegacyAuthConnectionStringsFeature 100%
Corvus.Identity.Azure.LegacyAuthConnectionStringsSteps 100% 100%
Corvus.Identity.Azure.TokenCredentialBindings 86.2% 50%
Corvus.Identity.Azure.TokenCredentialSourceFromDynamicConfiguration.TokenCr
edentialSourceFromDynamicConfigurationADAppWithSecretInKeyVaultFeature
100%
Corvus.Identity.Azure.TokenCredentialSourceFromDynamicConfiguration.TokenCr
edentialSourceFromDynamicConfigurationCacheInvalidationFeature
100%
Corvus.Identity.Azure.TokenCredentialSourceFromDynamicConfiguration.TokenCr
edentialSourceFromDynamicConfigurationSteps
99% 90%
Corvus.Identity.Azure.TokenCredentialSourceFromDynamicConfiguration.TokenCr
edentialSourceFromDynamicConfigurationSteps.SecretCacheRow
100%
Corvus.Identity.Azure.TokenCredentialSourceFromDynamicConfiguration.TokenCr
edentialSourceFromDynamicConfigurationSteps.TestCache
100%
Corvus.Identity.Azure.TokenCredentialSourceFromDynamicConfiguration.TokenCr
edentialSourceFromDynamicConfigurationSteps.TestConfiguration
100%
Corvus.Identity.Azure.TokenCredentialSourceFromDynamicConfiguration.TokenCr
edentialSourceFromDynamicConfigurationWithSimpleClientIdentityConfiguration
Feature
88.5%
Idg.AsyncTest.TaskExtensions.AsyncTestTaskExtensions 0% 0%
Idg.AsyncTest.TaskExtensions.AsyncTestTaskExtensions 0% 0%
Reqnroll_GeneratedTests_NUnitAssemblyHooks 100%

@HowardvanRooijen HowardvanRooijen merged commit 6ebdcc8 into main Jun 6, 2025
7 checks passed
@HowardvanRooijen HowardvanRooijen deleted the feature/update-2025-06 branch June 6, 2025 13:12
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