-
Notifications
You must be signed in to change notification settings - Fork 6
fixed unassign issues #18
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
fixed unassign issues #18
Conversation
|
Hi @SukhvirKooner, thank you for these updates. I have just finished testing another action and will move toward reviewing and re-testing this one. |
|
Hi @SukhvirKooner, thank you for these updates. It's shaping up nicely. I finished code review and left a few clarification questions and possibly requests. Let me know your thoughts. After we wrap up code review, I will merge and re-test. |
|
Hi @SukhvirKooner thanks a lot for all the clarifications. I will get back to this next week to read everything in detail and we can then decide on next steps. |
|
Hi @SukhvirKooner, I left few last notes. After addressing them, would you be able to test as many scenarios as possible one more time in your environment? And if it works, we can merge, and I will give it another try in our repos. Thanks a lot for patient work in the area that has many nuances to address, seems we're getting close. |
|
@SukhvirKooner oh and it seems there's a conflict, could you merge |
Sounds good! I'll address the notes and run a thorough round of testing. Thanks for the feedback! |
|
Hi @MisRob, If you have any additional scenarios or edge cases that you think should be covered, please let me know. |
|
Thanks @SukhvirKooner, nothing comes to my mind, except all the situations we've talked about. Let me know when you think this is ready. |
|
Hi @MisRob , |
|
Perfect @SukhvirKooner, thank you. The newest commits make sense to me. I will merge now and re-test. As you may have noticed it may take a week or two, but I will follow-up and let you know how things look like. |
|
Hi @SukhvirKooner, I did first re-testing and we still have some trouble with recognizing core team members. On these two issues, both MisRob and MisRob2 got unassigned, whereas only MisRob2 should be unassigned. MisRob is core team account. Would taking inspiration from this action be helpful? I tested it some time ago and it worked well in this regard. It uses this endpoint https://docs.github.com/en/rest/collaborators/collaborators |
|
Hi @MisRob, Thanks for the detailed update! I had tested it earlier and just did a retest on my end—it’s working fine for me. I’ve attached screenshots below for reference.
That said, I’ll definitely look into this further to see if there’s anything we might be missing in your case. |
|
Hi @SukhvirKooner, yes I believe you tested it all, and thanks for double-checking now. I just think there's differences between your test environment and ours that we will need to fine-tune. Few things we can chat about:
|
|
@SukhvirKooner I found the log of one of those troublesome unassignments Notice the problematic Also I am seeing a deprecation notice that would be good to deal with if we can, but that's lesser priority. |
|
@SukhvirKooner let me know any ideas about how I can assist you here. Other than that I haven't noticed any problems, and Slack works too! So hopefully this is a last hiccup. |
In this updated version, I’ve added logging for:
The organization membership check:
Ensure your token in all environments has these permissions to allow the API calls to work correctly. |
|
@MisRob Please let me know if you'd like to implement the membership check method that you suggested. I can make those changes and raise a PR. Additionally, I'll look into the deprecation issue. |
|
Thanks @SukhvirKooner, this is great. No you don't need to change that implementation yet, but feel free to add this logging, or I can do it some time later. Then we will know more and can decide what to do next. I think those permissions should be fine but let me double check meanwhile. |
|
Okay @SukhvirKooner so it really was the permission. It works now as expected learningequality/test-actions#49 (comment). Apologies for the hassle, it caught me by surprise because the other action for detecting membership doesn't need so many permissions like this one. So no changes needed in this area. Let me know how things look like with the deprecation issue and I can check then one last time. |
|
Hey @MisRob, I've fixed the deprecation issue. Should I open a new issue first and then submit a PR? |
|
Hi @SukhvirKooner, that's perfect, thank you. No need for issue since we confirmed together - you're welcome to submit a PR. |




Summary
Fixes #12837
All the reported issues have now been resolved:
✅ 1. Unexpected Unassignments
✅ 2. Organization Member Unassignment
✅ 3. Slack Notification Format Improvement
Below are some Screenshots of the Testing i have done:
…
References
…
Reviewer guidance
…