mozilla-frontend-infra/firefox-performance-dashboards

Some subtests fail to load

Opened this issue · 1 comments

Some subtests requests fail to load with the message:
Access to fetch at 'https://treeherder.mozilla.org/api/project/mozilla-central/performance/data/?framework=13&interval=5184000&no_retriggers=true&signature_id=4162401&signature_id=4162412&signature_id=4162413&signature_id=4162414&signature_id=4162415' from origin 'https://arewefastyet.com' has been blocked by CORS policy: No 'Access-Control-Allow-Origin' header is present on the requested resource. If an opaque response serves your needs, set the request's mode to 'no-cors' to fetch the resource with CORS disabled.

An example would be: https://arewefastyet.com/win10/benchmarks/raptor-desktop-matrix-react-bench?numDays=60

The issue is with the treeherder endpoint.

The endpoint works now for firefox signatures, but not for chrome or chromium.

But even the request that works is failing if we remove some of the signatures from the query: https://treeherder.mozilla.org/api/project/autoland/performance/data/?framework=13&interval=5184000&no_retriggers=true&signature_id=4142544&signature_id=4142547&signature_id=4142548

Also, for the failing chrome and chromium request (example) we can make them work if we leave only one signature in the request: https://treeherder.mozilla.org/api/project/mozilla-central/performance/data/?framework=13&interval=5184000&no_retriggers=true&signature_id=4162401

We need to deal with this bug directly from /performance/data/ endpoint. I will create a new task for that with Beatrice.