Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

tools: update codecov branch #47285

Merged
merged 1 commit into from Mar 29, 2023
Merged

tools: update codecov branch #47285

merged 1 commit into from Mar 29, 2023

Conversation

Trott
Copy link
Member

@Trott Trott commented Mar 28, 2023

Codecov is still using the old default branch. Update it to "main", the current default branch. I'm not sure why it's not picking it up automatically or if there is a way to ask it to refresh, but setting it in codecov.yml should resolve the issue.

@Trott Trott marked this pull request as ready for review March 28, 2023 18:51
@Trott Trott added the fast-track PRs that do not need to wait for 48 hours to land. label Mar 28, 2023
@github-actions
Copy link
Contributor

Fast-track has been requested by @Trott. Please 👍 to approve.

@Trott
Copy link
Member Author

Trott commented Mar 28, 2023

I hope we don't have a problem where this doesn't work because it's not on the old default branch, but I guess we can cross that bridge/issue when we get to it.

Copy link
Member

@mhdawson mhdawson left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@tniessen
Copy link
Member

I hope we don't have a problem where this doesn't work because it's not on the old default branch, but I guess we can cross that bridge/issue when we get to it.

statsmodels/statsmodels#7424 contains a screenshot showing a configuration option in the codecov UI. (codecov appears to have picked up your branch (nodejs/node/tree/codecov) and shows it just like main or any other branch, so your suspicion might be correct and changing it might not have any effect.)

@Trott
Copy link
Member Author

Trott commented Mar 29, 2023

I hope we don't have a problem where this doesn't work because it's not on the old default branch, but I guess we can cross that bridge/issue when we get to it.

statsmodels/statsmodels#7424 contains a screenshot showing a configuration option in the codecov UI. (codecov appears to have picked up your branch (nodejs/node/tree/codecov) and shows it just like main or any other branch, so your suspicion might be correct and changing it might not have any effect.)

Alas, I don't have access to that settings page for Node.js.

Since the old branch redirects to the new one in the GitHub interface, I'm slightly hopeful, but only slightly, that this will work.

@Trott Trott added the commit-queue Add this label to land a pull request using GitHub Actions. label Mar 29, 2023
@nodejs-github-bot nodejs-github-bot added commit-queue-failed An error occurred while landing this pull request using GitHub Actions. and removed commit-queue Add this label to land a pull request using GitHub Actions. labels Mar 29, 2023
@nodejs-github-bot
Copy link
Collaborator

