Skip to content

Testable Kernel and Future#10679

Merged
IanMatthewHuff merged 6 commits into
ds/rawKernelfrom
dev/ianhu/testableKernel
Mar 20, 2020
Merged

Testable Kernel and Future#10679
IanMatthewHuff merged 6 commits into
ds/rawKernelfrom
dev/ianhu/testableKernel

Conversation

@IanMatthewHuff
Copy link
Copy Markdown
Member

This is the kernel and future implementation that could do a exequteRequest with the old ZMQ. I've abstracted out the ZMQ bits and exercised the code with unit tests. This will let me fill out the rest of the kernel functionality while we also work on the ZMQ bits. Unit testing in as well so that it can roll that in along with the new functionality.

Note: RAWKERNEL: is my todos for areas where I know that more changes are needed.

Also pull in the mockito changes.

  • 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).
  • The wiki is updated with any design decisions/details.

@sonarqubecloud
Copy link
Copy Markdown

Kudos, SonarCloud Quality Gate passed!

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

No Coverage information No Coverage information
0.0% 0.0% Duplication

@IanMatthewHuff IanMatthewHuff added the no-changelog No news entry required label Mar 20, 2020
>();

// JMP connection should be injected, but no need to yet until it actually exists
constructor(connection: IJMPConnection) {
Copy link
Copy Markdown

Choose a reason for hiding this comment

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

IJMPConnection [](start = 28, length = 14)

I'm sticking this in the IOC container, so you should be able to get it from there when you create one of these.

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

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

Yeah, once we have it I'll move it over. Right now it's a bit easier to juggle with just the constructer as I'm moving the files back over to an enlistment that has inserted the temp enchannel-zmq implementation.

@codecov-io
Copy link
Copy Markdown

Codecov Report

❗ No coverage uploaded for pull request base (ds/rawKernel@45d4a3c). Click here to learn what that means.
The diff coverage is 36.95%.

Impacted file tree graph

@@               Coverage Diff               @@
##             ds/rawKernel   #10679   +/-   ##
===============================================
  Coverage                ?   60.48%           
===============================================
  Files                   ?      585           
  Lines                   ?    31735           
  Branches                ?     4500           
===============================================
  Hits                    ?    19195           
  Misses                  ?    11558           
  Partials                ?      982
Impacted Files Coverage Δ
src/client/datascience/raw-kernel/rawKernel.ts 25.66% <25.66%> (ø)
src/client/datascience/raw-kernel/rawFuture.ts 54.92% <54.92%> (ø)

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 45d4a3c...e482c89. Read the comment docs.

Copy link
Copy Markdown

@rchiodo rchiodo left a comment

Choose a reason for hiding this comment

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

:shipit:

@IanMatthewHuff IanMatthewHuff merged commit fdb72a6 into ds/rawKernel Mar 20, 2020
@lock lock Bot locked as resolved and limited conversation to collaborators Mar 27, 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