-
Notifications
You must be signed in to change notification settings - Fork 34
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[signoff] Pending review information should not include backed out changes #3103
Comments
When I try to reproduce this, the list view has the rolled back changes but the diff view is accurate. Regardless, the root problem is the API is returning rolled back changes. I think we should move this issue to the remote-settings project as its signer/changes plugins are responsible for this one. We have a few possible issues:
Of those options, I like 1 and 2 since they don't lose data. But if the changes data should be considered ephemeral, then I can see option 3 being the correct answer. |
Just to confirm, you mean the list view of history versus the "simple review" page?
So, the client requests the history endpoint for a list of changes, using the records timestamp of the destination collection (ie. kinto-admin/src/sagas/signoff.ts Lines 175 to 180 in d55c780
On rollback, the server sets the resetted collection to Maybe we could look for the timestamp of this operation, and adjust the request to the history endpoint accordingly? For example, instead of this: kinto-admin/src/sagas/signoff.ts Lines 190 to 197 in d55c780
We could do Or, since we have a server scheduled process that refreshes signatures regularly, we cannot use |
"Simple review" as well as the "Diff view" from the history page. (screenshot)
That is a very simple solution to this problem. Nicely done |
Unfortunately, last review date does not get touched when a rollback happens. The only date that appears to change is the collection's |
Source: https://bugzilla.mozilla.org/show_bug.cgi?id=1630609
STR:
Actual Results
Waiting Review
progress step, theChanges:
section includes the backed out changes in the counters(-X, +Y)
, and thedetails...
link leads to a history page that includes the backed out changes too.Expected Result
=> the
Changes:
section counters should not include backed out changes=> The history view when following the
details...
link should only show the changes from the last published versionThe text was updated successfully, but these errors were encountered: