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

Safe handling of control plane promises & fix CI #391

Conversation

dagardner-nv
Copy link
Contributor

@dagardner-nv dagardner-nv commented Sep 18, 2023

Description

fixes #379

Checklist

  • I am familiar with the Contributing Guidelines.
  • New or existing tests cover these changes.
  • The documentation is up to date with these changes.

mdemoret-nv and others added 30 commits September 7, 2023 13:03
This reverts commit bd740aa.
Copy link
Contributor

@mdemoret-nv mdemoret-nv left a comment

Choose a reason for hiding this comment

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

Looks good. Mostly cleanup and fixing a few commented out tests

ci/scripts/github/checks.sh Show resolved Hide resolved
cpp/mrc/src/internal/control_plane/client.cpp Outdated Show resolved Hide resolved
cpp/mrc/src/internal/control_plane/client.cpp Show resolved Hide resolved
cpp/mrc/src/internal/control_plane/client.hpp Outdated Show resolved Hide resolved
cpp/mrc/src/internal/grpc/promise_handler.cpp Outdated Show resolved Hide resolved
cpp/mrc/src/internal/grpc/promise_handler.cpp Outdated Show resolved Hide resolved
cpp/mrc/tests/modules/test_segment_modules.cpp Outdated Show resolved Hide resolved
cpp/mrc/tests/modules/test_segment_modules.cpp Outdated Show resolved Hide resolved
cpp/mrc/tests/modules/test_stream_buffer_modules.cpp Outdated Show resolved Hide resolved
@mdemoret-nv mdemoret-nv mentioned this pull request Sep 21, 2023
3 tasks
Copy link
Contributor

@mdemoret-nv mdemoret-nv left a comment

Choose a reason for hiding this comment

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

A few more changes from @cwharris review of #381 which contained most of these changes to the service class

cpp/mrc/src/internal/service.hpp Outdated Show resolved Hide resolved
cpp/mrc/src/internal/service.hpp Outdated Show resolved Hide resolved
cpp/mrc/src/internal/service.hpp Outdated Show resolved Hide resolved
cpp/mrc/src/internal/service.cpp Outdated Show resolved Hide resolved
cpp/mrc/src/internal/service.cpp Outdated Show resolved Hide resolved
cpp/mrc/src/internal/service.hpp Outdated Show resolved Hide resolved
cpp/mrc/src/internal/service.hpp Outdated Show resolved Hide resolved
cpp/mrc/src/internal/service.cpp Outdated Show resolved Hide resolved
cpp/mrc/src/internal/service.cpp Outdated Show resolved Hide resolved
cpp/mrc/src/internal/service.cpp Outdated Show resolved Hide resolved
dagardner-nv and others added 9 commits September 22, 2023 10:11
Co-authored-by: Michael Demoret <42954918+mdemoret-nv@users.noreply.github.com>
Co-authored-by: Michael Demoret <42954918+mdemoret-nv@users.noreply.github.com>
Co-authored-by: Michael Demoret <42954918+mdemoret-nv@users.noreply.github.com>
Co-authored-by: Michael Demoret <42954918+mdemoret-nv@users.noreply.github.com>
Co-authored-by: Michael Demoret <42954918+mdemoret-nv@users.noreply.github.com>
Co-authored-by: Michael Demoret <42954918+mdemoret-nv@users.noreply.github.com>
cpp/mrc/src/internal/service.cpp Outdated Show resolved Hide resolved
@codecov
Copy link

codecov bot commented Sep 22, 2023

Codecov Report

Merging #391 (a7fffce) into branch-23.11 (9b47924) will increase coverage by 0.20%.
Report is 8 commits behind head on branch-23.11.
The diff coverage is 86.82%.

Additional details and impacted files

Impacted file tree graph

@@               Coverage Diff                @@
##           branch-23.11     #391      +/-   ##
================================================
+ Coverage         73.11%   73.32%   +0.20%     
================================================
  Files               382      385       +3     
  Lines             13403    13671     +268     
  Branches           1010     1026      +16     
================================================
+ Hits               9800    10024     +224     
- Misses             3603     3647      +44     
Flag Coverage Δ
cpp 68.03% <86.82%> (-1.02%) ⬇️
py 41.93% <31.32%> (-0.13%) ⬇️

Flags with carried forward coverage won't be shown. Click here to find out more.

Files Changed Coverage Δ
...mrc/src/internal/control_plane/client/instance.cpp 37.20% <ø> (ø)
...rnal/control_plane/client/subscription_service.cpp 0.00% <ø> (ø)
cpp/mrc/src/internal/control_plane/server.hpp 100.00% <ø> (ø)
...c/src/internal/data_plane/data_plane_resources.cpp 72.50% <ø> (ø)
cpp/mrc/src/internal/data_plane/server.cpp 55.65% <ø> (ø)
.../mrc/src/internal/executor/executor_definition.cpp 78.43% <ø> (-0.42%) ⬇️
cpp/mrc/src/internal/pipeline/manager.cpp 86.95% <ø> (ø)
cpp/mrc/src/internal/remote_descriptor/manager.cpp 63.06% <ø> (ø)
cpp/mrc/src/internal/service.hpp 0.00% <0.00%> (ø)
cpp/mrc/src/tests/test_pipeline.cpp 97.58% <ø> (-0.02%) ⬇️
... and 21 more

... and 4 files with indirect coverage changes


Continue to review full report in Codecov by Sentry.

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

@dagardner-nv
Copy link
Contributor Author

/merge

@rapids-bot rapids-bot bot merged commit 40d20a3 into nv-morpheus:branch-23.11 Sep 23, 2023
14 checks passed
@dagardner-nv dagardner-nv deleted the mdd_control-plane-promises-dg-16-fix-shutdown-heap branch September 23, 2023 00:17
rapids-bot bot pushed a commit that referenced this pull request Oct 9, 2023
PR #391 updated the version of boost, but I forgot to update the version in the package's yaml.

Authors:
  - David Gardner (https://github.com/dagardner-nv)

Approvers:
  - Devin Robison (https://github.com/drobison00)
  - Michael Demoret (https://github.com/mdemoret-nv)

URL: #404
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working non-breaking Non-breaking change
Projects
Archived in project
Development

Successfully merging this pull request may close these issues.

[BUG]: Intermittent test failures for clang & gcc-coverage
3 participants