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
organize job run results by job #73
organize job run results by job #73
Conversation
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.
couple nits but i like the nesting.
main.go
Outdated
} | ||
} | ||
|
||
func getFailedTestNamesFromJobRuns(jobRuns map[string]testgridanalysisapi.RawJobRunResult) sets.String { | ||
func getFailedTestNamesFromJobRuns(jobResults map[string]testgridanalysisapi.RawJobResult) sets.String { |
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.
func getFailedTestNamesFromJobRuns(jobResults map[string]testgridanalysisapi.RawJobResult) sets.String { | |
func getFailedTestNamesFromJobResults(jobResults map[string]testgridanalysisapi.RawJobResult) sets.String { |
pkg/util/utils.go
Outdated
bzComponentToBZJobResults := map[string][]sippyprocessingv1.BugzillaJobResult{} | ||
for job, jobRunResults := range jobRunsByJob { | ||
curr := generateJobFailuresByBugzillaComponent(job, jobRunResults, jobToTestResults[job].TestResults) | ||
for job, jobRunResult := range allJobResults { |
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.
for job, jobRunResult := range allJobResults { | |
for job, jobResult := range allJobResults { |
?
159c425
to
98d043d
Compare
/lgtm |
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: bparees, deads2k The full list of commands accepted by this bot can be found here. The pull request process is described here
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |
This presentation is more what people expect and simplifies some logic of the processing and transformation. It also gets us ready for building out test results by job and unifying aggregration types.