Currently, lab info is only visible as a filter/summary within tree and hardware detail pages. There is no dedicated page for browsing labs.
Goal
Add a /labs listing page — similar to the existing /hardware and /tree listing pages — where users can see all labs and their aggregated build/boot/test status at a glance.
Backend
- New endpoint GET /api/labs/ returning a list of labs with aggregated status counts.
- Each item should include:
- lab_name (from labs.name)
- build_status_summary (PASS / FAIL / INCONCLUSIVE counts from builds linked to that lab)
- boot_status_summary (same for boots)
- test_status_summary (same for tests)
- New Regressions found on that lab.
Frontend
- New route /labs with a listing table.
- Columns: Lab name, Build status summary, Boot status summary, Test status summary (using the same status bar/badge components as the hardware listing).
Reference draft
https://www.figma.com/proto/OY1Hp26cB4z3WyZPXxF8SE/KernelCI-Dashboard-V2?page-id=0%3A1&node-id=574-4195&viewport=106%2C168%2C0.02&t=IENm5urX8kJej6rP-1&scaling=min-zoom&starting-point-node-id=43%3A2900
Currently, lab info is only visible as a filter/summary within tree and hardware detail pages. There is no dedicated page for browsing labs.
Goal
Add a /labs listing page — similar to the existing /hardware and /tree listing pages — where users can see all labs and their aggregated build/boot/test status at a glance.
Backend
Frontend
Reference draft
https://www.figma.com/proto/OY1Hp26cB4z3WyZPXxF8SE/KernelCI-Dashboard-V2?page-id=0%3A1&node-id=574-4195&viewport=106%2C168%2C0.02&t=IENm5urX8kJej6rP-1&scaling=min-zoom&starting-point-node-id=43%3A2900