cli: `gh run view`: `--log` returns empty

Describe the bug

The --log parameter (and --log-failed) returns nothing. gh run view --job 4749057122 --log gives and empty response for any job id.

Everything else works fine.

Steps to reproduce the behavior

  1. Type this gh run view --job 4749057122 --log
  2. View the output ``
  3. See error

Expected vs actual behavior

I would expect to see the logs that I can see in the web view.

Logs

> mollerhoj > gh run view --job 4749057122 --log
> mollerhoj > 

About this issue

  • Original URL
  • State: closed
  • Created 2 years ago
  • Reactions: 9
  • Comments: 38 (13 by maintainers)

Commits related to this issue

Most upvoted comments

Investigation

❤️ to @nmasur who I think has busted this thing wide open!

The shared workflow makes use of a composite action. When we look at the name of this job in the JSON output we can see that GitHub has separated the job name in the workflow (test-log) and the name of the action (test) with a / resulting in a name of test-log / test:

{
  "total_count": 1,
  "jobs": [
    {
      "id": 13759084335,
      "run_id": 5081046233,
      "workflow_name": "Test Shared Log",
      "head_branch": "main",
      "run_url": "https://api.github.com/repos/nmasur/test-log/actions/runs/5081046233",
      "run_attempt": 1,
      "node_id": "CR_kwDOJnew8M8AAAADNBr3Lw",
      "head_sha": "8b2c0b8e2cb383ea52aa9700d56b47cda8507017",
      "url": "https://api.github.com/repos/nmasur/test-log/actions/jobs/13759084335",
      "html_url": "https://github.com/nmasur/test-log/actions/runs/5081046233/jobs/9128844588",
      "status": "completed",
      "conclusion": "success",
      "created_at": "2023-05-25T14:18:09Z",
      "started_at": "2023-05-25T14:18:18Z",
      "completed_at": "2023-05-25T14:18:19Z",
      "name": "test-log / test",
      "steps": [
        {
          "name": "Set up job",
          "status": "completed",
          "conclusion": "success",
          "number": 1,
          "started_at": "2023-05-25T14:18:18.000Z",
          "completed_at": "2023-05-25T14:18:18.000Z"
        },
        {
          "name": "Test",
          "status": "completed",
          "conclusion": "success",
          "number": 2,
          "started_at": "2023-05-25T14:18:18.000Z",
          "completed_at": "2023-05-25T14:18:18.000Z"
        },
        {
          "name": "Complete job",
          "status": "completed",
          "conclusion": "success",
          "number": 3,
          "started_at": "2023-05-25T14:18:18.000Z",
          "completed_at": "2023-05-25T14:18:18.000Z"
        }
      ],
      "check_run_url": "https://api.github.com/repos/nmasur/test-log/check-runs/13759084335",
      "labels": [
        "ubuntu-latest"
      ],
      "runner_id": 4,
      "runner_name": "GitHub Actions 4",
      "runner_group_id": 2,
      "runner_group_name": "GitHub Actions"
    }
  ]
}

When the CLI collects these job names, it inserts them into a regex to match against the contents of the downloaded zip file that contains the logs. However, when GitHub packages up this zip file, it removes the slash from the directory name presumably because that would indicate a path separator.

See this screen shot showing the difference between the Test Log and the Test Shared Log and note that the slash has been removed on the right:

image

It would seem that the CLI needs to apply whatever path transformations occur on the server, and ideally be a bit less generous in what we accept because presumably if logs are requested and we don’t match anything in the zip file, something is wrong and we should provide more useful debug information.

Request for Help

If you’ve experienced this issue, it would be a great help if you could check the names of your jobs in the API output to see whether they also contain slashes (or other characters) and compare them to the names of directories in the downloaded artifacts.

URL to get the job names:

https://api.github.com/repos/<ORG>/<REPO>/actions/runs/<RUN_ID>/jobs

URL to get logs (you will likely need a token with admin rights for this):

https://api.github.com/repos/<ORG>/<REPO>/actions/runs/<RUN_ID>/logs

Alternatively, after running gh run view --log <RUN_ID> you can find the zip file in the CLI cache under at $TMPDIR/gh-cli-cache as in this terminal snippet:

➜  gh-cli-cache ls -l "$TMPDIR/gh-cli-cache"
total 56
-rw-r--r--@ 1 williammartin  staff  22209 May 30 18:19 run-log-5069618997-1685457266.zip
-rw-r--r--@ 1 williammartin  staff   2954 May 30 18:18 run-log-5081046233-1685024286.zip

Oh ok - yeah, doing some more testing I can’t seem to get this command to work for any job id’s I pass it - even when they are under 10kb. To double check, I downloaded the logs from several runs. Checked which Job was under 10kb (just to rule that out - found one that was 2kb). Then ran the following:

  1. gh run list -b stage - copy the ID of the run I just downloaded
  2. gh run view [RUN_ID] - copy the ID of the job that was 2kb
  3. gh run view --log --job=[JOB_ID] - blank output

Results gh run view --log --job=[JOB_ID] - blank output gh run view --job=[JOB_ID] - works as expected DEBUG=1 gh run view --log --job=[JOB_ID] - returns status 200 along with the json that shows the step details in the job but not the raw job logs

It looks like this command just doesn’t work at all

Actually, I went ahead and made an example here:

This one works fine (no sharing).

This one shows no logs (shared workflow).

