Skip to content

feat: Ability to fetch run status only without payload #3047

@Yuripetusko

Description

@Yuripetusko

Is your feature request related to a problem? Please describe.

I was investigating Sentry warnings for "Large HTTP Payload", and it turns out this is from useRealtimeRun and useRealtimeRunWithTags hooks when run has a large input/output payload.

Describe the solution you'd like to see

We could optimize and try to send less, but I think it would also be nice to have a hook something like useRealtimeRunStatus that only returns couple of fields (run id and status mostly), because when using it to display a progress bar or to display completion badge, we don't really need to pull the whole payload

Describe alternate solutions

Alternatively add options in the hook arguments to omit payload

Additional information

No response

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