Skip to content
This repository was archived by the owner on Mar 13, 2025. It is now read-only.

Retry Queuing locks ticket in infinite loop #13

Closed
cwdcwd opened this issue Sep 29, 2018 · 4 comments
Closed

Retry Queuing locks ticket in infinite loop #13

cwdcwd opened this issue Sep 29, 2018 · 4 comments
Assignees
Labels
bug P1 Breaking issue. Immediate attention

Comments

@cwdcwd
Copy link
Contributor

cwdcwd commented Sep 29, 2018

When creating issues in Github or Gitlab it seems that failures to parse the ticket title cause the processing of the ticket to requeue. This puts the status field on the mongo record to challenge_creation_pending. Once that's set nothing gets updated. The only solution has been to:

  • clear any assignees
  • clear any TCX labels
  • delete the record
  • wait for the processor to catch up
  • reset the Open for Pickup label

after that everything seems to work. The only thing I've been able to tease out of the logs is a failure to parse the title prizes. Often existing or new bugs come in without prizes set before a ticket is opened and I think that might be a root cause.

@cwdcwd cwdcwd added bug P1 Breaking issue. Immediate attention labels Sep 29, 2018
@veshu
Copy link
Contributor

veshu commented Oct 1, 2018

@jmgasper @cwdcwd if there is no prize the issue is discarded from processing, so it shouldn't in be db with suc status. There must be some different steps to replicate this?

@jmgasper
Copy link
Collaborator

jmgasper commented Oct 1, 2018

@veshu - Yeah, let's make sure the issue is discarded from processing. Are you sure it won't be attempted to be added back later if the labels are changed or an assignee is changed later on? Please make sure to test this one quite a bit - it's been a bit of a thorny issue the last couple weeks.

@veshu
Copy link
Contributor

veshu commented Oct 1, 2018

@jmgasper Yes, issue doesn't reque if prize is [] or [$] or no [] in the title.
Without valid prize no event passes to the respective handler.

There must be some different situation that is causing this.

@jmgasper
Copy link
Collaborator

jmgasper commented Oct 1, 2018

@veshu - Please have a look at this one too, for context. Basically we don't think retrying ever works correctly: topcoder-archive/topcoder-platform-topcoder-x-ui#93

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
bug P1 Breaking issue. Immediate attention
Projects
None yet
Development

No branches or pull requests

3 participants