Project

General

Profile

Actions

action #153886

open

SMELT incidents and Release Requests IDs are not unique and may interfere with update approval decision

Added by mgrifalconi 10 months ago. Updated 8 months ago.

Status:
New
Priority:
Normal
Assignee:
-
Target version:
Start date:
2024-01-18
Due date:
% Done:

0%

Estimated time:

Description

I would like to raise 2 issues (to be verified) about the current approval process of maintenance updates:

  • SMELT Incidents ID can be reused for multiple Release Requests and what the process uses right now is the incident ID to tag a test that is crucial for the RR approval. Now the bot/dashboard combo uses a workaround of deleting some openqa results (from dashboard DB) to prevent issues (see https://github.com/openSUSE/qem-dashboard/pull/78/files ) but this makes the bot approval logic complex and shared between bot and dashboard code. Would be nice to switch from SMELT ID to IBS RR ID (or just add the RR on top) to resolve the issue at the origin.

  • RR are not unique either, but in a different way: RR can be revoked and then reopen (maybe with different content to test? to be checked). I know the bot recognize (some) changes and re-triggers incident tests, but what about aggregates? Is there a chance they could be wrongly considered for approval decision? Also incident channels could be changed while the incident/RR combo is being tested causing some confusion on bot side. If this proves to be a real issue, a solution idea would be to make sure test results related to older 'version' of a RR are not considered and the bot waits for new ones. Maybe add to SMELT-ID/RR combo, also a timestamp of smelt-incident/ibs-rr latest change?

I can expect the valid argument that these are rare corner cases, but we should also consider that we are here to catch corner cases. Complex updates that gets modified while being tested should get enhanced attention and not reduced IMO.


Related issues 1 (1 open0 closed)

Related to QA - action #155206: [qem-bot] re-release update can miss repo and thus not schedule updatesNew2024-02-08

Actions
Actions #1

Updated by okurz 10 months ago

  • Project changed from openQA Project to QA
  • Target version set to future
Actions #2

Updated by okurz 10 months ago

  • Related to action #155206: [qem-bot] re-release update can miss repo and thus not schedule updates added
Actions #3

Updated by hurhaj 8 months ago

RR is unique and once revoked, the number cannot be reused. I assume this is a confusion between declining the review and revoking the RR. If the review is declined, RR is in state declined and the review can be reopened, but in such case nothing in the update can be changed. Once RR is revoked, it's better to presume something has changed - new submissions being merged, channels adjustments, even new packages being branched into the incident. So in short, you can expect RR to be unique and immutable.

Actions

Also available in: Atom PDF