Skip to content

feat: improve copy button #11481

Description

@mfreeman451

Is your feature request related to a problem? Please describe.
Currently when you hit the copy button when looking at a job, it just grabs the body of the event, it doesn't grab the header which is important and shouldn't be missing as it gives context around the bazel path:

Image

When I click the copy button I get:

ERROR: non zero exit: local spawn failed for Genrule
/bin/bash: line 44: bazel-out/rbe_platform-opt-exec/bin/external/rules_rust++rust+rust_linux_x86_64__x86_64-unknown-linux-gnu__stable_tools/rust_toolchain/bin/cargo: cannot execute binary file

What I think a user should get (in their buffer) is:

Genrule action failed with exit code 1
//rust/bmp-collector:bmp-collector

ERROR: non zero exit: local spawn failed for Genrule
/bin/bash: line 44: bazel-out/rbe_platform-opt-exec/bin/external/rules_rust++rust+rust_linux_x86_64__x86_64-unknown-linux-gnu__stable_tools/rust_toolchain/bin/cargo: cannot execute binary file

Describe the solution you'd like
A clear and concise description of what you want to happen.

Describe alternatives you've considered
A clear and concise description of any alternative solutions or features you've considered.

Additional context
Add any other context or screenshots about the feature request here.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions