Open Bug 1565009 Opened 6 years ago Updated 1 year ago

Allow bug lists to be shown and/or rolled back to a timestamp

Categories

(bugzilla.mozilla.org :: Search, enhancement)

Production
enhancement
Not set
normal

Tracking

()

People

(Reporter: emceeaich, Unassigned)

References

(Depends on 1 open bug)

Details

RelMan and other customers have a use case where for a given set of bugs (such as bugs in a component found affecting a release train) they would like to see the bugs at snap shots in time.

This could be done as a synthetic search result by requesting a bug list through the API, requesting history in the returned fields and reverting each change in the history in the reverse order they arrived to get back to the bug's state at a particular time.

Bug histories may be unreliable so using it to roll back to a prior state may not work. See bug 1513955.

:imadueme, is there a more reliable source of truth on bug histories?

Depends on: 1513955
Flags: needinfo?(imadueme)

(In reply to Emma Humphries, Bugmaster ☕️🎸🧞‍♀️✨ (she/her) [:emceeaich] (UTC-8) needinfo? me from comment #0)

[...] requesting history in the returned fields and reverting each change in the history in the reverse order they arrived to get back to the bug's state at a particular time.

This is what I'm doing in bugbug (https://github.com/mozilla/bugbug/blob/e84c248e19abc7a349e454c5e1012bff9cf57b19/bugbug/bug_snapshot.py#L1). There are a lot of corner cases though (mostly the ones I filed as blocking bug 1513955).

(In reply to Emma Humphries, Bugmaster ☕️🎸🧞‍♀️✨ (she/her) [:emceeaich] (UTC-8) needinfo? me from comment #1)

Bug histories may be unreliable so using it to roll back to a prior state may not work. See bug 1513955.

:imadueme, is there a more reliable source of truth on bug histories?

Sorry for the delay on this. I don't believe there's a more reliable history. the holes the kohei mentioned are present, so a full rewind of history actually may not be possible. We'd probably have to sit down and decide what history can/should be rewinded.

Flags: needinfo?(imadueme)
The content of attachment 9381381 [details] has been deleted for the following reason: Spam
You need to log in before you can comment on or make changes to this bug.