Logs
❯ gh run view --log 
? Select a workflow run ✓ create tests for shared and non-shared logs, Test Log (main) 28s ago
test-log        Set up job      2023-05-25T14:18:14.4462591Z Current runner version: '2.304.0'
test-log        Set up job      2023-05-25T14:18:14.4500657Z ##[group]Operating System
test-log        Set up job      2023-05-25T14:18:14.4501283Z Ubuntu
test-log        Set up job      2023-05-25T14:18:14.4501630Z 22.04.2
test-log        Set up job      2023-05-25T14:18:14.4502039Z LTS
test-log        Set up job      2023-05-25T14:18:14.4502347Z ##[endgroup]
test-log        Set up job      2023-05-25T14:18:14.4502736Z ##[group]Runner Image
test-log        Set up job      2023-05-25T14:18:14.4503133Z Image: ubuntu-22.04
test-log        Set up job      2023-05-25T14:18:14.4503678Z Version: 20230507.1
test-log        Set up job      2023-05-25T14:18:14.4504588Z Included Software: https://github.com/actions/runner-images/blob/ubuntu22/20230507.1/images/linux/Ubuntu2204-Readme.md
test-log        Set up job      2023-05-25T14:18:14.4505331Z Image Release: https://github.com/actions/runner-images/releases/tag/ubuntu22%2F20230507.1
test-log        Set up job      2023-05-25T14:18:14.4505840Z ##[endgroup]
test-log        Set up job      2023-05-25T14:18:14.4506195Z ##[group]Runner Image Provisioner
test-log        Set up job      2023-05-25T14:18:14.4506597Z 2.0.171.1
test-log        Set up job      2023-05-25T14:18:14.4506980Z ##[endgroup]
test-log        Set up job      2023-05-25T14:18:14.4507746Z ##[group]GITHUB_TOKEN Permissions
test-log        Set up job      2023-05-25T14:18:14.4508799Z Contents: read
test-log        Set up job      2023-05-25T14:18:14.4509216Z Metadata: read
test-log        Set up job      2023-05-25T14:18:14.4509669Z Packages: read
test-log        Set up job      2023-05-25T14:18:14.4510375Z ##[endgroup]
test-log        Set up job      2023-05-25T14:18:14.4516305Z Secret source: Actions
test-log        Set up job      2023-05-25T14:18:14.4517049Z Prepare workflow directory
test-log        Set up job      2023-05-25T14:18:14.5465974Z Prepare all required actions
test-log        Set up job      2023-05-25T14:18:14.5820028Z Complete job name: test-log
test-log        Say Hello       2023-05-25T14:18:14.7322506Z ##[group]Run echo "Hello, World!"
test-log        Say Hello       2023-05-25T14:18:14.7323065Z echo "Hello, World!"
test-log        Say Hello       2023-05-25T14:18:14.8016860Z shell: /usr/bin/bash -e {0}
test-log        Say Hello       2023-05-25T14:18:14.8017499Z ##[endgroup]
test-log        Say Hello       2023-05-25T14:18:14.8736684Z Hello, World!
test-log        Complete job    2023-05-25T14:18:14.9124193Z Cleaning up orphan processes
❯ gh run view --log
? Select a workflow run ✓ create tests for shared and non-shared logs, Test Shared Log (main) 35s ago
❯ 

Hello, I’m experiencing the same issue. Running the following:

gh run view --log --job=5873545885

Results in no output. This job viewed in the web UI works just fine.

Seems like jobs’ logs are not printed when they are part of a matrix and one of the parameters contains a colon (:).

Here’s an example with four jobs, two of which have a : in their matrix parameter, and two which don’t:

on:
  push:
jobs:
  test:
    name: Test matrix colon text
    runs-on: ubuntu-22.04
    strategy:
      matrix:
        include:
        - text: "job param contains a : colon"
        - text: "job param doesn't contain a colon"
        - text: "another job with a : colon"
        - text: "another job without a colon"
    steps:
      - run: |
          echo "Text: ${{ matrix.text }}"