Commit Queue failed
- Loading data for nodejs/node/pull/47285
✔  Done loading data for nodejs/node/pull/47285
----------------------------------- PR info ------------------------------------
Title      tools: update codecov branch (#47285)
Author     Rich Trott  (@Trott)
Branch     Trott:codecov -> nodejs:main
Labels     fast-track
Commits    1
 - tools: update codecov branch
Committers 1
 - Rich Trott 
PR-URL: https://github.com/nodejs/node/pull/47285
Reviewed-By: Richard Lau 
Reviewed-By: Moshe Atlow 
Reviewed-By: Tobias Nießen 
Reviewed-By: Michael Dawson 
Reviewed-By: Yagiz Nizipli 
------------------------------ Generated metadata ------------------------------
PR-URL: https://github.com/nodejs/node/pull/47285
Reviewed-By: Richard Lau 
Reviewed-By: Moshe Atlow 
Reviewed-By: Tobias Nießen 
Reviewed-By: Michael Dawson 
Reviewed-By: Yagiz Nizipli 
--------------------------------------------------------------------------------
   ℹ  This PR was created on Tue, 28 Mar 2023 18:51:43 GMT
   ✔  Approvals: 5
   ✔  - Richard Lau (@richardlau) (TSC): https://github.com/nodejs/node/pull/47285#pullrequestreview-1361728795
   ✔  - Moshe Atlow (@MoLow): https://github.com/nodejs/node/pull/47285#pullrequestreview-1361734226
   ✔  - Tobias Nießen (@tniessen) (TSC): https://github.com/nodejs/node/pull/47285#pullrequestreview-1361740131
   ✔  - Michael Dawson (@mhdawson) (TSC): https://github.com/nodejs/node/pull/47285#pullrequestreview-1361766478
   ✔  - Yagiz Nizipli (@anonrig): https://github.com/nodejs/node/pull/47285#pullrequestreview-1362075227
   ℹ  This PR is being fast-tracked
   ✘  Last GitHub CI failed
   ℹ  Green GitHub CI is sufficient
--------------------------------------------------------------------------------
   ✔  Aborted `git node land` session in /home/runner/work/node/node/.ncu
https://github.com/nodejs/node/actions/runs/4549058299

@Trott
Copy link
Member Author

Trott commented Mar 29, 2023

Am I wrong or does something seem to be happening where node-core-utils now always thinks GitHub CI has failed?

Codecov is still using the old default branch. Update it to "main", the
current default branch. I'm not sure why it's not picking it up
automatically or if there is a way to ask it to refresh, but setting it
in codecov.yml should resolve the issue.

PR-URL: nodejs#47285
Reviewed-By: Richard Lau <rlau@redhat.com>
Reviewed-By: Moshe Atlow <moshe@atlow.co.il>
Reviewed-By: Tobias Nießen <tniessen@tnie.de>
Reviewed-By: Michael Dawson <midawson@redhat.com>
Reviewed-By: Yagiz Nizipli <yagiz@nizipli.com>
@Trott
Copy link
Member Author

Trott commented Mar 29, 2023

Landed in 786a718

@Trott Trott merged commit 786a718 into nodejs:main Mar 29, 2023
16 checks passed
@Trott Trott deleted the codecov branch March 29, 2023 02:06
@Trott
Copy link
Member Author

Trott commented Mar 29, 2023

I've opened a support ticket with Codecov.io to try to get the default branch issue resolved.

@targos
Copy link
Member

targos commented Mar 29, 2023

I think we need to add the Codecov GitHub app to this repo so they can check who has the admin permissions?

@tniessen
Copy link
Member

I was able to change the default branch through the codecov UI after someone enabled the GitHub app.

@targos
Copy link
Member

targos commented Mar 29, 2023

Am I wrong or does something seem to be happening where node-core-utils now always thinks GitHub CI has failed?

I added some logs in ncu and found the following:

Context:

[
  {
    __typename: 'StatusContext',
    context: 'codecov/project',
    description: '89.48% (-0.03%) compared to 09a4bb1',
    targetUrl: 'https://codecov.io/gh/nodejs/node/pull/47285'
  },
  {
    __typename: 'StatusContext',
    context: 'codecov/patch',
    description: 'Coverage not affected when comparing 09a4bb1...786a718',
    targetUrl: 'https://codecov.io/gh/nodejs/node/pull/47285'
  }
]

@targos
Copy link
Member

targos commented Mar 29, 2023

If you scroll down, the failing check is actually visible in the GitHub UI:
CleanShot 2023-03-29 at 18 01 41

@Trott
Copy link
Member Author

Trott commented Mar 29, 2023

I was able to change the default branch through the codecov UI after someone enabled the GitHub app.

I enabled it to test if it would give me admin access and it didn't. But I only removed access again just now. Sorry for not communicating this. (I...uh....guess I should have opened something in nodejs/admin but that seemed overkill. Bad Trott? Do better?)

targos added a commit to targos/node that referenced this pull request Mar 30, 2023
We don't want (yet?) to consider coverage as a requirement for
landing a pull request.

Refs: nodejs#47285 (comment)
Refs: https://docs.codecov.com/docs/commit-status#disabling-a-status
nodejs-github-bot pushed a commit that referenced this pull request Apr 1, 2023
We don't want (yet?) to consider coverage as a requirement for
landing a pull request.

Refs: #47285 (comment)
Refs: https://docs.codecov.com/docs/commit-status#disabling-a-status
PR-URL: #47306
Reviewed-By: Moshe Atlow <moshe@atlow.co.il>
Reviewed-By: Filip Skokan <panva.ip@gmail.com>
Reviewed-By: Richard Lau <rlau@redhat.com>
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
Reviewed-By: Jiawen Geng <technicalcute@gmail.com>
Reviewed-By: Rich Trott <rtrott@gmail.com>
Reviewed-By: James M Snell <jasnell@gmail.com>
RafaelGSS pushed a commit that referenced this pull request Apr 5, 2023
Codecov is still using the old default branch. Update it to "main", the
current default branch. I'm not sure why it's not picking it up
automatically or if there is a way to ask it to refresh, but setting it
in codecov.yml should resolve the issue.

PR-URL: #47285
Reviewed-By: Richard Lau <rlau@redhat.com>
Reviewed-By: Moshe Atlow <moshe@atlow.co.il>
Reviewed-By: Tobias Nießen <tniessen@tnie.de>
Reviewed-By: Michael Dawson <midawson@redhat.com>
Reviewed-By: Yagiz Nizipli <yagiz@nizipli.com>
RafaelGSS pushed a commit that referenced this pull request Apr 5, 2023
We don't want (yet?) to consider coverage as a requirement for
landing a pull request.

Refs: #47285 (comment)
Refs: https://docs.codecov.com/docs/commit-status#disabling-a-status
PR-URL: #47306
Reviewed-By: Moshe Atlow <moshe@atlow.co.il>
Reviewed-By: Filip Skokan <panva.ip@gmail.com>
Reviewed-By: Richard Lau <rlau@redhat.com>
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
Reviewed-By: Jiawen Geng <technicalcute@gmail.com>
Reviewed-By: Rich Trott <rtrott@gmail.com>
Reviewed-By: James M Snell <jasnell@gmail.com>
RafaelGSS pushed a commit that referenced this pull request Apr 5, 2023
We don't want (yet?) to consider coverage as a requirement for
landing a pull request.

Refs: #47285 (comment)
Refs: https://docs.codecov.com/docs/commit-status#disabling-a-status
PR-URL: #47306
Reviewed-By: Moshe Atlow <moshe@atlow.co.il>
Reviewed-By: Filip Skokan <panva.ip@gmail.com>
Reviewed-By: Richard Lau <rlau@redhat.com>
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
Reviewed-By: Jiawen Geng <technicalcute@gmail.com>
Reviewed-By: Rich Trott <rtrott@gmail.com>
Reviewed-By: James M Snell <jasnell@gmail.com>
@RafaelGSS RafaelGSS mentioned this pull request Apr 6, 2023
RafaelGSS pushed a commit that referenced this pull request Apr 6, 2023
Codecov is still using the old default branch. Update it to "main", the
current default branch. I'm not sure why it's not picking it up
automatically or if there is a way to ask it to refresh, but setting it
in codecov.yml should resolve the issue.

PR-URL: #47285
Reviewed-By: Richard Lau <rlau@redhat.com>
Reviewed-By: Moshe Atlow <moshe@atlow.co.il>
Reviewed-By: Tobias Nießen <tniessen@tnie.de>
Reviewed-By: Michael Dawson <midawson@redhat.com>
Reviewed-By: Yagiz Nizipli <yagiz@nizipli.com>
RafaelGSS pushed a commit that referenced this pull request Apr 6, 2023
We don't want (yet?) to consider coverage as a requirement for
landing a pull request.

Refs: #47285 (comment)
Refs: https://docs.codecov.com/docs/commit-status#disabling-a-status
PR-URL: #47306
Reviewed-By: Moshe Atlow <moshe@atlow.co.il>
Reviewed-By: Filip Skokan <panva.ip@gmail.com>
Reviewed-By: Richard Lau <rlau@redhat.com>
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
Reviewed-By: Jiawen Geng <technicalcute@gmail.com>
Reviewed-By: Rich Trott <rtrott@gmail.com>
Reviewed-By: James M Snell <jasnell@gmail.com>
RafaelGSS pushed a commit that referenced this pull request Apr 7, 2023
Codecov is still using the old default branch. Update it to "main", the
current default branch. I'm not sure why it's not picking it up
automatically or if there is a way to ask it to refresh, but setting it
in codecov.yml should resolve the issue.

PR-URL: #47285
Reviewed-By: Richard Lau <rlau@redhat.com>
Reviewed-By: Moshe Atlow <moshe@atlow.co.il>
Reviewed-By: Tobias Nießen <tniessen@tnie.de>
Reviewed-By: Michael Dawson <midawson@redhat.com>
Reviewed-By: Yagiz Nizipli <yagiz@nizipli.com>
RafaelGSS pushed a commit that referenced this pull request Apr 7, 2023
We don't want (yet?) to consider coverage as a requirement for
landing a pull request.

Refs: #47285 (comment)
Refs: https://docs.codecov.com/docs/commit-status#disabling-a-status
PR-URL: #47306
Reviewed-By: Moshe Atlow <moshe@atlow.co.il>
Reviewed-By: Filip Skokan <panva.ip@gmail.com>
Reviewed-By: Richard Lau <rlau@redhat.com>
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
Reviewed-By: Jiawen Geng <technicalcute@gmail.com>
Reviewed-By: Rich Trott <rtrott@gmail.com>
Reviewed-By: James M Snell <jasnell@gmail.com>
RafaelGSS pushed a commit that referenced this pull request Apr 8, 2023
We don't want (yet?) to consider coverage as a requirement for
landing a pull request.

Refs: #47285 (comment)
Refs: https://docs.codecov.com/docs/commit-status#disabling-a-status
PR-URL: #47306
Reviewed-By: Moshe Atlow <moshe@atlow.co.il>
Reviewed-By: Filip Skokan <panva.ip@gmail.com>
Reviewed-By: Richard Lau <rlau@redhat.com>
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
Reviewed-By: Jiawen Geng <technicalcute@gmail.com>
Reviewed-By: Rich Trott <rtrott@gmail.com>
Reviewed-By: James M Snell <jasnell@gmail.com>
danielleadams pushed a commit that referenced this pull request Jul 6, 2023
Codecov is still using the old default branch. Update it to "main", the
current default branch. I'm not sure why it's not picking it up
automatically or if there is a way to ask it to refresh, but setting it
in codecov.yml should resolve the issue.

PR-URL: #47285
Reviewed-By: Richard Lau <rlau@redhat.com>
Reviewed-By: Moshe Atlow <moshe@atlow.co.il>
Reviewed-By: Tobias Nießen <tniessen@tnie.de>
Reviewed-By: Michael Dawson <midawson@redhat.com>
Reviewed-By: Yagiz Nizipli <yagiz@nizipli.com>
danielleadams pushed a commit that referenced this pull request Jul 6, 2023
We don't want (yet?) to consider coverage as a requirement for
landing a pull request.

Refs: #47285 (comment)
Refs: https://docs.codecov.com/docs/commit-status#disabling-a-status
PR-URL: #47306
Reviewed-By: Moshe Atlow <moshe@atlow.co.il>
Reviewed-By: Filip Skokan <panva.ip@gmail.com>
Reviewed-By: Richard Lau <rlau@redhat.com>
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
Reviewed-By: Jiawen Geng <technicalcute@gmail.com>
Reviewed-By: Rich Trott <rtrott@gmail.com>
Reviewed-By: James M Snell <jasnell@gmail.com>
MoLow pushed a commit to MoLow/node that referenced this pull request Jul 6, 2023
We don't want (yet?) to consider coverage as a requirement for
landing a pull request.

Refs: nodejs#47285 (comment)
Refs: https://docs.codecov.com/docs/commit-status#disabling-a-status
PR-URL: nodejs#47306
Reviewed-By: Moshe Atlow <moshe@atlow.co.il>
Reviewed-By: Filip Skokan <panva.ip@gmail.com>
Reviewed-By: Richard Lau <rlau@redhat.com>
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
Reviewed-By: Jiawen Geng <technicalcute@gmail.com>
Reviewed-By: Rich Trott <rtrott@gmail.com>
Reviewed-By: James M Snell <jasnell@gmail.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
commit-queue-failed An error occurred while landing this pull request using GitHub Actions. fast-track PRs that do not need to wait for 48 hours to land.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

8 participants