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

Secondary fix for 9523 - Exception for loading should show in the ouptut #10990

Merged
merged 1 commit into from
Apr 6, 2020

Conversation

rchiodo
Copy link

@rchiodo rchiodo commented Apr 6, 2020

For #9523

Initial fix for this issue was insufficient. Added a UI side only value to the cell view model to represent errors found when rendering.

@rchiodo rchiodo self-assigned this Apr 6, 2020
@rchiodo rchiodo added the no-changelog No news entry required label Apr 6, 2020
@sonarqubecloud
Copy link

sonarqubecloud bot commented Apr 6, 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

@codecov-io
Copy link

codecov-io commented Apr 6, 2020

Codecov Report

Merging #10990 into master will decrease coverage by 0.02%.
The diff coverage is n/a.

Impacted file tree graph

@@            Coverage Diff             @@
##           master   #10990      +/-   ##
==========================================
- Coverage   60.75%   60.73%   -0.03%     
==========================================
  Files         583      583              
  Lines       31731    31731              
  Branches     4519     4519              
==========================================
- Hits        19279    19272       -7     
- Misses      11466    11471       +5     
- Partials      986      988       +2     
Impacted Files Coverage Δ
src/datascience-ui/interactive-common/mainState.ts 54.76% <ø> (ø)
src/datascience-ui/react-common/arePathsSame.ts 75.00% <0.00%> (-12.50%) ⬇️
src/client/common/utils/platform.ts 64.70% <0.00%> (-11.77%) ⬇️
src/client/linters/pydocstyle.ts 86.66% <0.00%> (-2.23%) ⬇️
src/client/datascience/debugLocationTracker.ts 76.56% <0.00%> (-1.57%) ⬇️
...client/datascience/kernel-launcher/kernelFinder.ts 75.70% <0.00%> (-0.94%) ⬇️
src/client/common/process/proc.ts 14.49% <0.00%> (-0.73%) ⬇️

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update a533bc9...b4ef91f. Read the comment docs.

@@ -40,6 +40,7 @@ export interface ICellViewModel {
hasBeenRun: boolean;
runDuringDebug?: boolean;
codeVersion?: number;
uiSideError?: string;
Copy link
Member

Choose a reason for hiding this comment

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

This change makes sense to me just architecturally. We want to render this, but it's not really a cell output.

@rchiodo rchiodo merged commit c48b306 into master Apr 6, 2020
@rchiodo rchiodo deleted the rchiodo/widget_exception branch April 6, 2020 23:38
@lock lock bot locked as resolved and limited conversation to collaborators Apr 15, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
no-changelog No news entry required
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants