This repository was archived by the owner on Mar 13, 2025. It is now read-only.
This repository was archived by the owner on Mar 13, 2025. It is now read-only.
[$200] Notification of expired tokens #444
Closed
Description
When Github / Gitlab tokens expire, it can cause problems with processing tickets. We should figure out a way to notify copilots when tokens expire.
I think the best approach would be to handle this in the processor:
- If an event is raised that the processor should handle (opened ticket, assigned, closed for payment, etc...), but the processor can't handle it because of an expired token
- Use the Topcoder messaging Kafka queue to send an email to the copilot of the project alerting them that an event failed. Something like:
Hi
handle
,
You made an update to ticketlink to ticket
, but Topcoder-X couldn't process it properly because yourGitlab or Github
token has expired. To fix this, please login to x.topcoder.com, click your handle in the upper right and then "Settings" to refresh your token. You will need to redo the action that failed inGitlab or Github
.