Граф коммитов

354 Коммитов

Автор SHA1 Сообщение Дата
dependabot[bot] f380dbbb35
Bump elliptic from 6.5.0 to 6.5.3 (#79)
Bumps [elliptic](https://github.com/indutny/elliptic) from 6.5.0 to 6.5.3.
- [Release notes](https://github.com/indutny/elliptic/releases)
- [Commits](https://github.com/indutny/elliptic/compare/v6.5.0...v6.5.3)

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2020-07-30 10:24:35 -04:00
dependabot[bot] 0590cb1e15
Bump acorn from 6.3.0 to 6.4.1 (#75)
Bumps [acorn](https://github.com/acornjs/acorn) from 6.3.0 to 6.4.1.
- [Release notes](https://github.com/acornjs/acorn/releases)
- [Commits](https://github.com/acornjs/acorn/compare/6.3.0...6.4.1)

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2020-03-16 12:57:26 -04:00
dependabot[bot] 1b55143dcd Bump handlebars from 4.1.2 to 4.5.3 (#74)
Bumps [handlebars](https://github.com/wycats/handlebars.js) from 4.1.2 to 4.5.3.
- [Release notes](https://github.com/wycats/handlebars.js/releases)
- [Changelog](https://github.com/wycats/handlebars.js/blob/master/release-notes.md)
- [Commits](https://github.com/wycats/handlebars.js/compare/v4.1.2...v4.5.3)

Signed-off-by: dependabot[bot] <support@github.com>
2019-12-31 14:13:35 -05:00
Armen Zambrano 5455a5d52d
Fix #71 - Fetch Nimbledroid data from nimbledroid-admin user (#73)
* Fix #71 - Fetch Nimbledroid data from nimbledroid-admin user
* Handle Profiled status and empty data

Until now, all profiled results from Nimbledroid had a status of `Failure`.
It seems they fixed the bug and we now have the `Profiled` status being used.

I've noticed that some of the end points return empty data and we now handle it.
2019-11-26 16:09:58 -05:00
Kyle Lahnakoski cbde0b44c3 Add another platform to Nimbledroid + some .gitignore changes (#72) 2019-11-22 20:22:16 -05:00
Jason Cooke bf30ee6155 docs: fix typo 2019-10-23 08:24:23 -04:00
dependabot[bot] 88a561b790 Bump eslint-utils from 1.4.0 to 1.4.2
Bumps [eslint-utils](https://github.com/mysticatea/eslint-utils) from 1.4.0 to 1.4.2.
- [Release notes](https://github.com/mysticatea/eslint-utils/releases)
- [Commits](https://github.com/mysticatea/eslint-utils/compare/v1.4.0...v1.4.2)

Signed-off-by: dependabot[bot] <support@github.com>
2019-09-09 10:32:12 -04:00
Armen Zambrano G 27c7e3b4f6 Refresh yarn.lock 2019-08-15 16:01:37 -04:00
Armen Zambrano G 64afae2a7b Heroku should not call neutrino directly 2019-08-13 11:29:45 -04:00
Armen Zambrano G f12f1a040b Switch to Neutrino 9 RC3 2019-08-12 14:04:00 -04:00
dependabot[bot] 82f085a03e Bump handlebars from 4.1.1 to 4.1.2
Bumps [handlebars](https://github.com/wycats/handlebars.js) from 4.1.1 to 4.1.2.
- [Release notes](https://github.com/wycats/handlebars.js/releases)
- [Changelog](https://github.com/wycats/handlebars.js/blob/master/release-notes.md)
- [Commits](https://github.com/wycats/handlebars.js/compare/v4.1.1...v4.1.2)

Signed-off-by: dependabot[bot] <support@github.com>
2019-07-16 12:12:17 -04:00
dependabot[bot] b5ea6d35ff Bump lodash from 4.17.11 to 4.17.14
Bumps [lodash](https://github.com/lodash/lodash) from 4.17.11 to 4.17.14.
- [Release notes](https://github.com/lodash/lodash/releases)
- [Commits](https://github.com/lodash/lodash/compare/4.17.11...4.17.14)

Signed-off-by: dependabot[bot] <support@github.com>
2019-07-16 12:12:11 -04:00
dependabot[bot] fec5730026 Bump js-yaml from 3.13.0 to 3.13.1
Bumps [js-yaml](https://github.com/nodeca/js-yaml) from 3.13.0 to 3.13.1.
- [Release notes](https://github.com/nodeca/js-yaml/releases)
- [Changelog](https://github.com/nodeca/js-yaml/blob/master/CHANGELOG.md)
- [Commits](https://github.com/nodeca/js-yaml/compare/3.13.0...3.13.1)

Signed-off-by: dependabot[bot] <support@github.com>
2019-07-16 12:12:04 -04:00
Kyle Lahnakoski ff2a36fc2d remove klar, update reference browser name 2019-04-11 14:06:00 -04:00
Mozilla-GitHub-Standards f7fcff97b8 Add Mozilla Code of Conduct file
Fixes #58.

_(Message COC002)_
2019-04-01 10:21:41 -04:00
Armen Zambrano G d24383d8af Missed to remove 'version' from the Nimbledroid endpoint code 2019-03-28 10:17:01 -04:00
Armen Zambrano G 4908fe86ea Upgrade yarn.lock dependencies 2019-03-28 09:52:53 -04:00
Kyle Lahnakoski 230bedf661 add two platforms to nimbledroid 2019-03-28 09:44:28 -04:00
Armen Zambrano G 047aa2d80c Issue #54 - Remove support for fetching data from Google spreadsheets
This removes the /perf/notes and /android/klar apis
2019-03-13 11:06:06 -04:00
Armen Zambrano 0c8ea4f177
Merge pull request #56 from mozilla/nimbledroid
Nimbledroid changes
2019-03-12 13:04:43 -04:00
Armen Zambrano G 58b39fdf51 Drop old Nimbledroid code & remove versioning of API
When we released version 3 of the API we left around the old code.

In the future try not to add different versions of the APIs if you
don't need to support multiple versions of the API at the same time.
2019-03-12 12:19:42 -04:00
Armen Zambrano G 942c680778 Customize logging for script to fetch Nimbledroid data
This adds the [debug](package) to customize the logging for
Nimbledroid's data fetching script.

The Heroku run will execute without debugging information
since it clutters the output.

We also add a note to the documentation to know how to include the debug
messages.
2019-03-12 12:19:20 -04:00
Armen Zambrano G e96c0f8592 Do not fetch data for org.mozilla.focus 2019-03-12 12:19:20 -04:00
Armen Zambrano G 8891de098a Notes on what to do if Nimbledroid data seems old 2019-03-12 12:19:20 -04:00
Armen Zambrano G 85f1be592a Take note of REDIS being required for Nimbledroid data fetching 2019-03-12 12:19:20 -04:00
Armen Zambrano G 1172b6e3c9 Ignore dump.rdb 2019-03-12 12:19:06 -04:00
Armen Zambrano b6aa16624d Add docs about how we fetch Nimbledroid data 2018-12-20 15:12:35 -05:00
stuartphilp cdc94b08f6 Add tier 1 perf probes to telemetry config (#51)
* Add new tier 1 perf probes to telemetry config
* fix nonblankpaint metric name
2018-11-26 09:46:24 -05:00
Armen Zambrano G 3a67fdef91 Remove code for APIs that are not in use anymore 2018-11-14 11:29:59 -05:00
Armen Zambrano G 4bb3d35623 Update yarn.lock with integrity entries 2018-10-25 17:15:19 -04:00
Armen Zambrano G d1171ef409 Start fetching org.mozilla.geckoview_example data from Nimbledroid
This is to support:
https://github.com/mozilla-frontend-infra/firefox-health-dashboard/issues/195
2018-10-25 17:15:19 -04:00
Armen Zambrano G 2bf761deff New version of the Nimbledroid endpoint
This new version includes the latest version for a product.
This is to support https://github.com/mozilla-frontend-infra/firefox-health-dashboard/issues/166
2018-10-05 11:24:05 -04:00
Armen Zambrano 853b6adea2
Merge pull request #47 from mozilla/improved_api
Optimized Nimbledroid API
2018-09-13 11:55:53 -04:00
Armen Zambrano G dbba04177d Add koa-compress to compress Json returned data 2018-09-13 11:36:21 -04:00
Armen Zambrano G 83897f7fc3 Optimized Nimbledroid API
If you call the API with `?version=2` you will get the minimum amount
of data needed to display on the frontend.
2018-09-13 10:46:15 -04:00
Armen Zambrano G de1fc9a1eb Support Chrome beta data in the Nimbledroid API
We want to display in the UI Chrome beta data:
https://github.com/mozilla/firefox-health-dashboard/issues/133

This makes the fetching script also store data for Chrome beta.

This also changes the endpoint to require calling it with "?product=org.mozilla.focus"
rather than "?product=focus".
2018-09-10 19:19:55 -04:00
Armen Zambrano G 668d358922 Script fetching Nimbledroid data should return a proper exit code
See this issue for details:
https://github.com/mozilla/firefox-health-dashboard/issues/132#issuecomment-419163074

We also add more verbosity and build the project before calling the script to reflect
code changes to the script.
2018-09-07 09:40:09 -04:00
Armen Zambrano G efeb57bf87 Fix repoUrl 2018-07-26 15:05:22 -04:00
Armen Zambrano 980f57123a
Merge pull request #44 from mozilla/nimbledroid_data_fetching
Fetch Nimbledroid data outside of endpoint
2018-07-23 14:53:14 -04:00
Armen Zambrano G 101b4528dc Add postdeploy for Review App to load Nimbledroid data 2018-07-23 14:47:53 -04:00
Armen Zambrano G da40d58d04 Throw 400 error when REDIS_URL is not set + tests 2018-07-23 14:47:53 -04:00
Armen Zambrano G 4c64e2b75a Nimbledroid endpoint to use script-fetched data 2018-07-23 14:47:53 -04:00
Armen Zambrano G bf890ec707 Script to fetch Nimbledroid data
This script will cache all Nimbledroid data for focus and klar in Redis.

The two fetches are only cached for 30 minutes since the number of code
landing for focus/klar is approximately that. If Nimbledroid's profiling runs
throughput at the same speed we should get the most recent data.

In the future, the API will have pagination (about 10 runs) and will give us
the number of the most recent build. The code in this patch is already taken
some of that into account and will make switching to it require less development
work.

Only profiling runs that are completed (marked as "Failed") are cached indefinitively.
2018-07-23 14:47:53 -04:00
Armen Zambrano G c7b5d02522 Fix console message 2018-07-23 14:47:53 -04:00
Armen Zambrano G 205bdb028a Review apps should add the heroku-redis addon 2018-07-23 14:45:36 -04:00
Armen Zambrano G 08ed899dd8 Refactor redis setup
For some reason, redis was not working for me locally.
Upon further research I noticed that `then-redis` has been depecrated
and we can use `async-redis` to help using async/await.

I refactored the fetchText.js module to separate the logic when
using Redis and when not.
2018-07-23 14:45:36 -04:00
Armen Zambrano G 9e277ff677 no-op: We do not use buildId for fetching Nimbledroid data 2018-07-23 14:37:00 -04:00
Armen Zambrano G 5986b05c4b Remove Chrome history as it is not used 2018-07-19 10:51:31 -04:00
Armen Zambrano G d06327e12e Issue #39 - Add Nimbledroid endpoint
* Add documentation to enable Nimbledroid fetching
* Heroku review app configuration changes to copy Nimbledroid env variables
* Add /api/android/nimbledroid endpoint
* Add central configuration file
* Add Nimbledroid tests
2018-07-10 15:34:55 -04:00
Armen Zambrano G 9f5a9aaefc Use fetch-mock for tests and switch from node-fetch to isomorphic-fetch 2018-07-10 15:32:54 -04:00