-
Notifications
You must be signed in to change notification settings - Fork 167
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
JP-3631: remove direct setting of self.skip within calibration steps #8600
Conversation
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## master #8600 +/- ##
==========================================
+ Coverage 59.56% 59.60% +0.03%
==========================================
Files 391 391
Lines 39285 39286 +1
==========================================
+ Hits 23402 23418 +16
+ Misses 15883 15868 -15 ☔ View full report in Codecov by Sentry. |
new regtest round started here |
In the regtests above, there was one failure ( The question is, why was this test passing before, and failing only now as of this PR? I think the answer is due to unexpected/bad behavior when setting In terms of how to fix that, should I allow |
I think it wouldn't hurt to allow either, in case there are other older datasets around. |
Did you notice if any steps are now saving results when skipped (when they weren't previously)? I ask because stpipe checks |
Putting some relevant points from a meeting Brett and I had here: This line in stpipe is checking the We discussed whether If we do decide to do something in stpipe, it remains unclear whether this should hold up merging this PR. If the creation of files when |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM!
even more regtests. I will merge this if these don't turn up any failures |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This review may have some out-dated comments (I was adding them at the same time this was updated).
This is ready to merge. Waiting because this should go into Build 11.1, and other bugfixes still need to go into 11.0 |
Resolves JP-3631
Closes #8498
This PR removes all instances where a step sets its own
.skip
attribute, including the one in therecord_step_status()
helper function. That pattern causes potential issues; see, for example, this PR and therefore should be avoided. In a few instances where the calibration step was checking a step's.skip
attribute after running the step, the step result's metadata is now being checked instead.Checklist for PR authors (skip items if you don't have permissions or they are not applicable)
CHANGES.rst
within the relevant release sectionHow to run regression tests on a PR