Project

General

Profile

action #90917

[teregen] Add notification about errors in template generating

Added by jbaier_cz 4 months ago. Updated 9 days ago.

Status:
New
Priority:
Normal
Assignee:
-
Target version:
Start date:
2021-04-09
Due date:
% Done:

0%

Estimated time:

Description

Often, there is a problem inside incident which cause the template not to be generated and the error is not spotted until someone needs the template. Then, one need to login to the server to view the logs and to find out the reason (usually a missing product definition). If the issue is easily fixable, one need to wait for MR to be merged and deployed and for template generator to pick up those changes during next runs. This might cause a delay.

I propose to make a proactive approach and notify on errors (RC channel would be probably a good idea) to allow faster reaction to problematic templates. To minimize spam, each error should be sent only once. As the template generator is not stateless (with introducing the test coverage feature), this should be no longer a problem to implement. Proof of concept how to send messages to RC already exists and the bot account should be also already active.

Things to consider:

  1. Sent notification storage (psql is already used elsewhere in the template generator)
  2. Outgoing hook implementation (can be part of a process -- output plugin; or wrapper script watching for return code)
  3. RC Bot integration (could send messages directly or through another service to allow interaction)

Related issues

Related to QA - action #90914: [teregen] Add overview for stored coverage dataNew2021-04-09

History

#1 Updated by jbaier_cz 3 months ago

  • Project changed from QAM to QA

This may be also used to report problems with coverage data.

#2 Updated by jbaier_cz 3 months ago

  • Related to action #90914: [teregen] Add overview for stored coverage data added

#3 Updated by jbaier_cz 9 days ago

  • Assignee deleted (jbaier_cz)

Also available in: Atom PDF