Skip to content

Conversation

rchiodo
Copy link

@rchiodo rchiodo commented Apr 9, 2020

For #11060

I had removed this by accident on my refactor for how widgets were rendered.

Also fixed a problem with the functional tests running with real jupyter (caused by the IInterpreterSecurity stuff). @karrtikr you fixed the functional tests when running without jupyter, but it's a little bit more tricky than that. Some of our services a registered differently when using real jupyter (Nightly Flake tests)

InterpeterHashProviderFactory,
InterpeterHashProviderFactory
);
this.serviceManager.addSingleton<IInterpreterSecurityService>(
Copy link
Author

Choose a reason for hiding this comment

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

@karrtikr unfortunately the real interpreter services are registered when we use real jupyter, so these additions were in the wrong spot. They had to fall under the if for when not using the real jupyter.

Choose a reason for hiding this comment

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

unfortunately the real interpreter services are registered

I see. But do these real interpreter services do not need to register IInterpreterSecurityService? Or was it the case that it was being registered twice?

Copy link
Author

Choose a reason for hiding this comment

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

It was being registered twice when using real jupyter (causing an ambiguous match exception)

@sonarqubecloud
Copy link

sonarqubecloud bot commented Apr 9, 2020

Kudos, SonarCloud Quality Gate passed!

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities (and Security Hotspot 0 Security Hotspots to review)
Code Smell A 0 Code Smells

No Coverage information No Coverage information
0.0% 0.0% Duplication

@rchiodo rchiodo merged commit d96be50 into master Apr 9, 2020
@rchiodo rchiodo deleted the rchiodo/ipywidgets_background branch April 9, 2020 23:13
rchiodo added a commit that referenced this pull request Apr 9, 2020
@rchiodo
Copy link
Author

rchiodo commented Apr 9, 2020

Going to port this to release

@lock lock bot locked as resolved and limited conversation to collaborators Apr 18, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants