Project

General

Profile

action #111506

Updated by mkittler almost 2 years ago

## Observation 
 Development group 'pstivanin-security@Server-DVD-Updates' results synced to qem dashboard 

 We already filter out development Development jobs in should not one part of incident approval so they are filtered by: 

 https://github.com/openSUSE/qem-bot/blob/master/openqabot/aggrsync.py#L53-L68 in case of aggregates or https://github.com/openSUSE/qem-bot/blob/master/openqabot/incsyncres.py#L48-L61 

 but today *pstivanin-security* leaked to qem-dashboard when it shouldn't show it. 

 ## Acceptance criteria 
 * **AC1:** Development jobs should not be part of incident approval 
 * **AC2:** Dashboard no longer shows development jobs 

 ## Suggestions 
 * Don't let the bot submit development jobs to the dashboard 
 * Prevent duplication in https://github.com/openSUSE/qem-bot/blob/master/openqabot/aggrsync.py#L53-L68 and https://github.com/openSUSE/qem-bot/blob/master/openqabot/incsyncres.py#L48-L61 
 * Also exclude jobs that are part of any parent job group regardless of the job group names 

 ## Further notes 
 * A "development job" is a job in a job group or in a parent job group where the name contains "Development". 



 

Back