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

Provide link between steps executed in a child job and the parent job. #4177

Open
lithium147 opened this issue Aug 19, 2022 · 1 comment
Open
Labels
in: core status: need-help-to-reproduce Issues that we welcome the community to help us reproduce status: waiting-for-reporter Issues for which we are waiting for feedback from the reporter type: feature

Comments

@lithium147
Copy link

When a job is executed by a JobStep, there doesn't seem a way to see the steps that were executed in the child job from the parent job. And there doesn't seem to be any linkage in the data base from the child step executions to the parent job.
From the parent job, can see it had a step execution of the child job.
And from the child job, can see the step executions.
But there is no link from the jobStep execution to the child job execution.

As a work around, it might be possible to use a listener to add the appropriate id's to the execution context.

@lithium147 lithium147 added status: waiting-for-triage Issues that we did not analyse yet type: feature labels Aug 19, 2022
@fmbenhassine fmbenhassine added in: core and removed status: waiting-for-triage Issues that we did not analyse yet labels Oct 24, 2022
@fmbenhassine
Copy link
Contributor

Thank you for opening this issue. I am not sure I fully understand the "missing" link you are describing. The StepExecution object associated with the execution of the JobStep has a link to the parent JobExecution. Now what you are looking for is the link between the StepExecution of the JobStep and the JobExecution of the delegate job (ie the sub-job executed by the step). Is that correct?

Could you please provide a minimal example and show with a dump of the meta-data tables where the link is missing? This will help us fully understand your request. Thank you upfront.

@fmbenhassine fmbenhassine added status: waiting-for-reporter Issues for which we are waiting for feedback from the reporter status: need-help-to-reproduce Issues that we welcome the community to help us reproduce labels Apr 5, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
in: core status: need-help-to-reproduce Issues that we welcome the community to help us reproduce status: waiting-for-reporter Issues for which we are waiting for feedback from the reporter type: feature
Projects
None yet
Development

No branches or pull requests

2 participants