gh run -R ryan-williams/libmamba-install-test view --log 5371942339 only shows logs from the two jobs without a : in their matrix param
Test matrix colon text (job param doesn't contain a colon)	Set up job	2023-06-25T21:46:29.9618801Z Current runner version: '2.305.0'
Test matrix colon text (job param doesn't contain a colon)	Set up job	2023-06-25T21:46:29.9646937Z ##[group]Operating System
Test matrix colon text (job param doesn't contain a colon)	Set up job	2023-06-25T21:46:29.9647619Z Ubuntu
Test matrix colon text (job param doesn't contain a colon)	Set up job	2023-06-25T21:46:29.9647878Z 22.04.2
Test matrix colon text (job param doesn't contain a colon)	Set up job	2023-06-25T21:46:29.9648171Z LTS
Test matrix colon text (job param doesn't contain a colon)	Set up job	2023-06-25T21:46:29.9648478Z ##[endgroup]
Test matrix colon text (job param doesn't contain a colon)	Set up job	2023-06-25T21:46:29.9648756Z ##[group]Runner Image
Test matrix colon text (job param doesn't contain a colon)	Set up job	2023-06-25T21:46:29.9649159Z Image: ubuntu-22.04
Test matrix colon text (job param doesn't contain a colon)	Set up job	2023-06-25T21:46:29.9649493Z Version: 20230619.1.0
Test matrix colon text (job param doesn't contain a colon)	Set up job	2023-06-25T21:46:29.9649970Z Included Software: https://github.com/actions/runner-images/blob/ubuntu22/20230619.1.0/images/linux/Ubuntu2204-Readme.md
Test matrix colon text (job param doesn't contain a colon)	Set up job	2023-06-25T21:46:29.9650619Z Image Release: https://github.com/actions/runner-images/releases/tag/ubuntu22%2F20230619.1.0
Test matrix colon text (job param doesn't contain a colon)	Set up job	2023-06-25T21:46:29.9651122Z ##[endgroup]
Test matrix colon text (job param doesn't contain a colon)	Set up job	2023-06-25T21:46:29.9651459Z ##[group]Runner Image Provisioner
Test matrix colon text (job param doesn't contain a colon)	Set up job	2023-06-25T21:46:29.9651804Z 2.0.238.1
Test matrix colon text (job param doesn't contain a colon)	Set up job	2023-06-25T21:46:29.9652102Z ##[endgroup]
Test matrix colon text (job param doesn't contain a colon)	Set up job	2023-06-25T21:46:29.9652744Z ##[group]GITHUB_TOKEN Permissions
Test matrix colon text (job param doesn't contain a colon)	Set up job	2023-06-25T21:46:29.9653306Z Contents: read
Test matrix colon text (job param doesn't contain a colon)	Set up job	2023-06-25T21:46:29.9653638Z Metadata: read
Test matrix colon text (job param doesn't contain a colon)	Set up job	2023-06-25T21:46:29.9654274Z Packages: read
Test matrix colon text (job param doesn't contain a colon)	Set up job	2023-06-25T21:46:29.9654600Z ##[endgroup]
Test matrix colon text (job param doesn't contain a colon)	Set up job	2023-06-25T21:46:29.9658143Z Secret source: Actions
Test matrix colon text (job param doesn't contain a colon)	Set up job	2023-06-25T21:46:29.9658597Z Prepare workflow directory
Test matrix colon text (job param doesn't contain a colon)	Set up job	2023-06-25T21:46:30.0388371Z Prepare all required actions
Test matrix colon text (job param doesn't contain a colon)	Set up job	2023-06-25T21:46:30.0966735Z Complete job name: Test matrix colon text (job param doesn't contain a colon)
Test matrix colon text (job param doesn't contain a colon)	Run echo "Text: job param doesn't contain a colon"	2023-06-25T21:46:30.1908645Z ##[group]Run echo "Text: job param doesn't contain a colon"
Test matrix colon text (job param doesn't contain a colon)	Run echo "Text: job param doesn't contain a colon"	2023-06-25T21:46:30.1909230Z echo "Text: job param doesn't contain a colon"
Test matrix colon text (job param doesn't contain a colon)	Run echo "Text: job param doesn't contain a colon"	2023-06-25T21:46:30.2462140Z shell: /usr/bin/bash -e {0}
Test matrix colon text (job param doesn't contain a colon)	Run echo "Text: job param doesn't contain a colon"	2023-06-25T21:46:30.2462768Z ##[endgroup]
Test matrix colon text (job param doesn't contain a colon)	Run echo "Text: job param doesn't contain a colon"	2023-06-25T21:46:30.3016606Z Text: job param doesn't contain a colon
Test matrix colon text (job param doesn't contain a colon)	Complete job	2023-06-25T21:46:30.3289759Z Cleaning up orphan processes
Test matrix colon text (another job without a colon)	Set up job	2023-06-25T21:46:30.8461008Z Current runner version: '2.305.0'
Test matrix colon text (another job without a colon)	Set up job	2023-06-25T21:46:30.8493590Z ##[group]Operating System
Test matrix colon text (another job without a colon)	Set up job	2023-06-25T21:46:30.8494258Z Ubuntu
Test matrix colon text (another job without a colon)	Set up job	2023-06-25T21:46:30.8494703Z 22.04.2
Test matrix colon text (another job without a colon)	Set up job	2023-06-25T21:46:30.8494999Z LTS
Test matrix colon text (another job without a colon)	Set up job	2023-06-25T21:46:30.8495354Z ##[endgroup]
Test matrix colon text (another job without a colon)	Set up job	2023-06-25T21:46:30.8495741Z ##[group]Runner Image
Test matrix colon text (another job without a colon)	Set up job	2023-06-25T21:46:30.8496105Z Image: ubuntu-22.04
Test matrix colon text (another job without a colon)	Set up job	2023-06-25T21:46:30.8496531Z Version: 20230619.1.0
Test matrix colon text (another job without a colon)	Set up job	2023-06-25T21:46:30.8497177Z Included Software: https://github.com/actions/runner-images/blob/ubuntu22/20230619.1.0/images/linux/Ubuntu2204-Readme.md
Test matrix colon text (another job without a colon)	Set up job	2023-06-25T21:46:30.8497925Z Image Release: https://github.com/actions/runner-images/releases/tag/ubuntu22%2F20230619.1.0
Test matrix colon text (another job without a colon)	Set up job	2023-06-25T21:46:30.8498473Z ##[endgroup]
Test matrix colon text (another job without a colon)	Set up job	2023-06-25T21:46:30.8498891Z ##[group]Runner Image Provisioner
Test matrix colon text (another job without a colon)	Set up job	2023-06-25T21:46:30.8499340Z 2.0.238.1
Test matrix colon text (another job without a colon)	Set up job	2023-06-25T21:46:30.8499634Z ##[endgroup]
Test matrix colon text (another job without a colon)	Set up job	2023-06-25T21:46:30.8500470Z ##[group]GITHUB_TOKEN Permissions
Test matrix colon text (another job without a colon)	Set up job	2023-06-25T21:46:30.8501145Z Contents: read
Test matrix colon text (another job without a colon)	Set up job	2023-06-25T21:46:30.8501536Z Metadata: read
Test matrix colon text (another job without a colon)	Set up job	2023-06-25T21:46:30.8502230Z Packages: read
Test matrix colon text (another job without a colon)	Set up job	2023-06-25T21:46:30.8502597Z ##[endgroup]
Test matrix colon text (another job without a colon)	Set up job	2023-06-25T21:46:30.8506999Z Secret source: Actions
Test matrix colon text (another job without a colon)	Set up job	2023-06-25T21:46:30.8507658Z Prepare workflow directory
Test matrix colon text (another job without a colon)	Set up job	2023-06-25T21:46:30.9377612Z Prepare all required actions
Test matrix colon text (another job without a colon)	Set up job	2023-06-25T21:46:31.0067330Z Complete job name: Test matrix colon text (another job without a colon)
Test matrix colon text (another job without a colon)	Run echo "Text: another job without a colon"2023-06-25T21:46:31.1205278Z ##[group]Run echo "Text: another job without a colon"
Test matrix colon text (another job without a colon)	Run echo "Text: another job without a colon"2023-06-25T21:46:31.1206030Z echo "Text: another job without a colon"
Test matrix colon text (another job without a colon)	Run echo "Text: another job without a colon"2023-06-25T21:46:31.2065044Z shell: /usr/bin/bash -e {0}
Test matrix colon text (another job without a colon)	Run echo "Text: another job without a colon"2023-06-25T21:46:31.2065638Z ##[endgroup]
Test matrix colon text (another job without a colon)	Run echo "Text: another job without a colon"2023-06-25T21:46:31.2727444Z Text: another job without a colon
Test matrix colon text (another job without a colon)	Complete job	2023-06-25T21:46:31.3105227Z Cleaning up orphan processes

I ran into this because I had other runs where all the jobs had :s in their matrix params. gh run view --log … was exiting with code 0, as if it had succeeded, but printing nothing:

Example:

gh run -R ryan-williams/libmamba-install-test view --log 5371845909  # exits 0, prints nothing

Thanks, @williammartin, I can confirm it’s working for me (using composite actions)!

I pinned the commit and compiled using a nixpkgs overlay:

Overlay
_final: prev: {
  gh = prev.gh.overrideAttrs (old: {
    src = prev.fetchFromGitHub {
      owner = "cli";
      repo = "cli";
      rev = "420f63c3ec660d27182b713bd18459e7376f0a7a";
      sha256 = "sha256-ik4YCQBTr9637dofrh/AcgoOBa8Bx9F+brUMpC8u5U8=";
    };
  });
}

Hey folks, I’ve just merged #7526 which should address this issue for composite actions or user provided names that include /. It does not address other known issues as outlined in the comment above.

Until this makes it into a release, if you’d like to try this out to see if solves your issue you can follow the instructions to build from source. I’d love to know if:

  • This solves your issue and you are using composite actions (this is expected)
  • This solves your issue and you aren’t using composite actions (this might be expected if you had / in a name)
  • This doesn’t solve your issue and you are using composite actions (this might indicate a failure to fix on our end, or that you have another issue from the previous comment)
  • This doesn’t solve your issue and you aren’t using composite actions (this might expected for other reasons mentioned in the previous comment)

Cheers.

Nice work @pcolby, that’s super neat of you.

Investigation

I just wanted to give an update based on the investigations that I did today. I had a look at the process that produces the downloadable .zip file and I believe the following statements are true. Each of these statements applies to both jobs (folders) and steps (files).

  • There are a variety of characters that are stripped from paths aside from /
  • There is a mechanism for truncating paths because zip files have a path length limit
  • Due to the truncation and because duplicate names are allowed for jobs and steps, sometimes a number is added to the path to deduplicate

In all of these cases, the CLIs naive approach to match job names to file paths inside the zip will fail to work.

I feel relatively confident in this assessment with the caveat that:

  • I’d never seen this code before today so I may not have fully understood it
  • There may be additional code that I didn’t discover today.

What you can do

I suspect that since you’re here in this “--log returns empty” issue, you probably are experiencing something relating to job names rather than step names (as I think the latter would probably only show missing step logs rather than an entirely blank log) unless perhaps you only have one step in a job.

Nevertheless, on your end you can:

  • Check that you don’t have any disallowed characters in the names of jobs or steps in your workflow files
  • Check that the names of the jobs or steps in your workflow files are short (I think 90 chars from a cursory reading but I haven’t validated that)
  • Check that you haven’t duplicated job names in a workflow

What you can’t do

Since the server seems to concatenate job names and composite action names with a /, it seems you’re out of luck without a CLI fix, which leads me to…

What we can do

There’s lots of things we might want to do here with regards to the disallowed characters, the truncation and the duplication. I’m hesitant to repeat all the server side logic in the client because that’s fraught with risks being out of sync, so perhaps in the long run we can find another mechanism, such as a manifest. I’ll need to think about this.

In the meantime however, the very obvious and unsolvable (by you) issue is the server side concatenated / for composite actions. I’m inclined to push a fix solely for that and see how far that gets everyone here. I will need to run that by the team though as I only recently joined this project so please don’t take that as a commitment.

✌️ Cheers everyone.

Thanks @williammartin!

If you’ve experienced this issue, it would be a great help if you could check the names of your jobs in the API output to see whether they also contain slashes (or other characters) and compare them to the names of directories in the downloaded artifacts.

I threw together a near-trivial Bash script to make that a bit easier for people (including myself):

#!/usr/bin/env bash
set -o errexit -o noclobber -o nounset -o pipefail
: "${TEMP_DIR:=$(mktemp --directory --tmpdir 'gh-cli-issue-5011-XXXXXX')}"

SLUG=user/name
RUN_ID=123456789

echo "Listing $SLUG jobs..." >&2
gh api "repos/$SLUG/actions/runs/$RUN_ID/jobs" --jq '.jobs[].name' |
  sort > "$TEMP_DIR/job-names.txt"

echo "Listing $SLUG logs..." >&2
gh api "repos/$SLUG/actions/runs/$RUN_ID/logs" > "$TEMP_DIR/logs.zip"
zipdetails "$TEMP_DIR/logs.zip" |& sed -Ene 's|^ADD.*: ([^/]+)/.*|\1|p' |
  sort | uniq > "$TEMP_DIR/log-dirs.txt"

diff -u "$TEMP_DIR/"{job-names,log-dirs}.txt > "$TEMP_DIR/diff.txt" || true
echo "See: $TEMP_DIR/diff.txt" >&2

You just need to set the SLUG and RUN_ID variables, and run it. It will output something like:

Listing user/repo jobs...
Listing user/repo logs...
See: /tmp/gh-cli-issue-5011-JwADOT/diff.txt

The diff at the end shows what’s different between the job names, vs the log directories. In my case, it was always the / being striped out.

Cheers.

@ewjoachim A reproduction case in an open-source repo would be great (@orensbruli shared one but we didn’t see it in time and now the run is outdated, sorry!).

Or, if in a private repo, it would be helpful if someone could run the gh run view --log command with GH_DEBUG=1, take a note of the zipball API endpoint, then hit that endpoint and save it to a file with gh api URL > myfile.zip. If the data is not secret, you could share the file with us, or at minimum you can tell us the folder structure of the file.

What’s preventing us from fixing this bug is that we haven’t been able to confirm it in any of our repositories. My hunch is that either the zipball is generated corrupt on the server, or that the gh logic to extract the zipball is mismatching step names somewhere. https://github.com/cli/cli/blob/71ec2c4e2305ba6ac17962f0805aee5fe8415584/pkg/cmd/run/view/view.go#L482-L510 https://github.com/cli/cli/blob/71ec2c4e2305ba6ac17962f0805aee5fe8415584/pkg/cmd/run/view/view.go#L523-L530

On the latest stable version, it seems to still not work. Trying a workaround with gh api and it also doesn’t work so I guess it fails in the underlying layer

$ gh --version
gh version 2.14.4 (2022-08-10)
https://github.com/cli/cli/releases/tag/v2.14.4
$ gh run view --log --job=7956708541
$ gh api -i '/repos/{owner}/{repo}/actions/jobs/7956708541/logs'
HTTP/2.0 200 OK
Activityid: 029b15e1-4956-495d-b01f-8d5ee323db1b
Cache-Control: no-store,no-cache
Content-Type: text/plain; charset=utf-8
Date: Mon, 22 Aug 2022 20:47:45 GMT
Pragma: no-cache
Strict-Transport-Security: max-age=2592000
Vary: Accept-Encoding
X-Cache: CONFIG_NOCACHE
X-Msedge-Ref: Ref A: F3D19A3DEFF441DAB1AA56D8CECB5B3D Ref B: PAR02EDGE0721 Ref C: 2022-08-22T20:47:45Z
X-Tfs-Processid: ac37d614-322a-4d26-a132-531a5747d665
X-Tfs-Session: 029b15e1-4956-495d-b01f-8d5ee323db1b
X-Vss-E2eid: 029b15e1-4956-495d-b01f-8d5ee323db1b
X-Vss-Senderdeploymentid: ac98198d-4d34-0364-420d-bafa6e51dce2
With DEBUG=api
DEBUG=api gh run view --log --job=7956708541
[git remote -v]
[git -C . config --get-regexp ^remote\..*\.gh-resolved$]
⣾* Request at 2022-08-22 22:50:23.357205 +0200 CEST m=+0.071362523
* Request to https://api.github.com/repos/ewjoachim/python-coverage-comment-action/actions/jobs/7956708541
> GET /repos/ewjoachim/python-coverage-comment-action/actions/jobs/7956708541 HTTP/1.1
> Host: api.github.com
> Accept: application/vnd.github.merge-info-preview+json, application/vnd.github.nebula-preview
> Authorization: token ████████████████████
> Content-Type: application/json; charset=utf-8
> Time-Zone: Europe/Paris
> User-Agent: GitHub CLI 2.14.4

⣻< HTTP/2.0 200 OK
< Access-Control-Allow-Origin: *
< Access-Control-Expose-Headers: ETag, Link, Location, Retry-After, X-GitHub-OTP, X-RateLimit-Limit, X-RateLimit-Remaining, X-RateLimit-Used, X-RateLimit-Resource, X-RateLimit-Reset, X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Poll-Interval, X-GitHub-Media-Type, X-GitHub-SSO, X-GitHub-Request-Id, Deprecation, Sunset
< Cache-Control: private, max-age=60, s-maxage=60
< Content-Security-Policy: default-src 'none'
< Content-Type: application/json; charset=utf-8
< Date: Mon, 22 Aug 2022 20:50:23 GMT
< Etag: W/"0a2494ade7cea2e6668fca2531c148148a6b34c83a3caae99368c6621e21345c"
< Referrer-Policy: origin-when-cross-origin, strict-origin-when-cross-origin
< Server: GitHub.com
< Strict-Transport-Security: max-age=31536000; includeSubdomains; preload
< Vary: Accept, Authorization, Cookie, X-GitHub-OTP
< Vary: Accept-Encoding, Accept, X-Requested-With
< X-Accepted-Oauth-Scopes:
< X-Content-Type-Options: nosniff
< X-Frame-Options: deny
< X-Github-Api-Version-Selected: 2022-08-09
< X-Github-Media-Type: github.merge-info-preview; param=nebula-preview; format=json
< X-Github-Request-Id: D759:0285:AD4F1:C753B:6303EC0F
< X-Oauth-Client-Id: censored just in case
< X-Oauth-Scopes: gist, read:org, repo, workflow
< X-Ratelimit-Limit: 5000
< X-Ratelimit-Remaining: 4994
< X-Ratelimit-Reset: 1661204855
< X-Ratelimit-Resource: core
< X-Ratelimit-Used: 6
< X-Xss-Protection: 0

{
  "id": 7956708541,
  "run_id": 2905555341,
  "run_url": "https://api.github.com/repos/ewjoachim/python-coverage-comment-action/actions/runs/2905555341",
  "run_attempt": 1,
  "node_id": "CR_kwDOGnC9ns8AAAAB2kG8vQ",
  "head_sha": "44f6e837a359f435e79b8d3a52bd806df9755d95",
  "url": "https://api.github.com/repos/ewjoachim/python-coverage-comment-action/actions/jobs/7956708541",
  "html_url": "https://github.com/ewjoachim/python-coverage-comment-action/runs/7956708541?check_suite_focus=true",
  "status": "completed",
  "conclusion": "skipped",
  "started_at": "2022-08-22T16:35:48Z",
  "completed_at": "2022-08-22T16:35:48Z",
  "name": "Run tests & display coverage",
  "steps": [],
  "check_run_url": "https://api.github.com/repos/ewjoachim/python-coverage-comment-action/check-runs/7956708541",
  "labels": [],
  "runner_id": null,
  "runner_name": null,
  "runner_group_id": null,
  "runner_group_name": null
}

* Request took 330.500685ms
* Request at 2022-08-22 22:50:23.687953 +0200 CEST m=+0.402107420
* Request to https://api.github.com/repos/ewjoachim/python-coverage-comment-action/actions/runs/2905555341
> GET /repos/ewjoachim/python-coverage-comment-action/actions/runs/2905555341 HTTP/1.1
> Host: api.github.com
> Accept: application/vnd.github.merge-info-preview+json, application/vnd.github.nebula-preview
> Authorization: token ████████████████████
> Content-Type: application/json; charset=utf-8
> Time-Zone: Europe/Paris
> User-Agent: GitHub CLI 2.14.4

⣻< HTTP/2.0 200 OK
< Access-Control-Allow-Origin: *
< Access-Control-Expose-Headers: ETag, Link, Location, Retry-After, X-GitHub-OTP, X-RateLimit-Limit, X-RateLimit-Remaining, X-RateLimit-Used, X-RateLimit-Resource, X-RateLimit-Reset, X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Poll-Interval, X-GitHub-Media-Type, X-GitHub-SSO, X-GitHub-Request-Id, Deprecation, Sunset
< Cache-Control: private, max-age=60, s-maxage=60
< Content-Security-Policy: default-src 'none'
< Content-Type: application/json; charset=utf-8
< Date: Mon, 22 Aug 2022 20:50:23 GMT
< Etag: W/"02f9529adb330e1bad1a2068fb6fb05443ae70dc9326f3dd509b7ea2164071fc"
< Referrer-Policy: origin-when-cross-origin, strict-origin-when-cross-origin
< Server: GitHub.com
< Strict-Transport-Security: max-age=31536000; includeSubdomains; preload
< Vary: Accept, Authorization, Cookie, X-GitHub-OTP
< Vary: Accept-Encoding, Accept, X-Requested-With
< X-Accepted-Oauth-Scopes:
< X-Content-Type-Options: nosniff
< X-Frame-Options: deny
< X-Github-Api-Version-Selected: 2022-08-09
< X-Github-Media-Type: github.merge-info-preview; param=nebula-preview; format=json
< X-Github-Request-Id: D759:0285:AD4F8:C7545:6303EC0F
< X-Oauth-Client-Id: censored just in case
< X-Oauth-Scopes: gist, read:org, repo, workflow
< X-Ratelimit-Limit: 5000
< X-Ratelimit-Remaining: 4993
< X-Ratelimit-Reset: 1661204855
< X-Ratelimit-Resource: core
< X-Ratelimit-Used: 7
< X-Xss-Protection: 0

{
  "id": 2905555341,
  "name": "Post coverage comment",
  "node_id": "WFR_kwLOGnC9ns6tL0GN",
  "head_branch": "v3",
  "head_sha": "44f6e837a359f435e79b8d3a52bd806df9755d95",
  "path": ".github/workflows/coverage-comment.yml",
  "run_number": 114,
  "event": "workflow_run",
  "status": "completed",
  "conclusion": "skipped",
  "workflow_id": 18954096,
  "check_suite_id": 7924994020,
  "check_suite_node_id": "CS_kwDOGnC9ns8AAAAB2F3P5A",
  "url": "https://api.github.com/repos/ewjoachim/python-coverage-comment-action/actions/runs/2905555341",
  "html_url": "https://github.com/ewjoachim/python-coverage-comment-action/actions/runs/2905555341",
  "pull_requests": [],
  "created_at": "2022-08-22T16:35:47Z",
  "updated_at": "2022-08-22T16:35:49Z",
  "actor": {
    "login": "ewjoachim",
    "id": 1457576,
    "node_id": "MDQ6VXNlcjE0NTc1NzY=",
    "avatar_url": "https://avatars.githubusercontent.com/u/1457576?v=4",
    "gravatar_id": "",
    "url": "https://api.github.com/users/ewjoachim",
    "html_url": "https://github.com/ewjoachim",
    "followers_url": "https://api.github.com/users/ewjoachim/followers",
    "following_url": "https://api.github.com/users/ewjoachim/following{/other_user}",
    "gists_url": "https://api.github.com/users/ewjoachim/gists{/gist_id}",
    "starred_url": "https://api.github.com/users/ewjoachim/starred{/owner}{/repo}",
    "subscriptions_url": "https://api.github.com/users/ewjoachim/subscriptions",
    "organizations_url": "https://api.github.com/users/ewjoachim/orgs",
    "repos_url": "https://api.github.com/users/ewjoachim/repos",
    "events_url": "https://api.github.com/users/ewjoachim/events{/privacy}",
    "received_events_url": "https://api.github.com/users/ewjoachim/received_events",
    "type": "User",
    "site_admin": false
  },
  "run_attempt": 1,
  "referenced_workflows": [],
  "run_started_at": "2022-08-22T16:35:47Z",
  "triggering_actor": {
    "login": "ewjoachim",
    "id": 1457576,
    "node_id": "MDQ6VXNlcjE0NTc1NzY=",
    "avatar_url": "https://avatars.githubusercontent.com/u/1457576?v=4",
    "gravatar_id": "",
    "url": "https://api.github.com/users/ewjoachim",
    "html_url": "https://github.com/ewjoachim",
    "followers_url": "https://api.github.com/users/ewjoachim/followers",
    "following_url": "https://api.github.com/users/ewjoachim/following{/other_user}",
    "gists_url": "https://api.github.com/users/ewjoachim/gists{/gist_id}",
    "starred_url": "https://api.github.com/users/ewjoachim/starred{/owner}{/repo}",
    "subscriptions_url": "https://api.github.com/users/ewjoachim/subscriptions",
    "organizations_url": "https://api.github.com/users/ewjoachim/orgs",
    "repos_url": "https://api.github.com/users/ewjoachim/repos",
    "events_url": "https://api.github.com/users/ewjoachim/events{/privacy}",
    "received_events_url": "https://api.github.com/users/ewjoachim/received_events",
    "type": "User",
    "site_admin": false
  },
  "jobs_url": "https://api.github.com/repos/ewjoachim/python-coverage-comment-action/actions/runs/2905555341/jobs",
  "logs_url": "https://api.github.com/repos/ewjoachim/python-coverage-comment-action/actions/runs/2905555341/logs",
  "check_suite_url": "https://api.github.com/repos/ewjoachim/python-coverage-comment-action/check-suites/7924994020",
  "artifacts_url": "https://api.github.com/repos/ewjoachim/python-coverage-comment-action/actions/runs/2905555341/artifacts",
  "cancel_url": "https://api.github.com/repos/ewjoachim/python-coverage-comment-action/actions/runs/2905555341/cancel",
  "rerun_url": "https://api.github.com/repos/ewjoachim/python-coverage-comment-action/actions/runs/2905555341/rerun",
  "previous_attempt_url": null,
  "workflow_url": "https://api.github.com/repos/ewjoachim/python-coverage-comment-action/actions/workflows/18954096",
  "head_commit": {
    "id": "44f6e837a359f435e79b8d3a52bd806df9755d95",
    "tree_id": "cfe23f5b22aed3bc7c04d8f6c28a8f9acce46185",
    "message": "Speed up build",
    "timestamp": "2022-08-22T16:34:43Z",
    "author": {
      "name": "Joachim Jablon",
      "email": "ewjoachim@gmail.com"
    },
    "committer": {
      "name": "Joachim Jablon",
      "email": "ewjoachim@gmail.com"
    }
  },
  "repository": {
    "id": 443596190,
    "node_id": "R_kgDOGnC9ng",
    "name": "python-coverage-comment-action",
    "full_name": "ewjoachim/python-coverage-comment-action",
    "private": false,
    "owner": {
      "login": "ewjoachim",
      "id": 1457576,
      "node_id": "MDQ6VXNlcjE0NTc1NzY=",
      "avatar_url": "https://avatars.githubusercontent.com/u/1457576?v=4",
      "gravatar_id": "",
      "url": "https://api.github.com/users/ewjoachim",
      "html_url": "https://github.com/ewjoachim",
      "followers_url": "https://api.github.com/users/ewjoachim/followers",
      "following_url": "https://api.github.com/users/ewjoachim/following{/other_user}",
      "gists_url": "https://api.github.com/users/ewjoachim/gists{/gist_id}",
      "starred_url": "https://api.github.com/users/ewjoachim/starred{/owner}{/repo}",
      "subscriptions_url": "https://api.github.com/users/ewjoachim/subscriptions",
      "organizations_url": "https://api.github.com/users/ewjoachim/orgs",
      "repos_url": "https://api.github.com/users/ewjoachim/repos",
      "events_url": "https://api.github.com/users/ewjoachim/events{/privacy}",
      "received_events_url": "https://api.github.com/users/ewjoachim/received_events",
      "type": "User",
      "site_admin": false
    },
    "html_url": "https://github.com/ewjoachim/python-coverage-comment-action",
    "description": "Publish diff coverage report as PR comment, and create a coverage badge to display on the Readme for Python projects",
    "fork": false,
    "url": "https://api.github.com/repos/ewjoachim/python-coverage-comment-action",
    "forks_url": "https://api.github.com/repos/ewjoachim/python-coverage-comment-action/forks",
    "keys_url": "https://api.github.com/repos/ewjoachim/python-coverage-comment-action/keys{/key_id}",
    "collaborators_url": "https://api.github.com/repos/ewjoachim/python-coverage-comment-action/collaborators{/collaborator}",
    "teams_url": "https://api.github.com/repos/ewjoachim/python-coverage-comment-action/teams",
    "hooks_url": "https://api.github.com/repos/ewjoachim/python-coverage-comment-action/hooks",
    "issue_events_url": "https://api.github.com/repos/ewjoachim/python-coverage-comment-action/issues/events{/number}",
    "events_url": "https://api.github.com/repos/ewjoachim/python-coverage-comment-action/events",
    "assignees_url": "https://api.github.com/repos/ewjoachim/python-coverage-comment-action/assignees{/user}",
    "branches_url": "https://api.github.com/repos/ewjoachim/python-coverage-comment-action/branches{/branch}",
    "tags_url": "https://api.github.com/repos/ewjoachim/python-coverage-comment-action/tags",
    "blobs_url": "https://api.github.com/repos/ewjoachim/python-coverage-comment-action/git/blobs{/sha}",
    "git_tags_url": "https://api.github.com/repos/ewjoachim/python-coverage-comment-action/git/tags{/sha}",
    "git_refs_url": "https://api.github.com/repos/ewjoachim/python-coverage-comment-action/git/refs{/sha}",
    "trees_url": "https://api.github.com/repos/ewjoachim/python-coverage-comment-action/git/trees{/sha}",
    "statuses_url": "https://api.github.com/repos/ewjoachim/python-coverage-comment-action/statuses/{sha}",
    "languages_url": "https://api.github.com/repos/ewjoachim/python-coverage-comment-action/languages",
    "stargazers_url": "https://api.github.com/repos/ewjoachim/python-coverage-comment-action/stargazers",
    "contributors_url": "https://api.github.com/repos/ewjoachim/python-coverage-comment-action/contributors",
    "subscribers_url": "https://api.github.com/repos/ewjoachim/python-coverage-comment-action/subscribers",
    "subscription_url": "https://api.github.com/repos/ewjoachim/python-coverage-comment-action/subscription",
    "commits_url": "https://api.github.com/repos/ewjoachim/python-coverage-comment-action/commits{/sha}",
    "git_commits_url": "https://api.github.com/repos/ewjoachim/python-coverage-comment-action/git/commits{/sha}",
    "comments_url": "https://api.github.com/repos/ewjoachim/python-coverage-comment-action/comments{/number}",
    "issue_comment_url": "https://api.github.com/repos/ewjoachim/python-coverage-comment-action/issues/comments{/number}",
    "contents_url": "https://api.github.com/repos/ewjoachim/python-coverage-comment-action/contents/{+path}",
    "compare_url": "https://api.github.com/repos/ewjoachim/python-coverage-comment-action/compare/{base}...{head}",
    "merges_url": "https://api.github.com/repos/ewjoachim/python-coverage-comment-action/merges",
    "archive_url": "https://api.github.com/repos/ewjoachim/python-coverage-comment-action/{archive_format}{/ref}",
    "downloads_url": "https://api.github.com/repos/ewjoachim/python-coverage-comment-action/downloads",
    "issues_url": "https://api.github.com/repos/ewjoachim/python-coverage-comment-action/issues{/number}",
    "pulls_url": "https://api.github.com/repos/ewjoachim/python-coverage-comment-action/pulls{/number}",
    "milestones_url": "https://api.github.com/repos/ewjoachim/python-coverage-comment-action/milestones{/number}",
    "notifications_url": "https://api.github.com/repos/ewjoachim/python-coverage-comment-action/notifications{?since,all,participating}",
    "labels_url": "https://api.github.com/repos/ewjoachim/python-coverage-comment-action/labels{/name}",
    "releases_url": "https://api.github.com/repos/ewjoachim/python-coverage-comment-action/releases{/id}",
    "deployments_url": "https://api.github.com/repos/ewjoachim/python-coverage-comment-action/deployments"
  },
  "head_repository": {
    "id": 443596190,
    "node_id": "R_kgDOGnC9ng",
    "name": "python-coverage-comment-action",
    "full_name": "ewjoachim/python-coverage-comment-action",
    "private": false,
    "owner": {
      "login": "ewjoachim",
      "id": 1457576,
      "node_id": "MDQ6VXNlcjE0NTc1NzY=",
      "avatar_url": "https://avatars.githubusercontent.com/u/1457576?v=4",
      "gravatar_id": "",
      "url": "https://api.github.com/users/ewjoachim",
      "html_url": "https://github.com/ewjoachim",
      "followers_url": "https://api.github.com/users/ewjoachim/followers",
      "following_url": "https://api.github.com/users/ewjoachim/following{/other_user}",
      "gists_url": "https://api.github.com/users/ewjoachim/gists{/gist_id}",
      "starred_url": "https://api.github.com/users/ewjoachim/starred{/owner}{/repo}",
      "subscriptions_url": "https://api.github.com/users/ewjoachim/subscriptions",
      "organizations_url": "https://api.github.com/users/ewjoachim/orgs",
      "repos_url": "https://api.github.com/users/ewjoachim/repos",
      "events_url": "https://api.github.com/users/ewjoachim/events{/privacy}",
      "received_events_url": "https://api.github.com/users/ewjoachim/received_events",
      "type": "User",
      "site_admin": false
    },
    "html_url": "https://github.com/ewjoachim/python-coverage-comment-action",
    "description": "Publish diff coverage report as PR comment, and create a coverage badge to display on the Readme for Python projects",
    "fork": false,
    "url": "https://api.github.com/repos/ewjoachim/python-coverage-comment-action",
    "forks_url": "https://api.github.com/repos/ewjoachim/python-coverage-comment-action/forks",
    "keys_url": "https://api.github.com/repos/ewjoachim/python-coverage-comment-action/keys{/key_id}",
    "collaborators_url": "https://api.github.com/repos/ewjoachim/python-coverage-comment-action/collaborators{/collaborator}",
    "teams_url": "https://api.github.com/repos/ewjoachim/python-coverage-comment-action/teams",
    "hooks_url": "https://api.github.com/repos/ewjoachim/python-coverage-comment-action/hooks",
    "issue_events_url": "https://api.github.com/repos/ewjoachim/python-coverage-comment-action/issues/events{/number}",
    "events_url": "https://api.github.com/repos/ewjoachim/python-coverage-comment-action/events",
    "assignees_url": "https://api.github.com/repos/ewjoachim/python-coverage-comment-action/assignees{/user}",
    "branches_url": "https://api.github.com/repos/ewjoachim/python-coverage-comment-action/branches{/branch}",
    "tags_url": "https://api.github.com/repos/ewjoachim/python-coverage-comment-action/tags",
    "blobs_url": "https://api.github.com/repos/ewjoachim/python-coverage-comment-action/git/blobs{/sha}",
    "git_tags_url": "https://api.github.com/repos/ewjoachim/python-coverage-comment-action/git/tags{/sha}",
    "git_refs_url": "https://api.github.com/repos/ewjoachim/python-coverage-comment-action/git/refs{/sha}",
    "trees_url": "https://api.github.com/repos/ewjoachim/python-coverage-comment-action/git/trees{/sha}",
    "statuses_url": "https://api.github.com/repos/ewjoachim/python-coverage-comment-action/statuses/{sha}",
    "languages_url": "https://api.github.com/repos/ewjoachim/python-coverage-comment-action/languages",
    "stargazers_url": "https://api.github.com/repos/ewjoachim/python-coverage-comment-action/stargazers",
    "contributors_url": "https://api.github.com/repos/ewjoachim/python-coverage-comment-action/contributors",
    "subscribers_url": "https://api.github.com/repos/ewjoachim/python-coverage-comment-action/subscribers",
    "subscription_url": "https://api.github.com/repos/ewjoachim/python-coverage-comment-action/subscription",
    "commits_url": "https://api.github.com/repos/ewjoachim/python-coverage-comment-action/commits{/sha}",
    "git_commits_url": "https://api.github.com/repos/ewjoachim/python-coverage-comment-action/git/commits{/sha}",
    "comments_url": "https://api.github.com/repos/ewjoachim/python-coverage-comment-action/comments{/number}",
    "issue_comment_url": "https://api.github.com/repos/ewjoachim/python-coverage-comment-action/issues/comments{/number}",
    "contents_url": "https://api.github.com/repos/ewjoachim/python-coverage-comment-action/contents/{+path}",
    "compare_url": "https://api.github.com/repos/ewjoachim/python-coverage-comment-action/compare/{base}...{head}",
    "merges_url": "https://api.github.com/repos/ewjoachim/python-coverage-comment-action/merges",
    "archive_url": "https://api.github.com/repos/ewjoachim/python-coverage-comment-action/{archive_format}{/ref}",
    "downloads_url": "https://api.github.com/repos/ewjoachim/python-coverage-comment-action/downloads",
    "issues_url": "https://api.github.com/repos/ewjoachim/python-coverage-comment-action/issues{/number}",
    "pulls_url": "https://api.github.com/repos/ewjoachim/python-coverage-comment-action/pulls{/number}",
    "milestones_url": "https://api.github.com/repos/ewjoachim/python-coverage-comment-action/milestones{/number}",
    "notifications_url": "https://api.github.com/repos/ewjoachim/python-coverage-comment-action/notifications{?since,all,participating}",
    "labels_url": "https://api.github.com/repos/ewjoachim/python-coverage-comment-action/labels{/name}",
    "releases_url": "https://api.github.com/repos/ewjoachim/python-coverage-comment-action/releases{/id}",
    "deployments_url": "https://api.github.com/repos/ewjoachim/python-coverage-comment-action/deployments"
  }
}

* Request took 307.011768ms

@mrpatrick The 10kB limit only affects verbose GH_DEBUG logging, not the normal output of gh run view --log. The output of that command is not limited in any way, and will print logs of any size. I do not know why some logs come out empty and I suspect it’s a bug with the internal logic of gh run view, but the bug is most likely unrelated to the 10kB limit.

@mrpatrick The verbose mode will avoid printing HTTP bodies over 10kB to avoid spamming your stderr stream too much and causing you to lose sight of the rest of the log. Rest assured that if the server responded with 10kB of JSON, that means the request was successful, so it’s not likely that it had caused the bug.

Would anyone have a way of reproducing this on an open source repo, or has found something in logs that indicates that might have been the origin of the failure? I’m afraid I didn’t have success tracking this down based on the reports so far.

I’m also having the same issue - however, when I enable debug I see the following at the end of the debug message:

  • body is too long, skipping (contains more than 10000 bytes)
  • Request took 344.40025ms

Maybe this is why it’s empty? I would assume it could handle more than 10,000bytes as build logs in general are quite long. Should at least display this message as an error up front so the user knows

Hello,

I am having the same issue:

$ gh --version
gh version 2.12.1 (2022-06-09)
https://github.com/cli/cli/releases/tag/v2.12.1
$ gh run view --job=6813037845

X dev Deploy · 2468513429
Triggered via push about 44 minutes ago

X terragrunt-apply / Terragrunt apply in 8m14s (ID 6813037845)
  _ Set up job
  _ Checkout
  _ Setup Terraform
  _ Setup Terragrunt
  X Terraform Apply
  _ Post Checkout
  _ Complete job

ANNOTATIONS
X Process completed with exit code 1.
terragrunt-apply / Terragrunt apply: .github#6065


To see the logs for the failed steps, try: gh run view --log-failed --job=6813037845

Here is the output of the command:

$ GH_DEBUG=true DEBUG=api gh run view --job=6813037845 --log-failed
[git remote -v]
[git -C . config --get-regexp ^remote\..*\.gh-resolved$]
* Request at 2022-06-09 15:42:51.948675224 +0200 CEST m=+0.015870397
_* Request to https://api.github.com/repos/XXXXXXXXXXXXXXXXX/actions/jobs/6813037845
_* Request took 508.389505ms
* Request at 2022-06-09 15:42:52.457877855 +0200 CEST m=+0.525073023
* Request to https://api.github.com/repos/XXXXXXXXXXXXXXXXX/actions/runs/2468513429
_* Request took 209.415868ms
$ curl  https://api.github.com/repos/XXXXXXXXXXXXXX/actions/jobs/6813037845
{
  "message": "Not Found",
  "documentation_url": "https://docs.github.com/rest/reference/actions#get-a-job-for-a-workflow-run"
}
$ curl  https://api.github.com/repos/XXXXXXXXXXXXX/actions/runs/2468513429
{
  "message": "Not Found",
  "documentation_url": "https://docs.github.com/rest/reference/actions#get-a-workflow-run"
}

I hope it could help.

Kind regards, JM