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

Language Change Label Incorrectly Removed #898

Closed
mbabker opened this issue Oct 22, 2016 · 18 comments
Closed

Language Change Label Incorrectly Removed #898

mbabker opened this issue Oct 22, 2016 · 18 comments

Comments

@mbabker
Copy link
Contributor

mbabker commented Oct 22, 2016

See joomla/joomla-cms#12516

When I opened the PR, it correctly added the label. I pushed a couple of commits after I opened it then the label was removed. The language change is still there.

@zero-24
Copy link
Contributor

zero-24 commented Oct 22, 2016

can you check if you get any issues in the log about that issue / PR?

@zero-24
Copy link
Contributor

zero-24 commented Oct 22, 2016

Can you try a commit e.g a sync commit (this should trigger the bot) ;)

@zero-24
Copy link
Contributor

zero-24 commented Oct 22, 2016

errors like this: #893 maybe

@mbabker
Copy link
Contributor Author

mbabker commented Oct 22, 2016

There is nothing in the log, so it isn't erroring out. It is most assuredly removing the label though.

@zero-24
Copy link
Contributor

zero-24 commented Oct 23, 2016

Can you see what type of trigger is made? Maybe the got an empty pulls event triggerd if you change a description / title?

@mbabker
Copy link
Contributor Author

mbabker commented Oct 23, 2016

What do you mean "what type of trigger"? We don't have different types; it's just responding to a pull request webhook. What data is sent is the same regardless of the action taken, we just have different paths based on something being created and updated.

@zero-24
Copy link
Contributor

zero-24 commented Oct 25, 2016

The only thing i can think of that there was an empty hook where the files are empty.

@mbabker
Copy link
Contributor Author

mbabker commented Oct 26, 2016

joomla/joomla-cms#12532

I changed the title and the tests label was removed. Something is most assuredly not right here. Webhook payload - https://gist.github.com/mbabker/9848db88ac34d38636cabb8a5b1d1cb9

@elkuku
Copy link
Contributor

elkuku commented Oct 26, 2016

@zero24 if you could check that the CLI script isn't the culpable here...
That would be REALLY cool ;)

Am 25.10.2016 20:46 schrieb "zero-24" [email protected]:

The only thing i can think of that there was an empty hook where the files
are empty.


You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
#898 (comment), or mute
the thread
https://github.com/notifications/unsubscribe-auth/AACEup9NQm4IjkGPLHsyjZK7IpsAkSbQks5q3k5-gaJpZM4Kd6Sv
.

@zero-24
Copy link
Contributor

zero-24 commented Oct 26, 2016

hmm can we add here: https://github.com/joomla/jissues/blob/master/src/App/Tracker/Controller/Hooks/Listeners/JoomlacmsPullsListener.php#L443 a check to be sure that we get the changed files from the pull request?

#902

@zero-24
Copy link
Contributor

zero-24 commented Oct 26, 2016

@elkuku i don't know how the CLI script is working but if i saw it correct it just runs the PR- label stuff?

@mbabker
Copy link
Contributor Author

mbabker commented Oct 26, 2016

The method is already logging errors if it doesn't pull the list of files (nothing in the logs for those errors and the loggers are configured to catch messages with a minimum level of "warning"). So since the API calls aren't failing, that would indicate the API is returning an empty response. And that's concerning if that indeed is the case.

@zero-24
Copy link
Contributor

zero-24 commented Oct 26, 2016

Is there a chance to get the content of the array so we can check?

@zero-24
Copy link
Contributor

zero-24 commented Oct 30, 2016

we have similiar issues here: https://issues.joomla.org/tracker/joomla-cms/12626 (the categories are not updated based on the last changes) for me it looks like a general problem.

IIRC we did not change much at that place in the past? So i guess that there is a problem with the github sync / webhook or there is a change? Can we see that there was a webhook on that pull request?

@mbabker
Copy link
Contributor Author

mbabker commented Oct 30, 2016

Anyone with admin access on the GitHub repos can view the webhook config and activity. https://github.com/joomla/joomla-cms/settings/hooks

@zero-24
Copy link
Contributor

zero-24 commented Oct 30, 2016

ok 404 for me but I'm also not sure if that would help me as i'm not sure that i understand this page.

@mbabker
Copy link
Contributor Author

mbabker commented Oct 30, 2016

If you can see that section you can see all of the configured webhooks for the repo, each sent webhook payload, and the response from the remote server.

@mbabker
Copy link
Contributor Author

mbabker commented Nov 27, 2016

Looks fixed by f299982

@mbabker mbabker closed this as completed Nov 27, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants