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

RBL code cleanup #7416

Merged
merged 4 commits into from
Sep 13, 2021
Merged

RBL code cleanup #7416

merged 4 commits into from
Sep 13, 2021

Conversation

roblourens
Copy link
Member

Fix #7346

This moves most of the RBL and cell debug specific code out of KernelDebugAdapter into controller classes. There is some left that will be a separate change for the variables changes we discussed in #7346.

  • Pull request represents a single change (i.e. not fixing disparate/unrelated things in a single PR).
  • Title summarizes what is changing.
  • Has a news entry file (remember to thank yourself!).
  • Appropriate comments and documentation strings in the code.
  • Has sufficient logging.
  • Has telemetry for enhancements.
  • Unit tests & system/integration tests are added/updated.
  • Test plan is updated as appropriate.
  • package-lock.json has been regenerated by running npm install (if dependencies have changed).

@roblourens roblourens requested a review from a team as a code owner September 3, 2021 19:39
@roblourens roblourens self-assigned this Sep 3, 2021
@codecov-commenter
Copy link

codecov-commenter commented Sep 3, 2021

Codecov Report

Merging #7416 (4733f3b) into main (f241f29) will decrease coverage by 1%.
The diff coverage is 10%.

@@          Coverage Diff           @@
##            main   #7416    +/-   ##
======================================
- Coverage     64%     62%    -2%     
======================================
  Files        361     362     +1     
  Lines      22563   22607    +44     
  Branches    3415    3418     +3     
======================================
- Hits       14490   14149   -341     
- Misses      6870    7256   +386     
+ Partials    1203    1202     -1     
Impacted Files Coverage Δ
src/client/debugger/types.ts 100% <ø> (ø)
src/client/debugger/jupyter/debuggingManager.ts 21% <7%> (-1%) ⬇️
src/client/debugger/jupyter/kernelDebugAdapter.ts 5% <8%> (+<1%) ⬆️
src/client/debugger/jupyter/debugControllers.ts 11% <11%> (ø)
...rc/client/datascience/jupyter/debuggerVariables.ts 17% <33%> (+<1%) ⬆️
...atascience/interactive-window/interactiveWindow.ts 6% <0%> (-41%) ⬇️
...ce/interactive-window/interactiveWindowProvider.ts 35% <0%> (-38%) ⬇️
src/client/common/refBool.ts 66% <0%> (-34%) ⬇️
src/client/datascience/cellMatcher.ts 72% <0%> (-19%) ⬇️
.../client/datascience/interactive-window/identity.ts 55% <0%> (-15%) ⬇️
... and 48 more

return;
}
this.trace('event', JSON.stringify(msg));
if (!(await this.delegate?.willSendEvent(anyMsg))) {
Copy link
Member

Choose a reason for hiding this comment

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

Nice feels much better this way.

@DavidKutu DavidKutu merged commit a591f95 into main Sep 13, 2021
@DavidKutu DavidKutu deleted the roblou/cleanup branch September 13, 2021 17:56
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.

RBL/Debugging code cleanup
5 participants