-
Notifications
You must be signed in to change notification settings - Fork 3.4k
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
Send also workflows as part of unified jobs into analytics #6201
Comments
@Ladas I just want to confirm - you've merged everything you need here, right? |
yes, this issue should be fixed now |
Tested this manually and added coverage in our test suite. Calling verified and closing edit: I tested that workflows and their spawned jobs end up in the unified jobs table csv....missed the part about the PR for the workflow nodes |
woops, https://github.com/ansible/awx/pull/6204/files is not merged! Workflows now show up in the unified_jobs_table csv file, but the workflow nodes stuff is not there. |
@wenottingham @Ladas are you wanting #6204 to be covered by a different issue? |
No, we need both for this. |
Linking #5931 |
Sorry for confusion, so not sending workflows (their records from unified_jobs table) was a bug. Then it's a separate feature to get all workflow data, which includes workflow nodes. :-o |
Ok, everything is now working as expected. Adding some more test coverage downstream |
ISSUE TYPE
SUMMARY
Workflows are not being sent to analytics (nor other types, e.g. workflow approvals)
Workflows do not have a record in main_job, therefore the JOIN
was ignoring those. We need to do LEFT JOIN to include also
workflows.
ENVIRONMENT
STEPS TO REPRODUCE
Send payload to analytics
EXPECTED RESULTS
Workflows and approvals should be part of unified_jobs.csv
ACTUAL RESULTS
Workflows and approvals are not part of the unified_jobs.csv
The text was updated successfully, but these errors were encountered: