-
-
Notifications
You must be signed in to change notification settings - Fork 35
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
Bot commands in new issues sensitive to ,
after bot user name
#530
Comments
Existing tests appear to catch the existing documentation example
Possibly related to the user name in the linked behavior example, which had mixed case and a hyphen? Perhaps the user is captured correctly when the comma is excluded? |
I can't run the tests locally. Poking around the
|
This appears to have fixed itself and IDK why. Let's close for now. |
Saw this again with issue ( conda-forge/benchling-sdk-feedstock#11 ). Have reopened to track |
Yeah this is weird. I tested extensively while watching the webserver logs and could not reproduce. Arghhhh. Thanks for reopening. |
No worries. It's an odd issue. Don't recall there being lots of changes to relevant code paths here, which makes it a bit confusing Is it possible there's an issue on GitHub's end somehow? TBH I don't know how this would happen. Just trying to come up with other ideas |
That is possible. It's hard, we if we can find the webhook event in the settings pane for conda-forge, it's possible to resend it to debug love. |
Adding another data point, saw this with re-rendering issue request recently ( conda-forge/shellcheck-feedstock#12 ) |
,
after bot user name
I think this might have the same issue: conda-forge/universal_pathlib-feedstock#26 |
Yeah try deleting the |
Fun fact: Adding a |
I think it is the fact that the command is run twice. |
Maybe Went ahead and tried including the Suppose it could just be luck though. We could try more tests |
One thing I noticed while debugging the 🚀 reacts to the commands is that the new-issue event payload is sent before the API can return the issue content. So we need to re-run the issue fetching logic a in a tiny loop. This is done in one more part in the code, IIRC. See: conda-forge-webservices/conda_forge_webservices/commands.py Lines 108 to 121 in 9978abd
And: conda-forge-webservices/conda_forge_webservices/commands.py Lines 356 to 371 in 9978abd
|
Yes a race condition makes sense. |
Solution to issue cannot be found in the documentation.
Issue
https://conda-forge.org/docs/maintainer/updating_pkgs.html#updating-the-maintainer-list
The "updating the maintainer list" documentation describes adding an issue with the title
to trigger an automated process that updates the maintainer list. However, this title doesn't trigger the automated process. The workaround is to delete the comma as
which then does trigger the automated process.
Installed packages
Environment info
The text was updated successfully, but these errors were encountered: