Skip to content

feat/hardware origin lab filter - #2031

Draft
alanpeixinho wants to merge 1 commit into
kernelci:mainfrom
profusion:feat/hardware-origin-lab-filter
Draft

feat/hardware origin lab filter#2031
alanpeixinho wants to merge 1 commit into
kernelci:mainfrom
profusion:feat/hardware-origin-lab-filter

Conversation

@alanpeixinho

Copy link
Copy Markdown
Contributor

- Add checkout origin, build origin, build lab, test origin and test lab
  filters to the hardware listing, in a filter drawer, defaulting to maestro
  checkouts and builds with the test side open
- Split hardware_status into hardware_build_status and hardware_test_status,
  each keyed by its own dimensions, with a migration
- Scope counters per column: build filters move only build counters, test
  filters only boot and test counters
- Require a filtered side to match for a platform to be listed
- Derive the lab key by coalescing misc.lab, misc.runtime and origin
- Add /api/hardware/filters/ serving the five option lists off the aggregates
- Make the five listing filters optional and stop defaulting testOrigin to
  maestro, keeping origin as a deprecated alias
- Make the origin optional on hardware-by-revision, accepting testOrigin
- Key the hardware selectors on build origin
- Hide the TopBar origin selector on the hardware listing
- Extract a shared Combobox out of HardwareRevisionSelectors
- Add the five search params, their URL short names and i18n messages
- Take a pg advisory lock in process_pending_aggregations
- Update prune_db, seed_test_data, update_db and
  delete_unused_hardware_status for the two new tables
- Add unit tests and an e2e spec, and regenerate schema.yml

Closes kernelci#1989

Signed-off-by: Alan Peixinho <alan.peixinho@profusion.mobi>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant