Skip to content

refactor: Unversion pages/endpoints for tree/hardware listing#1923

Open
alanpeixinho wants to merge 1 commit into
kernelci:mainfrom
profusion:refactor/coalesce-v1-v2-endpoints
Open

refactor: Unversion pages/endpoints for tree/hardware listing#1923
alanpeixinho wants to merge 1 commit into
kernelci:mainfrom
profusion:refactor/coalesce-v1-v2-endpoints

Conversation

@alanpeixinho
Copy link
Copy Markdown
Contributor

@alanpeixinho alanpeixinho commented Jun 3, 2026

What it is

  • Unify the v1/v2 pages and endpoints for tree/pages listing.
  • Remove CheckoutsCache.

How to test

  • Start backend server and frontend
  • make a request for the unversioned pages (as the examples):
    • /tree?origin=maestro&intervalInDays=7
    • /hardware?origin=maestro&intervalInDays=7
  • make a request for backend endpoints (as the examples):
    • /api/tree/?origin=maestro&interval_in_days=7
    • /api/hardware/?origin=maestro&startTimestampInSeconds=1741192200&endTimestampInSeconds=1741624200
  • make sure older versioning no longer exists (as the examples):
    • /api/tree-v2/
    • /api/hardware-v2/

  * Promote the v2 tree and hardware listing implementations to unversioned routes and APIs
  * Remove legacy v1 endpoints, pages, feature flags.
  * Remove orphaned checkout-cache code.

 Closes kernelci#1917

Signed-off-by: Alan Peixinho <alan.peixinho@profusion.mobi>
@alanpeixinho alanpeixinho force-pushed the refactor/coalesce-v1-v2-endpoints branch from 620cb1b to 0786a63 Compare June 3, 2026 19:12
@alanpeixinho alanpeixinho marked this pull request as ready for review June 3, 2026 19:13
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