Commit Graph

26 Commits (master)

Author SHA1 Message Date
Adeeb Shihadeh 8af20af66d
pylint: enforce indentation (W0311) (#24039)
* pylint: enforce indentation (W0311)

* few more
2022-03-24 23:23:29 -07:00
Adeeb Shihadeh b63bc89bc9
sentry fixups (#23249)
* set env

* do init in same place

* no sentry for forks

* start session

* start session

* remove that

* val
2022-01-14 15:25:16 -08:00
George Hotz dc96d4bee7
Add More Types for mypy (#23268)
* mypy passes

* a few more

* a few in manager

* more types, will lint

* more

* simple types

* events type

* Update selfdrive/thermald/thermald.py

* Apply suggestions from code review

Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
2021-12-28 18:07:00 +01:00
Shane Smiskol b745a14ff7
version.py: make function names more clear (#23216)
* rename a few version functions

* and is_prebuilt

* and some formatting 😊
2021-12-14 12:15:13 +01:00
Willem Melching f7c46c6949
Do not run code on version.py import (#23063)
* Do not run code on version.py import

* fix athena
2021-11-29 19:38:55 +01:00
Willem Melching ea0e611872
Switch to new sentry_sdk (#20690)
* remove unused crash.install

* use sentry_sdk in crash.py

* athena crashes dont rely on excepthook

* make default crash handler work

* make it work in athena

* fixup tombstoned
2021-04-22 15:24:35 +02:00
Willem Melching e7b4e4f7ea
rotate Sentry API keys (#20681) 2021-04-14 17:23:37 +02:00
Willem Melching 301500dff6
Upload android tombstones (#20459)
* upload android tombstones

* remove comment
2021-03-24 16:11:53 +01:00
Willem Melching 7b56ab7811 small tombstoned cleanup 2021-02-02 15:29:24 +01:00
Willem Melching 4cd17555c1 tombstoned: fix address offset in string 2021-01-27 16:16:17 +01:00
Willem Melching 39615f9108 remove temporary fixes 2021-01-27 16:08:49 +01:00
Willem Melching 5812e09f23 tombstoned: fault address is also not unique due to ASLR 2021-01-19 14:17:26 +01:00
Willem Melching 0897642a51 fix tombstoned path length 2021-01-19 11:13:58 +01:00
Willem Melching f3db94a0c4
Linux tombstones: add stacktrace and upload (#19737)
* Add stacktrace to tombstones

* make sentry output prettier

* Refactor

* Generate upload filename

* Actually move file

* Fix spaces

* copy and upload

* dont delete just yet

Co-authored-by: Comma Device <device@comma.ai>
2021-01-18 13:29:01 +01:00
Adeeb Shihadeh 1ac39ee9c3 bump tombstone size limit for tici 2020-12-28 16:41:34 -08:00
Adeeb Shihadeh dfbd658a2f
log remote and branch in sentry (#16766)
* log remote and branch in sentry

* also add to crash.py

Co-authored-by: Willem Melching <willem.melching@gmail.com>
2020-12-14 16:11:54 +01:00
Willem Melching 7d9fa1f85e
Tombstoned check crashlog permissions (#2576)
* check permission on apport crashes

* check permission bits
2020-11-19 17:08:46 +01:00
Willem Melching 47dfa52456
use iterator to loop over first 1000 entries (#2359) 2020-10-19 13:44:36 +02:00
Willem Melching e88edeb051
apport support for tombstoned (#2087)
* apport support for tombstoned

* Update manager

* Update comment
2020-08-26 19:06:56 +02:00
Willem Melching 843a64c72f
Make pylint more strict (#1626)
* make pylint more strict

* cleanup in progress

* done cleaning up

* no opendbc
2020-06-02 16:29:32 -07:00
Willem Melching e1685b9019 Remove fault addr from tombstone title 2020-04-28 11:32:42 -07:00
Willem Melching c495b2d9be Tombstone add exception handler 2020-03-31 14:47:46 -07:00
Willem Melching ca2d9af954 Fix comment 2020-03-31 14:43:53 -07:00
Willem Melching d8d2d568dc Simplify tombstoned, should fix #1258 2020-03-31 14:41:55 -07:00
Adeeb e8cb6ea06a
Abstract common events + event cleanup (#1129)
* too many if

* unused

* whitespace

* key

* sefldrive/car/*

* no more gctx

* lower

* start abstracting common events

* all cars

* start small

* all cars

* reverse gear

* wrongCarMode

* wrongGear

* espDisabled

* steerUnvailable

* make linter happy

* c isn't used

* fix esp_disabled in VW

* update ref

* more red

* more cleanup

* fix subaru

* update ref
2020-02-20 16:22:25 -08:00
George Hotz 2f9379a139 selfdrive/*.py 2020-01-17 11:03:42 -08:00