fission / fission-workflows

Workflows for Fission: Fast, reliable and lightweight function composition for serverless functions
Apache License 2.0
371 stars 42 forks source link

CLI: Add pagination to invocation list command #227

Open erwinvaneyk opened 6 years ago

erwinvaneyk commented 6 years ago

Currently fission workflows invocation get (listing workflow invocations) lists all workflow invocations, which after some production workloads can quickly add up. Since the command does a GET on each workflow invocation in the list to retrieve metadata, the command can take minutes to complete (unless filters are applied).

To fix this we need to implement some sort of pagination for this command. Pagination example in gRPC: https://github.com/googleapis/googleapis/blob/master/google/cloud/resourcemanager/v2/folders.proto