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

DM-45724: Move handling of exiting exceptions to MPGraphExecutor #301

Merged
merged 1 commit into from
Aug 14, 2024

Conversation

andy-slac
Copy link
Collaborator

This avoids unexpected process exits from SingleGraphExecutors level. MPGraphExecutor is a better place to handle application-level logic, potentially CmdLineFwk would be even better location, but some context is missing at that level.

Checklist

  • ran Jenkins
  • added a release note for user-visible changes to doc/changes

Copy link

codecov bot commented Aug 14, 2024

Codecov Report

Attention: Patch coverage is 28.57143% with 25 lines in your changes missing coverage. Please review.

Project coverage is 89.14%. Comparing base (ac6ec8c) to head (0da26fd).
Report is 2 commits behind head on main.

Files Patch % Lines
python/lsst/ctrl/mpexec/mpGraphExecutor.py 28.57% 20 Missing and 5 partials ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##             main     #301      +/-   ##
==========================================
- Coverage   89.47%   89.14%   -0.33%     
==========================================
  Files          50       50              
  Lines        4360     4376      +16     
  Branches      723      685      -38     
==========================================
  Hits         3901     3901              
- Misses        323      335      +12     
- Partials      136      140       +4     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

successCount += 1
# For some exception types we want to exit immediately with
# exception-specific exit code, but we still want to start
# debugger if
Copy link
Member

Choose a reason for hiding this comment

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

Comment seems truncated.

This avoids unexpected process exits from SingleGraphExecutors level.
MPGraphExecutor is a better place to handle application-level logic,
potentially CmdLineFwk would be even better location, but some context
is missing at that level.
@andy-slac andy-slac merged commit 6d12fdf into main Aug 14, 2024
13 checks passed
@andy-slac andy-slac deleted the tickets/DM-45724 branch August 14, 2024 16:46
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.

2 participants