Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetGithubIssue ¶
func GetGithubIssue(ctx context.Context, m kymapubsub.MessagePayload) error
GetGithubIssue is triggered by pubsub message with failing test instance details. It will check if received pubsub message data payload has github issue number and create new issue when missing. Created github issue number is added to failing test instance document in firestore and pubsub message data payload. If github issue is found in a message, it will check if it's status in github is open. If closed github issue detected, corresponding failing test instance in firestore will be closed and removed from pubsub message data payload. Function then will publish pubsub message back to topic creating new failing test instance in firestore. If new github issue was created or existing one is still open, function will publish message for further enriching failing test instance.
Types ¶
This section is empty.