⚠ This page is served via a proxy. Original site: https://github.com
This service does not collect credentials or authentication data.
Skip to content

Conversation

@MarceloRobert
Copy link
Collaborator

@MarceloRobert MarceloRobert commented Jan 15, 2026

Changes

  • Removes the build lab filter
  • Combines boot and test lab filter into one
  • Also fixes a behavior where hardware builds were mistakenly marked as processed when they shouldn't be

The lab filter now works the same way as the hardware filter in the treeDetails page, meaning that filtering for a test lab will also filter just for builds that contain tests with that specific lab - although the builds themselves might not be related to the lab directly

How to test

Check the treeDetails and hardwareDetails page, filtering by the card and the filter modal. Also check the commit graph.

For the hardware build fix, this is not seen on production since it happens with a specific filter behavior, which is when you filter tests and gather only the builds related to those tests (this is the behavior for the hardware filter on tree details and now the lab filter as well). In those cases, it might happen that a build is related to multiple tests, one that fits the lab filter and another that doesn't; if the row with the test that doesn't fit the lab filter is processed first, the old code would mark the build as processed and would not return its data. In the new code, a test that doesn't fit the filter won't mark the build as processed, meaning that it will keep searching until the test + build fits the filter and only then the build is marked as processed.
In the local database, you can check the behavior on this page

Closes #1679

@MarceloRobert MarceloRobert self-assigned this Jan 15, 2026
@MarceloRobert MarceloRobert added Backend Most or all of the changes for this issue will be in the backend code. Frontend Most or all of the changes for this issue will be in the frontend code. labels Jan 15, 2026
Combines boot and test filter into one; applies changes to treeDetails and hardwareDetails

Closes kernelci#1679
In the hardware views there were instances where the first test of a build didn't pass the filters, which made the build be marked as processed even though we should keep checking if later tests of a build are still inside the filter that we want. In the code this was written as simply marking a build as 'processed' in the wrong place.
@MarceloRobert MarceloRobert marked this pull request as ready for review January 16, 2026 16:57
@MarceloRobert MarceloRobert changed the title Refactor: lab filters Refactor: make lab filter global and remove build lab filter Jan 16, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Backend Most or all of the changes for this issue will be in the backend code. Frontend Most or all of the changes for this issue will be in the frontend code.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Make lab filter global

1 participant