Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions pkg/model/utils.go
Original file line number Diff line number Diff line change
Expand Up @@ -346,7 +346,12 @@ func FormatVersionDisplayName(version *tensorleapapi.SlimVersion, status Version
}

func GetRunsStatusesPerVersionId(ctx context.Context, projectId string) (map[string][]tensorleapapi.RunProcess, error) {
// Pushes after the code-parse + import-model merger run under a single
// JOBSUBTYPE_PUSH; older versions still have the two split jobs. Include
// all three so CalcVersionStatus can see a terminated push regardless of
// which job shape produced it.
subTypes := []tensorleapapi.JobSubType{
tensorleapapi.JOBSUBTYPE_PUSH,
tensorleapapi.JOBSUBTYPE_IMPORT_MODEL,
tensorleapapi.JOBSUBTYPE_CODE_PARSE,
}
Expand Down
Loading