Skip to content

List Records returns {} #1076

Description

@freefood89

Expected Behavior

GET /apis/results.tekton.dev/v1alpha2/parents/-/results/-/records should return something like the following based on the openapi spec when there's no matching records:

{ "records": [], "nextPageToken": ""}

Actual Behavior

The API returns {}

Steps to Reproduce the Problem

  1. List Records with query that doesn't match any Records (any combination of namespace, resultid or filter that satisfies this)

Additional Info

  • Kubernetes version: v1.33.2-gke.1111000
  • Tekton Pipeline version: v1.0.0
  • Tekton Results version: v0.15.2

Metadata

Metadata

Assignees

No one assigned

    Labels

    kind/bugCategorizes issue or PR as related to a bug.

    Type

    Fields

    No fields configured for Bug.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions