镜像站点 · 本页由第三方 GitHub 只读镜像提供,非 GitHub 官方站点,不接受任何登录或凭据输入。前往 github.com
Skip to content

fail positive on github action fails. #660

Description

@gengjiawen
Commit Queue failed
- Loading data for nodejs/node/pull/45573
✔  Done loading data for nodejs/node/pull/45573
----------------------------------- PR info ------------------------------------
Title      deps: V8: cherry-pick 2ada52cffbff (#45573)
Author     Michaël Zasso  (@targos)
Branch     targos:fix-45171 -> nodejs:main
Labels     build, v8 engine, needs-ci
Commits    1
 - deps: V8: cherry-pick 2ada52cffbff
Committers 1
 - Michaël Zasso 
PR-URL: https://github.com/nodejs/node/pull/45573
Fixes: https://github.com/nodejs/node/issues/45171
Refs: https://github.com/v8/v8/commit/2ada52cffbff11074abfaac18938bf02d85454f5
Reviewed-By: Jiawen Geng 
Reviewed-By: Richard Lau 
Reviewed-By: Colin Ihrig 
Reviewed-By: Yagiz Nizipli 
------------------------------ Generated metadata ------------------------------
PR-URL: https://github.com/nodejs/node/pull/45573
Fixes: https://github.com/nodejs/node/issues/45171
Refs: https://github.com/v8/v8/commit/2ada52cffbff11074abfaac18938bf02d85454f5
Reviewed-By: Jiawen Geng 
Reviewed-By: Richard Lau 
Reviewed-By: Colin Ihrig 
Reviewed-By: Yagiz Nizipli 
--------------------------------------------------------------------------------
   ⚠  Commits were pushed since the last review:
   ⚠  - deps: V8: cherry-pick 2ada52cffbff
   ℹ  This PR was created on Tue, 22 Nov 2022 08:21:45 GMT
   ✔  Approvals: 4
   ✔  - Jiawen Geng (@gengjiawen): https://github.com/nodejs/node/pull/45573#pullrequestreview-1189584648
   ✔  - Richard Lau (@richardlau) (TSC): https://github.com/nodejs/node/pull/45573#pullrequestreview-1190006137
   ✔  - Colin Ihrig (@cjihrig) (TSC): https://github.com/nodejs/node/pull/45573#pullrequestreview-1190051320
   ✔  - Yagiz Nizipli (@anonrig): https://github.com/nodejs/node/pull/45573#pullrequestreview-1191762773
   ✖  Last GitHub CI failed
   ℹ  Last Full PR CI on 2022-11-23T14:48:53Z: https://ci.nodejs.org/job/node-test-pull-request/48124/
- Querying data for job/node-test-pull-request/48124/
   ✔  Last Jenkins CI successful
--------------------------------------------------------------------------------
   ✔  Aborted `git node land` session in /home/runner/work/node/node/.ncu
https://github.com/nodejs/node/actions/runs/3538908052

Originally posted by @nodejs-github-bot in nodejs/node#45573 (comment)

Activity

  1. targos commented on Nov 24, 2022

    @targos
    Member

    It's not a false positive. I rebased and pushed after the last review.

  2. gengjiawen commented on Nov 24, 2022

    @gengjiawen
    MemberAuthor

    I just retriggered commit-queue, still failed.

  3. targos commented on Nov 24, 2022

    @targos
    Member

    Yes, but that's expected. Someone needs to submit a review after the push.

  4. gengjiawen commented on Nov 24, 2022

    @gengjiawen
    MemberAuthor

    Yes, but that's expected. Someone needs to submit a review after the push.

    I approved the PR again, new commit-queue still failed.

  5. targos commented on Nov 24, 2022

    @targos
    Member

    Isn't it because of this?
    image

  6. gengjiawen commented on Nov 24, 2022

    @gengjiawen
    MemberAuthor

    Nope, it's a bug in GitHub (not sure how long they can fix it, it's has been really long), there is a issue on it too IIRC.

    You can see log here, it shows it's the github action fails.
    image

  7. reopened this on Nov 24, 2022
  8. targos commented on Nov 24, 2022

    @targos
    Member

    I reopened because the error was wrong, but I still think the failure was expected (Jenkins CI had a failure).

  9. aduh95 commented on Nov 24, 2022

    @aduh95
    Contributor

    Yeah, "GitHub CI" is not very accurate because all it does is check the "status of the PR", which includes the Jenkins results (which are sometimes picked up from a run that's testing an older commit, but that's really not something that can be addressed in this repo).

  10. targos commented on Nov 24, 2022

    @targos
    Member

    But why did ncu say "Last Jenkins CI successful" when https://ci.nodejs.org/job/node-test-pull-request/48124/ is clearly red?

  11. gengjiawen commented on Apr 3, 2023

    @gengjiawen
    MemberAuthor

    Another one: #691

  12. targos commented on Apr 3, 2023

    @targos
    Member

    I had a look and it's because of this part of the code:

    // GitHub old commit status API
    if (commit.status) {
    const { state } = commit.status;
    if (state === 'PENDING') {
    cli.error('GitHub CI is still running');
    return false;
    }
    if (!['SUCCESS', 'EXPECTED'].includes(state)) {
    cli.error('Last GitHub CI failed');
    return false;
    }
    }
    cli.ok('Last GitHub CI successful');
    this.CIStatus = true;
    return true;
    }

    It's actually the Jenkins CI check that is red. I wonder if we should remove this whole block. I don't know what kind of "old" checks we expect to be here.

    CleanShot 2023-04-03 at 14 09 12

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

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions