Skip to content

Consider adding some further debug information to gh run view --log #7643

Description

@williammartin

Describe the feature or problem you’d like to solve

Given the myriad issues relating to missing logs:

It might be interesting to provide some mechanism to indicate when files in the .zip were not included in the log output. This would help CLI users and maintainers to uncover when there are missing logs, which logs are missing and why.

Proposed solution

I don't have a good idea of how to do this from a UX point of view, perhaps leaning on GH_DEBUG or having another flag would help.

The consequence of whatever setting would be that if files in the .zip were not attached to the runLog we would provide some indication why.

My assumption here is that we know which files in the .zip should be included. I believe we do but I haven't seen all possible directory structures 🤷

Activity

  1. added
    coreThis issue is not accepting PRs from outside contributors
    and removed on Jun 29, 2023
  2. babakks commented on Apr 11, 2025

    @babakks
    Member

    As @williammartin has already stated in this comment, there is also another potential case where a ZIP file contain nothing for the job run log (i.e., neither something like 0_jobname.txt nor -9999999999_jobname.txt, both at top-level). In such cases, if no step logs were also there, there'll be nothing to display to the user.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    coreThis issue is not accepting PRs from outside contributorsenhancementa request to improve CLIgh-runrelating to the gh run command

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions