Re: In Apache Spark JIRA, spark/dev/github_jira_sync.py not running properly

2020-04-29 Thread Josh Rosen
(Catching up on a backlog of emails, hence my belated reply) I just checked the spark-prs app engine logs and it appears that our JIRA API calls are failing due to a CAPTCHA check (same issue as before). Based on https://jira.atlassian.com/browse/JRASERVER-40362, it sounds like this is a fairly co

Re: In Apache Spark JIRA, spark/dev/github_jira_sync.py not running properly

2020-04-29 Thread Hyukjin Kwon
Let actually me just take a look by myself and bring some updates soon. 2020년 4월 30일 (목) 오전 9:13, Hyukjin Kwon 님이 작성: > WDYT @Josh Rosen ? > Seems > https://github.com/databricks/spark-pr-dashboard/blob/1e799c9e510fa8cdc9a6c084a777436bebeabe10/sparkprs/controllers/tasks.py#L131-L142 > this > isn

Re: In Apache Spark JIRA, spark/dev/github_jira_sync.py not running properly

2020-04-29 Thread Hyukjin Kwon
WDYT @Josh Rosen ? Seems https://github.com/databricks/spark-pr-dashboard/blob/1e799c9e510fa8cdc9a6c084a777436bebeabe10/sparkprs/controllers/tasks.py#L131-L142 this isn't working anymore. Does it make sense to move it to native Jira-GitHub integration

Re: In Apache Spark JIRA, spark/dev/github_jira_sync.py not running properly

2020-04-29 Thread Nicholas Chammas
Not sure what you mean. The native integration will auto-link from a Jira ticket to the PRs that mention that ticket. I don't think it will update the ticket's status, though. Would you like me to file a ticket with Infra and see what they say? On Tue, Apr 28, 2020 at 12:21 AM Hyukjin Kwon wrote

Re: In Apache Spark JIRA, spark/dev/github_jira_sync.py not running properly

2020-04-27 Thread Hyukjin Kwon
Maybe it's time to switch. Do you know if we can still link the JIRA against Github? The script used to change the status of JIRA too but it stopped working for a long time - I suspect this isn't a big deal. 2020년 4월 25일 (토) 오전 10:31, Nicholas Chammas 님이 작성: > Have we asked Infra recently about e

Re: In Apache Spark JIRA, spark/dev/github_jira_sync.py not running properly

2020-04-24 Thread Nicholas Chammas
Have we asked Infra recently about enabling the native Jira-GitHub integration ? Maybe we can deprecate the part of this script that updates Jira tickets with links to the PR and rely on the native integrat

Re: In Apache Spark JIRA, spark/dev/github_jira_sync.py not running properly

2020-04-23 Thread Hyukjin Kwon
Hi all, Seems like this github_jira_sync.py script seems stopped working completely now. https://issues.apache.org/jira/browse/SPARK-31532 <> https://github.com/apache/spark/pull/28316 https://issues.apache.org/jira/browse/SPAR

Re: In Apache Spark JIRA, spark/dev/github_jira_sync.py not running properly

2019-07-25 Thread Hyukjin Kwon
Just FYI, I had to come up with a better JQL to filter out the JIRAs that already have linked PRs. In case it helps someone, I use this JQL now to look through the open JIRAs: project = SPARK AND status = Open AND NOT issueFunction in linkedIssuesOfRemote("Github Pull Request *") ORDER BY created

Re: In Apache Spark JIRA, spark/dev/github_jira_sync.py not running properly

2019-07-19 Thread Hyukjin Kwon
That's a great explanation. Thanks I didn't know that. Josh, do you know who I should ping on this? On Fri, 19 Jul 2019, 16:52 Dongjoon Hyun, wrote: > Hi, Hyukjin. > > In short, there are two bots. And, the current situation happens when only > one bot with `dev/github_jira_sync.py` works. > >

Re: In Apache Spark JIRA, spark/dev/github_jira_sync.py not running properly

2019-07-19 Thread Dongjoon Hyun
Hi, Hyukjin. In short, there are two bots. And, the current situation happens when only one bot with `dev/github_jira_sync.py` works. And, `dev/github_jira_sync.py` is irrelevant to the JIRA status change because it only use `add_remote_link` and `add_comment` API. I know only this bot (in Apache

Re: In Apache Spark JIRA, spark/dev/github_jira_sync.py not running properly

2019-07-18 Thread Hyukjin Kwon
Hi all, Seems this issue is re-happening again. Seems the PR link is properly created in the corresponding JIRA but it doesn't change the JIRA's status from OPEN to IN-PROGRESS. See, for instance, https://issues.apache.org/jira/browse/SPARK-28443 https://issues.apache.org/jira/browse/SPARK-28440

Re: In Apache Spark JIRA, spark/dev/github_jira_sync.py not running properly

2019-04-24 Thread Josh Rosen
The code for this runs in http://spark-prs.appspot.com (see https://github.com/databricks/spark-pr-dashboard/blob/1e799c9e510fa8cdc9a6c084a777436bebeabe10/sparkprs/controllers/tasks.py#L137 ) I checked the AppEngine logs and it looks like we're getting error responses, possibly due to a credential

Re: In Apache Spark JIRA, spark/dev/github_jira_sync.py not running properly

2019-04-24 Thread Hyukjin Kwon
Thank you so much Josh .. !! 2019년 4월 25일 (목) 오후 3:04, Josh Rosen 님이 작성: > The code for this runs in http://spark-prs.appspot.com (see > https://github.com/databricks/spark-pr-dashboard/blob/1e799c9e510fa8cdc9a6c084a777436bebeabe10/sparkprs/controllers/tasks.py#L137 > ) > > I checked the AppEngin

Re: In Apache Spark JIRA, spark/dev/github_jira_sync.py not running properly

2019-04-24 Thread Hyukjin Kwon
Can anyone take a look for this one? OPEN status JIRAs are being rapidly increased (from around 2400 to 2600) 2019년 4월 19일 (금) 오후 8:05, Hyukjin Kwon 님이 작성: > Hi all, > > Looks 'spark/dev/github_jira_sync.py' is not running correctly somewhere. > Usually the JIRA's status should be updated to "IN

In Apache Spark JIRA, spark/dev/github_jira_sync.py not running properly

2019-04-19 Thread Hyukjin Kwon
Hi all, Looks 'spark/dev/github_jira_sync.py' is not running correctly somewhere. Usually the JIRA's status should be updated to "IN PROGRESS" when somebody opens a PR against a JIRA. Looks now it only leaves a link and does not change JIRA's status. Can someone else who knows where it's running