Skip to content

GHA annotation truncates runner names confusingly (?) #21

@maxheld83

Description

@maxheld83

When a build fails, it appears that the annotation truncates the runner name:

[DeterminateCI / build (x86_64-darwin, macos-latest)](https://github.com/dataheld/nullkomma/actions/runs/13772723460/job/38514945376)
-The job was canceled because "x86_64-linux_ubuntu-lates" failed.
+The job was canceled because "x86_64-linux_ubuntu-latest" failed.

Diff highlights what the correct runner name should be.
Screenshot below in the details.

It seems like a small thing, but it led me on a goose chase 🪿 searching for a typo in my runners as the cause of the build fail (when really, the build failed for entirely unrelated reasons).

I don't know how this repo could even cause this truncation, so I apologize for logging this in the wrong place.

My guess would be that this string is created by flake-iter here:

https://github.com/DeterminateSystems/flake-iter/blob/a193bafe3a6b294cf2f5e1f38415784f9b6e631f/src/cmd/build.rs#L89

But I have no clue why or where that would be truncated to the above string.

Details

Image

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