Skip to content

build: fix update-wpt workflow #57468

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

Merged

Conversation

JonasBa
Copy link
Contributor

@JonasBa JonasBa commented Mar 14, 2025

There is a bug in create-or-update action here which is causing url subsystem updates to mistakenly update the wrong PR (as seen in #57368). The match being performed in that API call is not an exact match, which causes inference in L158 to pick up the wrong PR.

@nodejs-github-bot
Copy link
Collaborator

Review requested:

  • @nodejs/actions

@nodejs-github-bot nodejs-github-bot added the meta Issues and PRs related to the general management of the project. label Mar 14, 2025
@anonrig anonrig requested a review from targos March 14, 2025 18:29
@anonrig anonrig added the fast-track PRs that do not need to wait for 48 hours to land. label Mar 14, 2025
Copy link
Contributor

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

@anonrig anonrig added the author ready PRs that have at least one approval, no pending requests for changes, and a CI started. label Mar 14, 2025
Copy link
Member

@jasnell jasnell left a comment

Choose a reason for hiding this comment

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

Looks like there are some linting nits to deal with but otherwise LGTM

@JonasBa JonasBa force-pushed the jb/workflows/wpt-update-workflow branch from 3b04d4a to 9bbff4a Compare March 14, 2025 23:51
@panva
Copy link
Member

panva commented Mar 15, 2025

This removes the ability to trigger the job manually for subsystems that we don't want automation for all the time though.

Just changing the branch pattern to have wpt at the end would be enough, wouldn't it?

@anonrig
Copy link
Member

anonrig commented Mar 15, 2025

This removes the ability to trigger the job manually for subsystems that we don't want automation for all the time though.

You lost me there. Would you mind explaining? Current workflow runs all subsystems on every day, since the default value is all items.

@panva
Copy link
Member

panva commented Mar 15, 2025

This removes the ability to trigger the job manually for subsystems that we don't want automation for all the time though.

You lost me there. Would you mind explaining? Current workflow runs all subsystems on every day, since the default value is all items.

But it allows workflow_dispatch with any subsystem when we need it.

image

@anonrig
Copy link
Member

anonrig commented Mar 15, 2025

Yes, that's true. I forgot about this. Can we still allow such changes but within the combination of the dropdown?

@panva
Copy link
Member

panva commented Mar 15, 2025

Yes, that's true. I forgot about this. Can we still allow such changes but within the combination of the dropdown?

no, there is no freeform input option for 'type: choice', if there was the action would already be using it from when we introduced it.

@anonrig
Copy link
Member

anonrig commented Mar 15, 2025

@JonasBa would you mind reverting everything except the branch name change?

@panva
Copy link
Member

panva commented Mar 15, 2025

@JonasBa big props for finding the culprit btw! much appreciated

@JonasBa
Copy link
Contributor Author

JonasBa commented Mar 15, 2025

@panva Ahhh, got it! I did not know that that is a requirement, but that makes sense. I will leave a comment for future reference as to why having the string input is preferable and revert the other changes, thanks for reviewing this!

@JonasBa JonasBa force-pushed the jb/workflows/wpt-update-workflow branch from 9bbff4a to d19b293 Compare March 15, 2025 20:17
@JonasBa JonasBa force-pushed the jb/workflows/wpt-update-workflow branch from d19b293 to 029eb6e Compare March 15, 2025 20:18
@panva panva added the commit-queue Add this label to land a pull request using GitHub Actions. label Mar 15, 2025
@nodejs-github-bot nodejs-github-bot removed the commit-queue Add this label to land a pull request using GitHub Actions. label Mar 15, 2025
@nodejs-github-bot nodejs-github-bot merged commit 26c4851 into nodejs:main Mar 15, 2025
16 checks passed
@nodejs-github-bot
Copy link
Collaborator

Landed in 26c4851

aduh95 pushed a commit that referenced this pull request Mar 18, 2025
PR-URL: #57468
Reviewed-By: Yagiz Nizipli <yagiz@nizipli.com>
Reviewed-By: James M Snell <jasnell@gmail.com>
Reviewed-By: Filip Skokan <panva.ip@gmail.com>
RafaelGSS pushed a commit that referenced this pull request Apr 1, 2025
PR-URL: #57468
Reviewed-By: Yagiz Nizipli <yagiz@nizipli.com>
Reviewed-By: James M Snell <jasnell@gmail.com>
Reviewed-By: Filip Skokan <panva.ip@gmail.com>
RafaelGSS pushed a commit that referenced this pull request Apr 1, 2025
PR-URL: #57468
Reviewed-By: Yagiz Nizipli <yagiz@nizipli.com>
Reviewed-By: James M Snell <jasnell@gmail.com>
Reviewed-By: Filip Skokan <panva.ip@gmail.com>
RafaelGSS pushed a commit to RafaelGSS/node that referenced this pull request Apr 8, 2025
PR-URL: nodejs#57468
Reviewed-By: Yagiz Nizipli <yagiz@nizipli.com>
Reviewed-By: James M Snell <jasnell@gmail.com>
Reviewed-By: Filip Skokan <panva.ip@gmail.com>
RafaelGSS pushed a commit that referenced this pull request Apr 14, 2025
PR-URL: #57468
Reviewed-By: Yagiz Nizipli <yagiz@nizipli.com>
Reviewed-By: James M Snell <jasnell@gmail.com>
Reviewed-By: Filip Skokan <panva.ip@gmail.com>
RafaelGSS pushed a commit that referenced this pull request Apr 14, 2025
PR-URL: #57468
Reviewed-By: Yagiz Nizipli <yagiz@nizipli.com>
Reviewed-By: James M Snell <jasnell@gmail.com>
Reviewed-By: Filip Skokan <panva.ip@gmail.com>
aduh95 pushed a commit that referenced this pull request Apr 14, 2025
PR-URL: #57468
Reviewed-By: Yagiz Nizipli <yagiz@nizipli.com>
Reviewed-By: James M Snell <jasnell@gmail.com>
Reviewed-By: Filip Skokan <panva.ip@gmail.com>
aduh95 pushed a commit that referenced this pull request Apr 14, 2025
PR-URL: #57468
Reviewed-By: Yagiz Nizipli <yagiz@nizipli.com>
Reviewed-By: James M Snell <jasnell@gmail.com>
Reviewed-By: Filip Skokan <panva.ip@gmail.com>
aduh95 pushed a commit that referenced this pull request Apr 15, 2025
PR-URL: #57468
Reviewed-By: Yagiz Nizipli <yagiz@nizipli.com>
Reviewed-By: James M Snell <jasnell@gmail.com>
Reviewed-By: Filip Skokan <panva.ip@gmail.com>
RafaelGSS pushed a commit that referenced this pull request Apr 16, 2025
PR-URL: #57468
Reviewed-By: Yagiz Nizipli <yagiz@nizipli.com>
Reviewed-By: James M Snell <jasnell@gmail.com>
Reviewed-By: Filip Skokan <panva.ip@gmail.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
author ready PRs that have at least one approval, no pending requests for changes, and a CI started. fast-track PRs that do not need to wait for 48 hours to land. meta Issues and PRs related to the general management of the project.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants