Skip to content
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
@jmgasper

Description

@jmgasper

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:

  1. 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
  2. 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 ticket link to ticket, but Topcoder-X couldn't process it properly because your Gitlab 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 in Gitlab or Github.

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions