-
-
Notifications
You must be signed in to change notification settings - Fork 232
Step name callback #2109
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
Step name callback #2109
Conversation
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## main #2109 +/- ##
==========================================
+ Coverage 84.69% 84.78% +0.09%
==========================================
Files 46 46
Lines 8364 8368 +4
Branches 1961 1962 +1
==========================================
+ Hits 7084 7095 +11
+ Misses 809 805 -4
+ Partials 471 468 -3 ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
Arvados-DCO-1.1-Signed-off-by: Peter Amstutz <peter.amstutz@curii.com>
@mr-c did you see this? |
vfinputs = {shortname(k): v for k, v in joborder.items()} | ||
runtimeContext.name = runtimeContext.workflow_job_step_name_callback(self, vfinputs) |
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.
No test coverage?
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.
I don't understand. There is a test test_workflow_job_step_name_callback
and codecov says "All modified and coverable lines are covered by tests"
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.
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.
codecov was out of date, I hit "refresh" and now it says 100% coverage?
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.
Can you squash or otherwise force-push this branch?
This adds a callback hook to runtime context to provide custom logic for naming individual instances of steps (especially including scatter steps). This does not include a cwltool extension, as such a pull request (#1477) was made in 2021 and rejected, so it only adds the hook so that others can provide the desired functionality.