Skip to content

Wrong sorting of trees on hardware details. #1907

@alanpeixinho

Description

@alanpeixinho

Problem

On hardware details, the tree list returned by the summary endpoint (POST .../hardware/<id>/summary) could disagree with the tree list used by the full/detail flows (get_hardware_trees_data, used by full/builds/boots/tests).

In one case, we are using the tree_name/branch/git_url/commit_hash as sorting, while in the other we use tree_name/branch/git_commit_name. As most cases should be resolved by sorting the first two fields, this error has managed to pass.

Metadata

Metadata

Assignees

Labels

BackendMost or all of the changes for this issue will be in the backend code.bugSomething isn't working

Type

Projects

Status

Done

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions