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

2613 Коммитов

Автор SHA1 Сообщение Дата
dependabot[bot] 8fee452823
chore(deps): bump django from 3.2.3 to 3.2.4 in /app (#5379) 2021-06-11 00:11:47 +00:00
Rob Hudson c121f12957
fix(nimbus): Fix nimbus-ui compile warning (#5416) 2021-06-10 16:48:15 -07:00
Benjamin Forehand Jr 124494a2de
Initial commit adding e2e live test. (#5389)
* Initial commit adding e2e remote settings live test.

* Review updates

* Remove recursive flag.

* Fix typo.
2021-06-10 11:34:57 -06:00
Rob Hudson 258574f9f9
fix #4574, #4575 feat(visualization): group default secondary metrics (#5131) 2021-06-10 09:37:28 -07:00
Lauren Zugai b1df634693
fix(nimbus): Fix nimbus-ui compile warning (#5403) 2021-06-10 09:21:52 -05:00
Les Orchard 65ad5924d1
chore(nimbus): spread factory lifecycle changelog events out over a random timespan (#5399)
Because:

* Life cycle events in experiments created via load_dummy_experiments
  appear to happen all within the same minute

This commit:

* Spreads the life cycle events out over a much longer random timespan
  similar to legacy experimenter
2021-06-09 13:08:41 -07:00
dependabot[bot] 0eda205e25
chore(deps): bump ipdb from 0.13.8 to 0.13.9 in /app (#5385) 2021-06-07 20:50:48 +00:00
dependabot[bot] 0085a4fa2b
chore(deps): bump pytest-django from 4.3.0 to 4.4.0 in /app (#5387) 2021-06-07 20:16:17 +00:00
dependabot[bot] f3b10f2f2b
chore(deps): bump pytest-cov from 2.12.0 to 2.12.1 in /app (#5383) 2021-06-07 19:50:47 +00:00
dependabot[bot] f15e5a58ec
chore(deps-dev): bump eslint-config-standard in /app (#5384) 2021-06-07 18:37:09 +00:00
dependabot[bot] 1f53e577c4
chore(deps): bump react-dom from 16.13.1 to 17.0.2 in /app (#5378) 2021-06-07 18:35:44 +00:00
dependabot[bot] bba36e5865
chore(deps): bump black from 21.5b1 to 21.5b2 in /app (#5377) 2021-06-07 18:34:00 +00:00
dependabot[bot] eab64a084e
chore(deps): bump importlib-metadata from 4.4.0 to 4.5.0 in /app/tests (#5375) 2021-06-07 18:32:28 +00:00
Jared Lockhart 815e417ced
fix #5316 feat(nimbus): make kinto timeout configurable and push to kinto immediately (#5370)
Because

* We'd like to be able to push to kinto immediately after approving a launch/change/end
* We need to be able to evaluate a timeout separately from the time since the last push happened

This commit

* Uses the time since the last change was made to determine whether a kinto change should time out
* Pushes to kinto immediately after approving instead of waiting for the next scheduled task run
* Introduces published_dto_changed to NimbusChangeLog to be able to distinguish live updates from live rejections
* Removes the 0170 data migration tests because they only pass if 0170 is the most recent migration
2021-06-04 13:39:14 -04:00
Tif Tran 58520ffde2
fix #5145 bug(reporting): Model Changes to allow old_status to be None and str rep change (#5146)
Because:

* old_status needs to be ble to be None for creation changelogs
* String representation change would allow for easier debugging

This commit:

* allows old_status to be None
* Changes the str rep of ReportLog object to something more descriptive
2021-06-04 08:58:40 -07:00
Lauren Zugai 5f491b9ab6
fixes #5103 feat(nimbus): Display feature config review readiness errors, remove +/x feature config (#5322)
Because:
* We want to display the feature config ready for review error
* Since feature configs are now required, we no longer want "+ Feature config" and "X" for removal

This commit:
* Displays feature config review readiness error in reference branch
* Displays feature config review readiness error in treatment branch if that branch has previously been saved or shows other errors
* Removes the "+ Feature configuration" button, "X" removal, and related UI elements/tests to always show this drawer as open
* Adds missing label for feature config
2021-06-03 18:54:31 -05:00
Jared Lockhart 93a1ed7979
fix #5367 bug(nimbus): end experiment rejection hides end button (#5368)
Because

* We neglected to reset the isEndRequested flag when rejecting from the nimbus UI
* Experiment gets stuck if it's rejected

This commit

* Resets isEndRequested to false when rejecting from nimbus ui
2021-06-03 13:26:04 -04:00
Jared Lockhart 0cf4255490
fix #5356 bug(nimbus): handle multiple launch/end changelogs (#5359)
Because

* We expect an experiment to only launch or end once and only have single launch/end changelogs
* Real data is muddy and messy
* We should elegantly handle the case where there's multiple starts/ends

This commit

* Uses the most recent launch or end changelog to compute the start/end dates
2021-06-01 15:54:36 -04:00
Jody Heavener 5af0861fa0
fixes #5355 feat(nimbus): display gql error on homepage directory (#5362) 2021-06-01 15:07:00 -04:00
Jared Lockhart 2648cb2fe7
fix #5360 bug(nimbus): intermittent test failure test_waiting_to_pause_only_returns_pausing_experiments (#5363)
Because

* We recently fixed a bug with pausing and added a new test
* Just noticed that it's intermittent

This commit

* Adds additional filters to prevent intermittency
2021-06-01 14:47:27 -04:00
dependabot[bot] ba09f2df7d
chore(deps): bump importlib-metadata from 4.3.1 to 4.4.0 in /app (#5361) 2021-06-01 18:19:07 +00:00
dependabot[bot] e6bb99e925
chore(deps): bump ipdb from 0.13.7 to 0.13.8 in /app (#5330) 2021-06-01 17:58:35 +00:00
dependabot[bot] 5539894620
chore(deps-dev): bump stylelint from 13.7.2 to 13.13.1 in /app (#5332) 2021-06-01 17:58:22 +00:00
dependabot[bot] 3d468ff647
chore(deps-dev): bump eslint-plugin-promise from 4.3.1 to 5.1.0 in /app (#5334) 2021-06-01 17:58:07 +00:00
dependabot[bot] 77bf3953aa
chore(deps-dev): bump eslint-plugin-flowtype from 4.7.0 to 5.7.2 in /app (#5335) 2021-06-01 17:57:52 +00:00
dependabot[bot] a6f28a819a
chore(deps): bump typescript from 4.2.4 to 4.3.2 in /app (#5336) 2021-06-01 17:57:39 +00:00
dependabot[bot] f66fe6c784
chore(deps): bump dns-packet from 1.3.1 to 1.3.4 in /app (#5323) 2021-06-01 17:53:47 +00:00
dependabot[bot] 183d80f42d
chore(deps): bump urllib3 from 1.26.4 to 1.26.5 in /app/tests (#5325) 2021-06-01 17:53:36 +00:00
dependabot[bot] 8627af5edb
chore(deps): bump execnet from 1.8.0 to 1.8.1 in /app/tests (#5326) 2021-06-01 17:53:27 +00:00
dependabot[bot] 252398f6f3
chore(deps): bump importlib-metadata from 4.0.1 to 4.3.1 in /app/tests (#5327) 2021-06-01 17:53:21 +00:00
dependabot[bot] 85715b76d4
chore(deps): bump certifi from 2020.12.5 to 2021.5.30 in /app/tests (#5328) 2021-06-01 17:53:13 +00:00
dependabot[bot] df2504e27b
chore(deps): bump idna from 3.1 to 3.2 in /app/tests (#5329) 2021-06-01 17:52:58 +00:00
Jared Lockhart feddd0f947
fix #5353 chore(nimbus): split lifecycles and filters (#5354)
Because

* While working on a recent bug I discovered that one of our lifecycle states was malformed
* Tests were passing becuase the same lifecycle state was used as part of logic and part of tests
* Using separate state definitions for logic and tests can help catch future bugs

This commit

* Moves the lifecycles over to the test factory and hard codes definitions in the model filters
2021-06-01 12:58:08 -04:00
Jared Lockhart a4545b3f4d
fix #5351 bug(nimbus): paused experiments are stuck in waiting (#5352)
Because

* We recently refactored everything to use these handy declarative lifecycles
* We accidentally used the wrong one when considering experiments to update their pause state

This commit

* Renames some of the lifecycles to be more consistent
* Adds the necessary lifecycle for experiments waiting to be paused
* Updates tasks/tests
2021-06-01 10:50:02 -04:00
Chuck Thomas f6e3b9d7c8
fixes 5324 style(legacy): fix typo (#5342) 2021-05-31 17:46:46 -04:00
Jared Lockhart 7fbec8a6fa
fix #5340 bug(nimbus): test_404 fails in make bash pytest but passes in make check (#5341)
Because

* We noticed test_404 was failing locally in make bash pytest but passing in make check
* It's passing in manage.py test in either context
* So what is happening?

This commit
* Figured out that pytest and django both set DEBUG=False when running tests, overriding whatever your local DEBUG is set to
* But they do it differently, django sets it globally from startup, whereas pytest will use the environment DEBUG and only set it to False within individual test runs
* We have a urlpattern for /404/ when DEBUG is True
* When pytest starts on a local environment with DEBUG=True, that path will get registered
* If /404/ is a registered path then attempting to resolve /404 will trigger a redirect to append the slash to hit /404/ which happens when pytest is run in an environment with DEBUG=True in .env
* If /404/ is NOT a registered path, ie when DEBUG is globally False or when using manage.py test, then /404 will result in an expected 404
* Woof.
2021-05-31 14:41:45 -04:00
Marina Samuel 61040da92b
fix #5248: fix(visualization): Add a minimum width% for confidence intervals. (#5317)
Because:
* The CI bounds text was overlapping

This commit:
* Adds a minimum width to ensure they don't overlap
2021-05-28 13:23:32 -04:00
Jody Heavener 6ccbefa22b
fixes #4289 feat(nimbus): display review-readiness messages on branch fields (#5315) 2021-05-28 13:10:40 -04:00
Lauren Zugai 7d280b1c22
fixes #5246 feat(nimbus): Alter ready for review error messages in BE, consolidate in FE (#5302)
Because:
* The server-generated messages weren't user friendly for all fields
* We have a bunch of server-side messaging scattered in Storybook that could be stuck together for consistent/easy reference

This commit:
* Adjusts ready for review error messaging in the serializer
* Creates a new SERVER_ERRORS const in the FE for Storybook and tests
2021-05-27 15:53:03 -05:00
Tim D. Smith 4c187e03bc
fix(visualization): Retitle search metric (#5311)
These are not scaled by day, so "daily" isn't correct; we're presenting numbers summed over the entire period of analysis.
2021-05-27 08:41:57 -04:00
Jared Lockhart f8ee40654d
chore(nimbus): add kinto to make up_prod (#5305)
Because

- The integration tests run against make up_prod
- The integration tests will need to interact with kinto

This commit

- Exposes kinto to make up_prod
2021-05-25 17:49:08 -06:00
dependabot[bot] b45a8b86d4
chore(deps-dev): bump prettier-plugin-organize-imports from 1.1.1 to 2.1.0 in /app (#5297) 2021-05-25 19:00:46 +00:00
dependabot[bot] 3131c75114
chore(deps): bump typescript from 4.2.3 to 4.2.4 in /app (#5299) 2021-05-25 18:05:33 +00:00
dependabot[bot] 1653b332bf
chore(deps-dev): bump eslint-plugin-jest from 24.3.5 to 24.3.6 in /app (#5296) 2021-05-25 18:05:05 +00:00
dependabot[bot] d642e144f1
chore(deps): bump celery from 5.0.5 to 5.1.0 in /app (#5293) 2021-05-25 18:04:46 +00:00
Jody Heavener 50a2316829
fixes #4656 feat(nimbus): render review-readiness messages in new format (#5277) 2021-05-25 11:51:33 -04:00
dependabot[bot] 23a8f1b796
chore(deps): bump more-itertools from 8.7.0 to 8.8.0 in /app/tests (#5292)
Bumps [more-itertools](https://github.com/more-itertools/more-itertools) from 8.7.0 to 8.8.0.
- [Release notes](https://github.com/more-itertools/more-itertools/releases)
- [Commits](https://github.com/more-itertools/more-itertools/compare/v8.7.0...v8.8.0)

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-05-24 16:55:28 -06:00
dependabot[bot] 6ab2805419
chore(deps): bump django from 3.2.2 to 3.2.3 in /app (#5285) 2021-05-20 19:21:59 +00:00
Les Orchard 0ba3797edf
chore(deps): fix Storybook builds by completing other upgrades (#5284)
Because:

* a partial upgrade of dependencies caused broken Storybook builds

This commit:

* completes upgrades of other dependencies, which appears to fix things
2021-05-20 11:11:41 -07:00
dependabot[bot] dd2a82959c
chore(deps): bump djangorestframework-csv from 2.1.0 to 2.1.1 in /app (#5258) 2021-05-20 15:49:13 +00:00