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

9931 Коммитов

Автор SHA1 Сообщение Дата
Armen Zambrano G 90c3d98cf3 Disable no-unused-vars for few lines 2019-08-21 16:16:45 -04:00
Renovate Bot 88e9754baa Update dependency eslint to v6.2.1 2019-08-21 16:16:45 -04:00
Cameron Dawson 6581c84289 Fix retriggers and add new jobs 2019-08-21 12:02:26 -07:00
Cameron Dawson 9f37dc3343 Bug 1331399 - Reduce payload size and memory footprint of job data
This fixes the issues with retriggering and add-new-jobs that the
original PR introduced.  It also adds a few unit tests to catch
this potential mistake in the future.

This reverts commit ffd871ae34.
2019-08-21 12:02:26 -07:00
Cameron Dawson 8fd8849fd1 Bug 1575334 - Fix errors when currentRepo is set incorrectly 2019-08-21 10:26:24 -07:00
Armen Zambrano G 68fa9d62b1 Add test for generating production build
Up until now we were not testing the same code path that Heroku follows to
generate the front-end build.

Heroku runs the `yarn install` command under `NODE_ENV=production` which causes
only the production dependencies to be installed. In the case of
[PR 5283](#5283), we moved `neutrino`
from `dependencies` to `devDependencies` and went unnoticed until Heroku tried to deploy
the change. See output [1].

This change adds one more entry for Travis where we only install the production dependencies
before running `yarn build`.

[1]
```shell
2019-08-16 19:34:49 -----> Build
2019-08-16 19:34:49        Detected both "build" and "heroku-postbuild" scripts
2019-08-16 19:34:49        Running heroku-postbuild (yarn)
2019-08-16 19:34:50        yarn run v1.17.3
2019-08-16 19:34:50        $ yarn build
2019-08-16 19:34:50        $ node ./node_modules/webpack/bin/webpack.js --mode production
/tmp/build_375161ca12e2f192c2c9b1caab8276cd/node_modules/webpack-cli/bin/cli.js:93
				throw err;
				^
Error: Cannot find module 'neutrino'
```
2019-08-21 12:06:13 -04:00
Renovate Bot f3ce701547 Update dependency d3 to v5.10.0 2019-08-20 14:47:14 -04:00
Renovate Bot ea220e0cf8 Update dependency @testing-library/jest-dom to v4.0.1 2019-08-20 10:46:42 -04:00
Renovate Bot c06a65e13e Update dependency webpack-cli to v3.3.7 2019-08-19 09:46:20 -04:00
Renovate Bot 346afc22c6 Update dependency @testing-library/react to v9.1.3 2019-08-19 09:45:24 -04:00
Renovate Bot b993b5910b Update dependency jest to v24.9.0 2019-08-19 09:42:49 -04:00
Cameron Dawson 8ad1b1fec0 Bug 1572095 - Fix commit/revision links after changing repo 2019-08-16 15:30:35 -07:00
Armen Zambrano G 76871f8fac Revert "Add test for generating production build"
This reverts commit 0de7751485.
2019-08-16 17:22:46 -04:00
Sarah Clements 0fb09c85b1
Bug 1573162 - Patch to prevent UI from breaking in Perfherder (#5288)
If more tests are added than colors are provided, show the excess as grey
2019-08-16 14:20:15 -07:00
Armen Zambrano G bb9fd9bb16 Revert "Move Neutrino packages to devDependencies"
This reverts commit 26eca55117.
2019-08-16 17:17:01 -04:00
Armen Zambrano G 0de7751485 Add test for generating production build
Up until now we were not testing the same code path that Heroku follows to
generate the front-end build.

Heroku runs the `yarn install` command under `NODE_ENV=production` which causes
only the production dependencies to be installed. In the case of
[PR 5283](https://github.com/mozilla/treeherder/pull/5283), we moved `neutrino`
from `dependencies` to `devDependencies` and went unnoticed until Heroku tried to deploy
the change. See output [1].

This change adds one more entry for Travis where we only install the production dependencies
before running `yarn build`.

[1]
```shell
2019-08-16 19:34:49 -----> Build
2019-08-16 19:34:49        Detected both "build" and "heroku-postbuild" scripts
2019-08-16 19:34:49        Running heroku-postbuild (yarn)
2019-08-16 19:34:50        yarn run v1.17.3
2019-08-16 19:34:50        $ yarn build
2019-08-16 19:34:50        $ node ./node_modules/webpack/bin/webpack.js --mode production
/tmp/build_375161ca12e2f192c2c9b1caab8276cd/node_modules/webpack-cli/bin/cli.js:93
				throw err;
				^
Error: Cannot find module 'neutrino'
```
2019-08-16 17:07:28 -04:00
Armen Zambrano G cdcb207a4d Move @testing-library/react to devDependency 2019-08-16 15:21:33 -04:00
Armen Zambrano G 26eca55117 Move Neutrino packages to devDependencies 2019-08-16 15:21:33 -04:00
Armen Zambrano G edba247921 Remove popper.js 2019-08-16 15:21:33 -04:00
Renovate Bot 2baea057c2 Update dependency react-lazylog to v4.3.2 2019-08-15 12:58:07 -04:00
Renovate Bot 81fa30b24c Update dependency webpack to v4.39.2 2019-08-15 09:01:44 -04:00
Cameron Dawson ffd871ae34 Revert "Bug 1331399 - Trim job data that we store"
This reverts commit 613d7f0172.
2019-08-14 11:58:40 -07:00
Cameron Dawson 34db5dc991 Revert "Bug 1573923 - Fix Custom actions and retriggers"
This reverts commit 761a3e9ae8.
2019-08-14 11:58:23 -07:00
Cameron Dawson 761a3e9ae8 Bug 1573923 - Fix Custom actions and retriggers 2019-08-14 11:26:37 -07:00
renovate[bot] eb93c4b7f9 Update dependency eslint-plugin-react to v7.14.3 (#5095)
* Update dependency eslint-plugin-react to v7.14.3
* Disable `react/prop-types` rule
2019-08-14 11:45:06 -04:00
ionutgoldan e158eb0a4a
Bug 1470599 - Provide framework selection in Compare view 2019-08-14 17:46:14 +03:00
Renovate Bot 78f3887641 Update dependency eslint-plugin-jest to v22.15.1 2019-08-14 07:36:07 -04:00
Renovate Bot 0e9c097bac Update dependency @testing-library/react to v9.1.1 2019-08-14 07:35:39 -04:00
Cameron Dawson 613d7f0172 Bug 1331399 - Trim job data that we store 2019-08-13 14:45:21 -07:00
Sebastian Hengst 9d4f591dee Bug 1571319 - Start reused interface to add jobs by fuzzy search with submit in not disabled state 2019-08-13 08:46:46 -07:00
Renovate Bot 7b4a802703 Update dependency react-hot-loader to v4.12.11 2019-08-13 08:26:32 -04:00
Cameron Dawson c58badbe60 Bug 1510280 - Convert PinnedJobs context to Redux 2019-08-12 14:08:49 -07:00
Renovate Bot e7a25ac22d Update react monorepo to v16.9.0 2019-08-12 09:43:52 -04:00
Renovate Bot bfb225e819 Update dependency webpack-dev-server to v3.8.0 2019-08-12 09:42:16 -04:00
Renovate Bot 2dbdea8b73 Update dependency @testing-library/react to v9 2019-08-12 09:40:14 -04:00
Renovate Bot dd8c44ed4b Update dependency react-day-picker to v7.3.2 2019-08-09 11:12:37 -04:00
dependabot-preview[bot] 9247cf9ea3 Bump redis from 3.3.5 to 3.3.6 in /requirements
Bumps [redis](https://github.com/andymccurdy/redis-py) from 3.3.5 to 3.3.6.
- [Release notes](https://github.com/andymccurdy/redis-py/releases)
- [Changelog](https://github.com/andymccurdy/redis-py/blob/master/CHANGES)
- [Commits](https://github.com/andymccurdy/redis-py/compare/3.3.5...3.3.6)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-08-09 07:46:11 -07:00
dependabot-preview[bot] 2cade69efd Bump pbr from 5.4.1 to 5.4.2 in /requirements
Bumps [pbr](https://docs.openstack.org/pbr/latest/) from 5.4.1 to 5.4.2.

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-08-09 07:45:38 -07:00
Cameron Dawson 37949edf4f Bug 1572117 - Show the "minutes" text next to duration in job details 2019-08-08 12:36:27 -07:00
Cameron Dawson 069c1ecaf1 Bug 1572283 - Fix filtering link by job data
This was breaking add new jobs and filtering
2019-08-08 12:36:27 -07:00
Cameron Dawson f044cfa23c
Bug 1572387 - Fix lag for classified jobs getting updated (#5256) 2019-08-08 12:20:50 -07:00
Cameron Dawson f408887675
Bug 1572255 - Fix set top and bottom of range links (#5253) 2019-08-08 12:19:23 -07:00
Sarah Clements 7f2eecbf87
Revert "Bug 1570775 - remove all references to Mac OS X 10.10 from constants.js (#5227)" (#5257)
This reverts commit 61ead43655.
2019-08-08 12:13:29 -07:00
Renovate Bot 30876a7974 Update dependency eslint-plugin-jest to v22.15.0 2019-08-08 14:03:17 -04:00
Armen Zambrano G 879918708a Switch from `jest-dom` to `@testing-library/jest-dom`
`jest-dom` has moved to `@testing-library/jest-dom`. Please uninstall jest-dom and install `@testing-library/jest-dom` instead,
or use an older version of `jest-dom`. If you do upgrade to `@testing-library/jest-dom`, make sure to update your usage of `jest-dom`
to use `@testing-library/jest-dom/extend-expect` rather than simply `jest-dom/extend-expect`. Learn more about this change here:
https://github.com/testing-library/dom-testing-library/issues/260 Thanks!
2019-08-08 10:10:16 -04:00
Dave Hunt f41612a066 Add Alexandru and Marian to CC list on performance bug template 2019-08-08 09:58:55 +01:00
Dave Hunt 7a65c12506 Change default component in performance bug templates to Testing :: Performance 2019-08-08 09:58:55 +01:00
Dave Hunt 39889e9216 Update wiki links in performance bug templates 2019-08-08 09:58:55 +01:00
Cameron Dawson e6baf686f6
Fix btnClass being applied incorrectly to jobs and counts (#5250) 2019-08-07 15:35:54 -07:00
Renovate Bot 7a32141817 Update dependency @testing-library/react to v8.0.8 2019-08-07 17:00:17 -04:00