Uploaded image for project: 'AI Platform Core Components'
  1. AI Platform Core Components
  2. AIPCC-7281

Decrease load time for rhaiis drops page

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Normal Normal
    • None
    • None
    • AIPCC Productization
    • None
    • False
    • Hide

      None

      Show
      None
    • False
    • Productization Sprint 20

      The frontend RhaiisProductSeries component currently performs a separate /artifacts request for every drop in order to determine which environments (e.g., stage, production) contain artifacts and to render environment badges. When many drops appear on screen, this results in a burst of parallel requests, leading to avoidable backend load, slower UI rendering, and scalability problems (For N drops, the UI generates N concurrent API calls).

      To address this, the solution is to enrich the /drops endpoint so that each returned drop includes a computed environments field. By doing so, the frontend will no longer need to query /artifacts per drop.

      Outcome

      • Frontend stops issuing per-drop /artifacts requests for environment information
      • Reduced backend load and improved render times for large drop lists

      Acceptance Criteria

      • /drops includes a computed environments array for every drop
      • Values are derived from artifact data
      • Unit and integration tests updated to validate the new field
      • API documentation updated

              rhit_jmorenas Jose Angel Morena
              rhit_jmorenas Jose Angel Morena
              Klara's Team
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated:
                Resolved: