Skip to content

CI Fix Assign workflow #29408

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
merged 3 commits into from
Jul 4, 2024
Merged

CI Fix Assign workflow #29408

merged 3 commits into from
Jul 4, 2024

Conversation

lesteve
Copy link
Member

@lesteve lesteve commented Jul 4, 2024

Fix #29395

This uses the REST API rather than gh which only work for scikit-learn team members, see #29395 (comment) for more details if you are really curious.

I tested this on my fork see lesteve#36 and this seems to work fine.

Regression introduced in #28031 (January 2 2024), it took us 6 months to realise. My feeling is that the assign workflow is not that useful in practice but oh well 🤷

@lesteve lesteve added the Quick Review For PRs that are quick to review label Jul 4, 2024
Copy link

github-actions bot commented Jul 4, 2024

✔️ Linting Passed

All linting checks passed. Your pull request is in excellent shape! ☀️

Generated for commit: c63f00b. Link to the linter CI: here

Copy link
Member

@betatim betatim left a comment

Choose a reason for hiding this comment

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

LGTM. Thanks for all the sleuthing to figure out what was really causing this.

Should we add a comment to remind people from the future to not use gh?

Personally I also wonder about the usefulness of assigning yourself to an issue. I'd prefer it if people either left a quick comment "I'll attempt this" or opened a (WIP) PR shortly after they start working on the issue. Those seem like perfectly good ways to avoid the problem of "two people work on the same issue". However, I wonder if the reason people like using the assignment feature has another reason?

I'd be +0 on removing the workflow to reduce our maintenance, but not +1 because I think it would increase the number of people asking to be assigned, which is also work.

@lesteve lesteve enabled auto-merge (squash) July 4, 2024 07:53
@lesteve
Copy link
Member Author

lesteve commented Jul 4, 2024

I set auto-merge. About removing the workflow, I would be maybe +0.5 to remove it, because I don't think it is that useful, but this is probably a conversation to have in a monthly developer meeting?

Also in an ideal world, we would from time to time look at issues with assignee that have not been updated in a while to reset the label "help wanted" but not really worth it in our imperfect world 🤷
https://github.com/scikit-learn/scikit-learn/issues?q=is%3Aissue+is%3Aopen+assignee%3A%2A+sort%3Aupdated-asc

@lesteve lesteve merged commit 6dd02d1 into scikit-learn:main Jul 4, 2024
snath-xoc pushed a commit to snath-xoc/scikit-learn that referenced this pull request Jul 5, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Build / CI Quick Review For PRs that are quick to review
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Assign (aka /take in comment) workflow broken for non maintainers
2 participants