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

12 Коммитов

Автор SHA1 Сообщение Дата
Yashika Khurana 66624fae4b
feat(cirrus): Set glean max event buffer value (#10070)
Because

- When setting up glean sdk on cirrus side, we set the maxEvents to 500,
which means it waits on the client side to gather all 500 events, and
once it gets 500 then it sends the batch of events. Implementing
applications should be able to adjust the value that works best for
them.

This commit

- Add the option to set no. of events to store in buffer through `.env`,
by default it uses `10` now

Fixes #9534
2024-01-22 20:42:38 +00:00
Yashika Khurana 72c533b938
feat(cirrus): Configure sentry for different projects (#10045)
Because

- We are using Sentry for all the Cirrus implementing applications such
as Monitor, VPN, and so on...... Currently, it is hard to track where
the error is coming from until we see the issue in detail.

This commit

- Sentry supports the concept of environment, so in the same project you
can configure different environment
- By default, Sentry uses a `production` environment, so the default
value used in initialization is `production`
- Add support for using environment so that the `cirrus-stage` project
can have `monitor-stage` and `vpn-stage` and similarly `cirrus-prod` can
have `monitor-prod` and `vpn-prod` environments.

Note: Sentry
[environment](https://docs.sentry.io/product/sentry-basics/concepts/environments/)
selection also makes it easy to filter the issues, for example

![image](https://github.com/mozilla/experimenter/assets/25848231/34f7dd90-c19a-4c5d-9541-9fb8168167ea)


Fixes #9999
2024-01-15 18:55:08 +00:00
Jared Lockhart 0b0be61dec
chore(project): remove google analytics (#10021)
Because

* We have Google Analytics enabled but don't use it

This commit

* Removes Google Analytics

fixes #10019
2024-01-09 19:33:57 +00:00
Mathieu Leplatre 6d42bf46f1
Implement most trivial rules from our quality standards (#9711)
Because

- We are trying to promote [Quality
Standards](https://mozilla.github.io/syseng-pod/quality-standards/)
across Mozilla's repositories
- Experimenter has a [very good score
already](https://mozilla.github.io/syseng-pod/quality-standards/#service-Experimenter)

This PR

- Implements a few of the harmless ones to improve even the score :)

---------

Co-authored-by: Jared Lockhart <119884+jaredlockhart@users.noreply.github.com>
Co-authored-by: Yashika Khurana <yashikakhuranayashika@gmail.com>
2023-11-10 01:18:05 +00:00
Yashika Khurana 51e43b776a
fix #9387 feat(cirrus): Cirrus demo app integration tests (#9658)
Because

- We have a demo app that can test the integration end to end, it has
the frontend and backend.
- We could stand up the experimenter, launch the experiment or rollout,
and push to RS, Cirrus can sync to RS and then the frontend can send a
request to the backend and then backend can reach out to Cirrus and can
ask for the feature config
- When the backend receives the response, can send the response back to
the frontend

This commit

- Tests end-to-end integration between the experimenter, RS, Cirrus, and
Demo app
- Test both the experiment and rollout end to end

fixes #9387
2023-11-03 19:47:01 +00:00
Mike Williams 20aa3cc93f
fix #7185 chore(project): update local dev authentication for Jetstream (#7218)
* fix #7185 chore(project): update local dev authentication for Jetstream

* update env vars for integration; add troubleshooting tip

* add gcp project access info
2022-05-04 15:07:26 -04:00
Tif Tran d723f2978f
fixes #6055 fix(legacy): change jira DS url to new url (#6056)
* fixes #6055 fix(legacy): change jira DS url to new url

Because:
* Jira migration therefore new jira url

This commit:
* Hardcodes the new DS jira url in settings.py

* tweak

* remove DS_ISSUE_HOST from .env files

* remove unused import
2021-07-28 12:26:12 -07:00
Jared Lockhart 082bbab61e
fix #5983 bug(nimbus): modify timing on timeout integration test (#5985)
Because

* With the settings we shipped, timeout=60s, refresh=30s, wait=45*2=90s, we expect that after two invocations of the celery task the experiment will be marked as timed out and 90s gives us that extra 30s to wait, but I've observed that since the timeout calculation is detached from the celery schedule, it may occur that on the second invocation it can be milliseconds below the timeout point and so it won't timeout until the third invocation, and since that's 90s which butts up right against the 90s the test waits it can randomly happen just after the test ends, I verified that the test did in fact end just before the experiment was marked as timed out

This commit

* Changes the integration test timing to timeout=40s, refresh=20s, wait=60*2=120s which should give enough time for three invocations of the task to occur
2021-07-19 14:22:20 -04:00
Jared Lockhart 76a8dc0efa
fix #5986 chore(project): increase COMPOSE_HTTP_TIMEOUT (#5987)
Because

* We've seen a lot of intermittent failures in circle complaining about COMPOSE_HTTP_TIMEOUT being too low

This commit

* Let's try increasing it and see if that helps
2021-07-16 17:10:17 -04:00
Benjamin Forehand Jr e3c1ae91fc
Revert "chore(nimbus): decrease integration test celery timing (#5887)" (#5963)
This reverts commit 32b83147ec.
2021-07-15 16:41:28 -04:00
Jared Lockhart 32b83147ec
chore(nimbus): decrease integration test celery timing (#5887)
Because

* We should be able to decrease the celery task timeouts so speed up the integration tests

This commit

* Turns them down to 5s to update and 10s to timeout
2021-07-06 15:57:34 -04: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