Closed Bug 1342531 Opened 8 years ago Closed 8 years ago

required signoffs are not accurate in scheduled changes in some cases

Categories

(Release Engineering Graveyard :: Applications: Balrog (backend), defect, P1)

defect

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: bhearsum, Assigned: bhearsum)

References

Details

Attachments

(1 file)

While testing out bug 1310227, I found a couple of issues: 1) If you scheduled a change that will update a row to something that won't require signoff, but the current version of the row *does* require signoff, we never find required signoffs. 2) We never find any required signoffs for deletes. Both of these problems boil down to the fact that https://github.com/mozilla/balrog/blob/1bc8439bc7d4cf996738a069987f4a39d29f6edf/auslib/admin/views/scheduled_changes.py#L46 is only checking the scheduled change for required signoffs, not the current version of the row.
Priority: -- → P1
(In reply to Ben Hearsum (:bhearsum) from comment #0) > 2) We never find any required signoffs for deletes. This is actually wrong, at least for the Rules case. We end up grabbing all possible required signoffs there, because "product" and "channel" are null in the scheduled change, which means all product required signoffs match.
Attachment #8841700 - Flags: review?(nthomas) → review+
Attachment #8841700 - Flags: review?(jlorenzo) → review+
Commit pushed to master at https://github.com/mozilla/balrog https://github.com/mozilla/balrog/commit/2fb35857b6aa63723af07e966ba2b42dd7437de5 bug 1342531: required signoffs are not accurate in scheduled changes in some cases (#266). r=nthomas,jlorenzo
Depends on: 1345586
This hit production today.
Status: NEW → RESOLVED
Closed: 8 years ago
Resolution: --- → FIXED
Product: Release Engineering → Release Engineering Graveyard
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: