Skip to content

Ensure experiment framework can be created using standard utils#15150

Merged
karrtikr merged 8 commits into
microsoft:mainfrom
karrtikr:accessFramework
Jan 15, 2021
Merged

Ensure experiment framework can be created using standard utils#15150
karrtikr merged 8 commits into
microsoft:mainfrom
karrtikr:accessFramework

Conversation

@karrtikr
Copy link
Copy Markdown

@karrtikr karrtikr commented Jan 14, 2021

Earlier experiment framework was dependent on config service, which was dependent on autoselection, which was dependent on all of legacy discovery code. This code changes experiment framework to use workspace service instead, which has no dependencies.

I have verified that I'm able to fetch experiment framework using service container just before we register legacy discovery classes.

@karrtikr karrtikr added the no-changelog No news entry required label Jan 14, 2021
Copy link
Copy Markdown

@ericsnowcurrently ericsnowcurrently left a comment

Choose a reason for hiding this comment

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

LGTM

I've left a few comments but none are critical.

Comment thread src/client/common/experiments/service.ts
Comment thread src/client/extensionInit.ts Outdated
@codecov-io
Copy link
Copy Markdown

codecov-io commented Jan 14, 2021

Codecov Report

Merging #15150 (b3d75ae) into main (a06f21b) will decrease coverage by 0%.
The diff coverage is 70%.

@@          Coverage Diff           @@
##            main   #15150   +/-   ##
======================================
- Coverage     65%      65%   -1%     
======================================
  Files        561      561           
  Lines      26523    26525    +2     
  Branches    3800     3803    +3     
======================================
- Hits       17272    17271    -1     
- Misses      8551     8552    +1     
- Partials     700      702    +2     
Impacted Files Coverage Δ
src/client/common/experiments/service.ts 88% <60%> (-6%) ⬇️
src/client/common/configSettings.ts 68% <78%> (+<1%) ⬆️

Comment thread src/client/common/experiments/service.ts
Comment thread src/client/common/configSettings.ts
Comment thread src/client/extensionActivation.ts
Comment thread src/test/common/experiments/service.unit.test.ts
@karrtikr karrtikr merged commit db6cd4b into microsoft:main Jan 15, 2021
@karrtikr karrtikr deleted the accessFramework branch January 15, 2021 00:54
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

no-changelog No news entry required

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants