Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

perf(sme): add separate env for SME OAuth #11776

Merged
merged 2 commits into from
Jun 6, 2024
Merged

perf(sme): add separate env for SME OAuth #11776

merged 2 commits into from
Jun 6, 2024

Conversation

SLdragon
Copy link
Contributor

@SLdragon SLdragon commented Jun 5, 2024

No description provided.

Copy link

codecov bot commented Jun 5, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 88.43%. Comparing base (88a114a) to head (d03ebf5).
Report is 2 commits behind head on dev.

Additional details and impacted files

Impacted file tree graph

@@           Coverage Diff           @@
##              dev   #11776   +/-   ##
=======================================
  Coverage   88.43%   88.43%           
=======================================
  Files         530      530           
  Lines       32453    32456    +3     
  Branches     6294     6292    -2     
=======================================
+ Hits        28701    28704    +3     
  Misses       1817     1817           
  Partials     1935     1935           
Files Coverage Δ
packages/fx-core/src/common/constants.ts 98.33% <100.00%> (+0.02%) ⬆️
packages/fx-core/src/common/featureFlags.ts 96.49% <100.00%> (+0.19%) ⬆️
...src/component/generator/copilotPlugin/generator.ts 89.75% <100.00%> (ø)
...re/src/component/generator/copilotPlugin/helper.ts 93.39% <100.00%> (ø)
packages/spec-parser/src/manifestUpdater.ts 93.75% <ø> (-0.07%) ⬇️

... and 1 file with indirect coverage changes

@SLdragon SLdragon requested a review from huimiu June 6, 2024 02:05
@@ -62,6 +62,10 @@ export function isCopilotAuthEnabled(): boolean {
return featureFlagManager.getBooleanValue(FeatureFlags.CopilotAuth);
}

export function isSMEOAuthEnabled(): boolean {
Copy link
Member

Choose a reason for hiding this comment

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

Suggest to use unified global feature flag manager directly: featureFlagManager.getBooleanValue(FeatureFlags.SMEOAuth)

Copy link
Contributor Author

Choose a reason for hiding this comment

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

As discussed, we plan to update it in another PR

@SLdragon SLdragon merged commit 0045067 into dev Jun 6, 2024
19 checks passed
@SLdragon SLdragon deleted the rentu-update65 branch June 6, 2024 02:45
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.

6 participants