Skip to content

Enhance error message to include actual result size when exceeding maxResultSize #8868

@a-ateek

Description

@a-ateek

When a TaskRun fails because a result exceeds the configured maxResultSize, the error message currently does not include the actual size of the offending result. This makes it harder for users to understand how much their result exceeded the limit.

Currently the message is:

[User error]  TaskRun ""my-task-run"" failed: results exceeded size limit 65536 bytes

It would be helpful to enhance the error message to include the exact size of the result that caused the failure. This would make troubleshooting and adjusting pipeline results easier.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    Status

    Todo

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions