Skip to content

Hardware Details Summary: Prefer hash commits on selected commits filter. #1858

@alanpeixinho

Description

@alanpeixinho

A significant portion of the latency in the Hardware Details Summary endpoint comes from resolving the 'head' string into a commit hash for each tree.

To optimize this, I suggest the following:

  • Frontend: Whenever possible, please pass the direct commit hash instead of the 'head' alias.
  • Backend: If the request contains only direct hashes, we should skip the 'head' resolution logic entirely to save processing time.

This change should improve response times for the hardware summarization.

Metadata

Metadata

Assignees

No one assigned

    Labels

    BackendMost or all of the changes for this issue will be in the backend code.FrontendMost or all of the changes for this issue will be in the frontend code.enhancementNew feature or request

    Type

    Projects

    Status

    No status

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions