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

30 Коммитов

Автор SHA1 Сообщение Дата
Valentin Rigal 4252aa4d5a
Update Django from 4.2 to 5.1 (#8218)
* Bump Django to 5.1.1 and django rest framework to 3.15.2

* Bump Python to 3.10

Also updates old references

* Replace AlterIndexTogether in migrations

https://docs.djangoproject.com/en/4.2/releases/4.2/#index-together-option-is-deprecated-in-favor-of-indexes

* Fix linters deprecation errors
2024-10-07 16:04:32 +02:00
Yoann Schneider 05a7deae77 N818: Exception name should be named with an Error suffix 2024-03-05 16:17:10 +01:00
Yoann Schneider 2291674f70 N801: Class name should use CapWords convention 2024-03-05 16:17:10 +01:00
Yoann Schneider 1e2af20849 N803: argument name should be lowercase 2024-03-05 16:17:10 +01:00
Yoann Schneider 642cff92bf N806: variables in functions should be lowercase 2024-03-05 16:17:10 +01:00
Yoann Schneider 8028121253
Bug 1823654 - Introduce pyupgrade (#7904)
* Ruff Auto fix

* Ruff unsafe fixes auto fix

* Use builtin list instead of typing.List

---------

Co-authored-by: Sebastian Hengst <aryx.github@gmx-topmail.de>
2024-02-02 21:02:10 +01:00
Yoann Schneider 25bb741fe7 Minimal changes introduced by Ruff formatter after double quotes enforcement 2024-02-01 14:59:25 +01:00
Yoann Schneider cfb19a5ef8
Bug 1823654 - Mostly use double quotes (#7900)
* Enable quote style verifications from Black

* Actually exclude migrations folders
2024-01-31 16:59:20 +01:00
EvaBardou 1ea6031b99 Enforce querysets order between mysql and psql 2023-08-11 11:45:43 +02:00
EvaBardou b70edaa7ea New Black changes 2023-06-20 10:58:40 +02:00
Bastien Abadie 68596acba4
Bump to python 3.8 (#7438)
* Bump to python 3.8

* Avoid RuntimeError: dictionary keys changed during iteration

* Fix hanging test_tracker_updates_records_with_missing_data

* Disable pytest warning on on Unraisable exceptions
2022-05-16 11:30:31 -07:00
beatrice-acasandrei 8103bba785
Bug 1759702 - Add noise profile to sort criteria (#7409)
* Bug 1759702 - Add noise profile to sort criteria

* Bug 1759702 - Address change request
2022-03-18 10:56:34 +02:00
beatrice-acasandrei 56a5322f9d
Bug 1733943 - Expose Sherlock backfill tasks by status (#7343)
* Bug 1733943 - Expose Sherlock backfill tasks by status

* Bug 1733943 - Address change requests

* Bug 1733943 - Changed migration file: renamed total_backfills_triggered field

* Bug 1733943 - BE tests and UI change - status italic

* Bug 1733943 - UI tests
2022-01-05 10:07:48 +02:00
beatrice-acasandrei 024af33cbd
Bug 1744732 - Display last activity date in deleted performance signa… (#7339)
* Bug 1744732 - Display last activity date in deleted performance signatures email

* Bug 1744732 - Display only date in email
2021-12-10 10:53:29 +02:00
beatrice-acasandrei 5f14ee55c4
Bug 1725577 - Aggregate auto backfill emails to daily frequency (#7244)
* Bug 1725577 - WIP

* Bug 1725577 - Temporary tests
2021-09-01 09:53:11 +03:00
beatrice-acasandrei 5513067613
Bug 1719840 - Add backfill support for OSX as well (#7211) 2021-07-19 09:21:11 +03:00
beatrice-acasandrei 1545bf6ccc
Bug 1719466 - Alter alert filtering to support macosx (#7203) 2021-07-13 17:34:47 -07:00
beatrice-acasandrei f260b33c28
Bug 1711717 - Only backfill untriaged alerts (#7144)
* Bug 1711717 - Backfill only untriaged alerts

* Bug 1711717 - Address request changes
2021-05-20 14:42:18 +03:00
ionutgoldan e5808234c6
Don't backfill the same job (#7113)
Co-authored-by: Alexandru Irimovici <airimovici@mozilla.com>
2021-05-05 13:56:15 -07:00
ionutgoldan 2c00696f1e
Bug 1705366 - Sherlock correctly targets alerts 2021-04-19 11:30:18 +03:00
ionutgoldan 38d971a249
Bug 1704020 - Fix field completion in email's table
* fix email' s initial description
* fix push range hyperlink
* set job symbol instead of job type
* relocated method for setting job symbol
* provide searchStr param similar to that computed by frontend
* add partial unit tests
* define test stub
* provide better markdown values for alert summary & push range fields

Co-authored-by: Alexandru Irimovici <airimovici@mozilla.com>
2021-04-19 10:42:19 +03:00
ionutgoldan 14de47438c
Bug 1703507 - Enable Sherlock on Windows (#7092)
* provide easy-to-use config for supported platforms
* provide test coverage for Windows backfills
2021-04-07 18:16:31 +03:00
ionutgoldan c37ddb93a8
Bug 1618829 - Fully enable PerfSheriffBot
* fix package typo
* really fix the encoding error on TaskclusterModel null object
* automatically set null object for backfilling
* fully enable secretary
2021-04-07 14:47:08 +03:00
ionutgoldan a7e1f79283
Bug 1702410 - Reflect backfill bot' s new name in logs
* rename backfill bot' s packages to Sherlock
* slight logs adjustments to Sherlock
* replace 'Perfsheriff bot' prefix with 'Sherlock'
* adjust comment referring to Sherlock
* rename SecretaryTool to Secretary
2021-04-05 16:27:38 +03:00
ionutgoldan 2ab2630f62
Bug 1689620 - Soft launch backfill tool (#7006)
* Bug 1689620 - PerfSheriffBot reports outcome
* provide schema migration for extended backfill records
* delegate content creation
* stabilize or temporary silence part of the tests
* group PerfSheriffBot' s components under single package
* rename PerfSheriffBot' script
* extract Notify service
* abstract away perf sheriff bot' s instantiation
* refactor email writting
* refactor delete notification email
* provide proper subject & content for backfill report email
* merge email modules into one
* provide NullObject for email notifier
* fix tests from BigQuery integration
* fix notification mocks in tests
* build push range link
* raise appropriate exceptions from email composition
* improve Linux perf alert fixture
* handle json error exception when writing email
* exclude abstract methods from coverage
* ensure TaskclusterModelImpl cannot be instantiated on production
* basic unit tests for email notifications related to expiring signatures
* ensure happy path testing for BackfillNotificationWriter via PerfSheriffBot
* provide coverage for TaskclusterModelImpl' s constructor
* address some PyCharm inspection warnings
* better group tests for deletion email writer
* test email integration in PerfSheriffBot
* provide email writer via dependency injection to ease testability
* turn some private methods into staticmethods
2021-03-08 11:46:07 -08:00
ionutgoldan 2bc041cd6d
Bug 1663604 - Extend the Bugzilla formulas columns to include the alerts amount for each excel row 2020-09-21 13:57:14 +03:00
ionutgoldan bb82f7e00c
Bug 1659656 - Provide subtest granularity 2020-08-26 11:33:56 +03:00
ionutgoldan 10ccd44545
Bug 1649387 - Provide enhanced management script for Bugzilla formulas 2020-07-17 08:57:11 +03:00
ionutgoldan 53187ffcb0
Bug 1643667 - Fix ratio implementation 2020-06-24 08:54:11 +03:00
ionutgoldan 2fbe6d3260
Bug 1642554 - Implement model for engineer traction formula 2020-06-12 11:27:57 +03:00