Lily Kuang
7980b767c0
feat: Implement Celery SoftTimeLimit handling ( #13740 )
...
* log soft time limit error
* lint
* update test
2021-04-12 13:18:17 -07:00
Daniel Vaz Gaspar
89817d4cee
fix(alerts/reports): working timeout with celery kill and logic fix ( #13911 )
...
* fix: working timeout with celery kill and logic fix
* add config flags
* fix typo
* fix python lint
* log query time for alerts
* add tests
* fix lint
2021-04-08 11:23:31 +01:00
Daniel Vaz Gaspar
139c7878a5
fix(alerts&reports): add celery soft timeout support ( #13436 )
...
* fix(alerts&reports): add celery soft timeout support
* make a specific exception for screenshots timeout
* fix docs, add new test
2021-03-08 14:21:18 +00:00
Daniel Vaz Gaspar
6e3121268e
fix(alerts): Handle None on results ( #13289 )
2021-02-23 09:50:55 +00:00
Daniel Vaz Gaspar
13a5b439fe
feat(alerts): apply SQL limit to all alerts ( #13150 )
...
* feat(alerts): apply SQL limit to all alerts
* change limit to 2 and test
* undo mock
* mock, mock and mock
* lint
2021-02-17 18:03:35 +00:00
Daniel Vaz Gaspar
2e6ea76631
fix(alerts): void query with numeric comparison ( #13090 )
...
* fix(alerts): void query with numeric comparison
* remove config changes
* fix tests
* better logic
* fix logic
* fix logic
* Improve test readability
2021-02-15 17:09:47 +00:00
Daniel Vaz Gaspar
1a20552c2b
fix(reports): increase crontab size and alert fixes ( #12056 )
...
* fix(reports): increase crontab size
* update to current alembic revision
* Merge branch 'master' into feat/security-converge-datasets
# Conflicts:
# tests/security_tests.py
* Merge branch 'master' into feat/security-converge-datasets
# Conflicts:
# tests/security_tests.py
* Merge branch 'master' into feat/security-converge-datasets
# Conflicts:
# tests/security_tests.py
* lint
* update alembic revision
* fix related fields
* fix test
2020-12-17 18:03:05 +00:00
Daniel Vaz Gaspar
1e3aaab590
fix(reports): validator_config, report state machine, working_timeout ( #11890 )
...
* fix(reports): expect more exceptions and fix validator config
* use a state pattern on command reports
* use a state pattern on command reports continue
* fix multiple heads
* fix unittests
* add more tests
* fix api tests after enum rename
* fix alembic multiple heads
* fix tests
* fix fixture cleanup
* fix mysql tests
* fix initial and not found state
* fix schema, and private public methods, addressing comments
* add new col to the API
2020-12-09 18:19:07 +00:00
Daniel Vaz Gaspar
f27ebc4be5
feat: new reports scheduler ( #11711 )
...
* feat(reports): scheduler and delivery system
* working version
* improvements and fix grace_period
* add tests and fix bugs
* fix report API test
* test MySQL test fail
* delete-orphans
* fix MySQL tests
* address comments
* lint
2020-11-25 08:50:30 +00:00