Skip to content

Bug: TestStatusHistory not shown for independent tests #1167

Description

@MarceloRobert

Tests occur in a build, and builds happen in a checkout, and checkouts have an origin. If tests have a build_id that doesn't belong to any build in the database, then we can't tell which origin a test is from.

Problem: When tests are not related to an existing build (or are related to a build but the build is not related to an existing checkout) - here called as an "independent test" - they don't have a direct way to check for its origin, and the test status history doesn't load.

Expected behaviour: the test status history should load even if it doesn't have an origin

Example: test details page

Possible solution: change the test status history endpoint to allow for a None origin and don't join for origins when performing the query

Metadata

Metadata

Assignees

Labels

BackendMost or all of the changes for this issue will be in the backend code.bugSomething isn't workinggood first issueGood for newcomers

Type

Projects

Status
In Review

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions