Skip to content

feat: [BE] Add page_size param to pipeline runs list endpoint #188

Description

@Mbeaulne

Summary

Add a page_size query parameter to GET /api/pipeline_runs/ so clients can control how many runs are returned per page.

Motivation

The Dashboard homepage dynamically sizes its "My Runs" and "All Runs" tables based on available screen height. Currently the backend always returns a fixed number of runs per page, so the frontend has to over-fetch and slice client-side — which is wasteful and means pagination skips items.

Proposed Change

Add an optional page_size integer query parameter to GET /api/pipeline_runs/:

  • Default: current behavior (no change when omitted) 10
  • Minimum: 1
  • Maximum: suggested cap of 100

Related

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions