missing events in activity feed (some projects are completely ignored)
Summary
In some (rare?) cases the activity feed (ATOM) of a given user does not contain his or her latest events. Some projects are not considered when collecting the list of latest events.
In this case you can observe an inconsistency between the HTML output (all non-public projects of the user are considered) and the ATOM-XML output (some non-public projects of the user are not considered).
Steps to reproduce
Some effort is required to reproduce this issue.
You will need at least 21 non-public projects p_1, ..., p_21 (created in this order). Create for each p_i (for i = 1 to 21 in this order) a commit event.
Get the activity feed (click on the feed icon (on the right-hand side) at https://your.gitlab.tld/dashboard/activity
What is the current bug behavior?
You'll observe that the latest commit (within project p_21) is not included in the ATOM-XML feed output, which is a bug!
What is the expected correct behavior?
The latest commit (in p_21) should be the first item in the ATOM-XML feed output.
Possible fixes
An analysis of the bug and a bugfix can be found in merge request !22041 (closed)