-
Notifications
You must be signed in to change notification settings - Fork 97
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
Kill the max-count
parameter
#315
Comments
I just confirmed that the first issue would be fixed by my #312 : https://remove-experimental-label-sp-dot-wptdashboard-staging.appspot.com/api/runs?labels=experimental |
max-count
param in various APIsmax-count
parameter
After some offline discussion, we finally realized that It turned out Basically, there's no use case for cc @mdittmer |
I suspect @jugglinmike has a use-case for |
Thanks, @lukebjerring! (The issues Luke is referencing are gh-569 and gh-570.) For my part, I'm trying to retrieve the "run" information for all the results uploaded in a given date range (specifically, quarter 3 of 2018). If the API returned all data following the date specified by |
Also note that currently, the system has limitations on the number of runs it can successfully serve. Without the ability to limit the number of results (e.g. via
I need this data to determine how dependable the results collection system was over the course of quarter 3. @foolip discusses this use case in gh-588, and although he doesn't reference any errors, I believe they are the motivation for his request. |
That's the error, yes. I reported it in #587 but that was a dupe. |
Currently the
max-count
parameter is a bit confusing (or sometimes buggy). The document says:And we have a default
max-count
of 1 (not documented).Interaction with
labels=experimental
/api/runs?labels=experimental
only returns one run in total, not one run each browser. Other labels seem to work fine, so this is probably related to our special casing the "experimental" label (#311 ).Interaction with
sha=latest
When
max-count
is specified,sha=latest
is ignored. e.g./api/runs?max-count=5
gives five runs per browser, even though some of the runs are not at the latest SHA.There might be some other edge cases.
The text was updated successfully, but these errors were encountered: