Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
230 commits
Select commit Hold shift + click to select a range
4d827a4
Rivian: update mando radar interface (#2700)
lukasloetkolben Dec 17, 2025
673076d
gm: Refactor to make branches clearer and remove unreachable `else` (…
mpurnell1 Dec 18, 2025
3ff5371
safety: remove redundant checks in psa, rivian, and toyota (#2949)
mpurnell1 Dec 18, 2025
f7201a2
HKG: Add FW for 2023 Kia Sportage Hybrid (#2974)
jyoung8607 Dec 20, 2025
622f2b1
CI: use tags for cppcheck update (#2976)
adeebshihadeh Dec 20, 2025
4aa7ca9
Add `CarInterface.DRIVABLE_GEARS` attribute (#2978)
adeebshihadeh Dec 20, 2025
fe7dbcf
Add ty type checker (#2993)
adeebshihadeh Dec 28, 2025
3981d35
Remove mypy configuration and references (#2995)
adeebshihadeh Dec 28, 2025
edf19be
ty: less ignores (#2994)
adeebshihadeh Dec 28, 2025
bb1f1a7
ty: Fix typo in ignored rule causing failing CI (#2997)
mpurnell1 Dec 29, 2025
c278560
Hyundai: document SCC_CONTROL signal preservation for ACC cancel (#2996)
nikitap066 Dec 29, 2025
5314249
crcmod -> crcmod-plus (#2999)
adeebshihadeh Dec 30, 2025
04c72ca
test.sh: ensure uv.lock is consistent with pyproject (#3000)
adeebshihadeh Dec 30, 2025
df0f84b
libsafety: fix building with mutation env (#3001)
adeebshihadeh Dec 30, 2025
7391f46
get mutation tests running on macOS (#2998)
adeebshihadeh Dec 30, 2025
508fa28
board/ is dead (#3003)
adeebshihadeh Dec 30, 2025
cef1bbe
Ford: remove unused stock long safety (#3005)
adeebshihadeh Dec 30, 2025
34cae2f
Chrysler: fix safety build on clang (#3006)
adeebshihadeh Dec 30, 2025
9fc469a
safety: always run tests with UBSAN (#3007)
adeebshihadeh Dec 30, 2025
f812bf7
safety: single libsafety.so (#3013)
adeebshihadeh Dec 31, 2025
e6d902e
VW PQ: Revert change to gear position VAL table (#3020)
jyoung8607 Jan 4, 2026
3ea2e66
cleanup CARS.md generation (#3021)
jyoung8607 Jan 5, 2026
d2fa82f
VW: Allow PQ/MLB cars to drive on dev builds (#3022)
jyoung8607 Jan 5, 2026
419512f
Honda - Bump CRV Hybrid to 2026 (#2988)
mvl-boston Jan 5, 2026
c866a53
VW MLB: Add FW for 2026 Porsche Macan (#3023)
jyoung8607 Jan 5, 2026
d12538d
VW PQ: Update HCA Status to use Mode 2 (Status 7) (#2722)
tealtwo Jan 5, 2026
5cc41b9
Toyota: Lexus LS 500 2018 (#3010)
Hacheoy Jan 5, 2026
f8f370b
Honda: bump Acura MDX to 2026 (#2979)
mvl-boston Jan 5, 2026
9e29684
Toyota: whitelist hybrids for standstill resume behaviour (#3009)
nikitap066 Jan 11, 2026
c80388a
Revert "safety: single libsafety.so" (#3030)
sshane Jan 12, 2026
de02716
Reapply "safety: single libsafety.so" (#3030)
sshane Jan 12, 2026
e94b05f
EV6: add EU specification for alternate harness (#3031)
sshane Jan 13, 2026
eb6752f
tests don't remove extra packages
sshane Jan 13, 2026
dc67cb1
Minor Tesla cleanup
sshane Jan 13, 2026
58f0332
Tesla: support FSD 14 (#2934)
sshane Jan 13, 2026
9842830
Revert "EV6: add EU specification for alternate harness (#3031)"
sshane Jan 13, 2026
f38dd73
Car docs: rm coupler for four (#3034)
sshane Jan 14, 2026
aecb99e
Docs cleanup: Inconsistent wording (#3035)
ugtthis Jan 15, 2026
ac94e05
Fingerprint Subaru Impreza G4 (#3033)
tknsgk Jan 15, 2026
c1c8a34
Tesla: Add FSD active state (#3036)
dzid26 Jan 16, 2026
a9f6796
Tesla: Brake to ESP_status (#2628)
lukasloetkolben Jan 16, 2026
52236c1
Kia Optima Hybrid 2019: add new FW (#3038)
sshane Jan 16, 2026
b899b2f
Add issue templates (#3039)
sshane Jan 16, 2026
05e786c
Honda: Add FW for 2025 Honda Accord Hybrid (#3042)
jyoung8607 Jan 16, 2026
9d3c885
fix indent to 4 spaces (#3041)
ugtthis Jan 17, 2026
80f030a
Car diff (#3024)
elkoled Jan 19, 2026
796ece2
libsafety: switch to clang 18 and only build mull in standalone mode …
adeebshihadeh Jan 19, 2026
a3ec54f
docs: Scheduled auto-update CARS.md
adeebshihadeh Jan 20, 2026
4ec3892
pin python dependencies (#3047)
adeebshihadeh Jan 20, 2026
63b2526
Subaru: fix RPM size and label neutral (#3048)
sshane Jan 21, 2026
3b75bd8
Car diff: fix PR comment (#3045)
elkoled Jan 21, 2026
839d239
fingerprint subaru impreza 2019 (#2980)
AlexandreSato Jan 21, 2026
6ba695c
Honda: Taiwan 2025 HR-V Fingerprint (#2969)
eFiniLan Jan 21, 2026
23b15a7
Subaru: add additional steering angle and clutch depressed (#3051)
sshane Jan 21, 2026
f64e0bf
Add misc bug template (#3057)
sshane Jan 22, 2026
01a2984
Fixup car differ (#3056)
sshane Jan 22, 2026
33c1840
Honda - CANFD Acura TLX 2025 (#3037)
mvl-boston Jan 22, 2026
d56dd7f
Chrysler: correct radar lateral position sign (#3043)
nikitap066 Jan 22, 2026
8f5e320
Tesla: add FSD 14 failsafe detection (#3053)
sshane Jan 23, 2026
fd5e5b5
Honda: Allow manual for 10G Civic (#3025)
mvl-boston Jan 23, 2026
0020a2f
HKG: add FW Hyundai Tucson HEV 2022 EUR (#3061)
JavierUEM Jan 23, 2026
3657bc3
Honda - Euro Civic Type R FK8 support (#2986)
mvl-boston Jan 23, 2026
0185a52
Toyota: Prevent EPS fault during unwind after sharp turn (#2859)
wtogami Jan 23, 2026
1908668
docs: Scheduled auto-update CARS.md
adeebshihadeh Jan 23, 2026
32bb2ac
Added GS_450h ECU details to fingerprints.py file under GS_F (#3015)
gs450h Jan 23, 2026
1b3e0ce
CarDocs: Update car package name (#3065)
ugtthis Jan 24, 2026
2000d7d
Tesla: Add support for Model 3 (#3050)
smurf88sys Jan 24, 2026
703b9ef
Car diff: rm except (#3062)
elkoled Jan 24, 2026
1538c53
Honda - support RDX 3G variants with brake booster (alt_brake) (#2973)
mvl-boston Jan 24, 2026
2dc6879
HKG: add FW for 2022 Hyundai Kona Electric (#2981)
royjr Jan 24, 2026
eaba233
Car diff: add trace (#3066)
elkoled Jan 24, 2026
f88c531
[bot] Update cppcheck to 2.19.1 (#2982)
commaci-public Jan 24, 2026
1196a24
tesla: add radar CAN parsing and radar interface for model 3 (#3011)
gregjhogan Jan 24, 2026
d424d1f
docs: Scheduled auto-update CARS.md
adeebshihadeh Jan 24, 2026
2a1ba5e
Mazda: Add cruise button events for accel and decel (#3027)
nikitap066 Jan 27, 2026
dd606ee
car tests: cache hypothesis strategies (#3052)
felmonon Jan 27, 2026
c7319ff
[bot] Update uv.lock (#3071)
commaci-public Jan 27, 2026
d88e0aa
Car diff: padding (#3068)
elkoled Jan 27, 2026
b038e6e
Car diff: skip comment on first timer PR (#3067)
elkoled Jan 27, 2026
8a25621
Toyota: clean up alpha long (#3074)
sshane Jan 28, 2026
cbff382
Toyota: clean up radarUnavailable (#3075)
sshane Jan 28, 2026
c3dd561
Car diff: add typing (#3073)
elkoled Jan 28, 2026
1cd92ab
Toyota: remove NO_STOP_TIMER flag (#3076)
sshane Jan 28, 2026
c79e675
honda: init class variables in __init__
sshane Jan 28, 2026
d8d9e9b
Honda: Taiwan Odyssey 2019 (#2985)
eFiniLan Jan 28, 2026
9b3aef1
docs: Scheduled auto-update CARS.md
adeebshihadeh Jan 28, 2026
0702326
VW MLB: Add FW for 2023 Porsche Macan S (#3078)
jyoung8607 Jan 28, 2026
ffbe609
Tesla: detect missing DAS_settings (#3082)
sshane Jan 29, 2026
9b93deb
Nissan: Enable steering at standstill (#2812)
gncnpk Jan 29, 2026
900cb87
Toyota: Add SnG to Lexus LS, update torque data. (#3080)
Hacheoy Jan 29, 2026
5e71fde
Toyota SecOC platforms should use torque control (#3086)
sshane Jan 29, 2026
8361471
Remove angle RAV4 platform from PID list (#3085)
sshane Jan 29, 2026
c8e92d0
Remove RAV4 2022 from PID lateral control (#3087)
sshane Jan 29, 2026
7d7cf05
Car diff: add CarParams (#3077)
elkoled Jan 30, 2026
e76c2cf
Toyota: make RAV4 TSS2 use torque control (#3091)
sshane Jan 30, 2026
3b342d7
Honda - move brakehold_alt to honda_common (#2758)
mvl-boston Jan 30, 2026
f80dc22
add STEERING_DIRECTION bit to gwm_haval_h6_phev_2024.dbc (#3093)
AlexandreSato Jan 30, 2026
6a18a5f
Honda: Update to latest community car support (#3089)
mvl-boston Jan 30, 2026
2da21d7
body: optimize CRC-8 checksum with lookup table (#3028)
KRRT7 Jan 31, 2026
7048ac6
Car Diff: better comment (#3090)
elkoled Jan 31, 2026
50f1b43
Car diff: lazy load (#3092)
elkoled Jan 31, 2026
8a60a64
Subaru global: use universal angle signal for angle cars (#3094)
sshane Jan 31, 2026
b5a90e9
Fix Subaru steering angle rate (#3095)
sshane Jan 31, 2026
197b55e
Subaru hybrid: fix cruise enabled signal (#3097)
sshane Jan 31, 2026
497727c
docs: Scheduled auto-update CARS.md
adeebshihadeh Jan 31, 2026
3392232
Subaru ANGLE_LKAS: fix cruise control signals (#3096)
sshane Jan 31, 2026
3676621
Clean up Subaru interface/angle cars (#3099)
sshane Jan 31, 2026
cc29c45
Subaru: remove unused safety angle measurement (#3100)
sshane Jan 31, 2026
c2eba0b
Fix Subaru message definitions for HighBeamAssist and static messages…
jacobwaller Feb 1, 2026
de9d0ef
add Subaru angle/hybrid cruise TODO
sshane Feb 1, 2026
fe3bf23
typo
sshane Feb 1, 2026
3d6860a
Car Diff: wrap output (#3098)
elkoled Feb 1, 2026
ccbf96e
[bot] Update uv.lock (#3104)
commaci-public Feb 2, 2026
7c78ee8
replace natsort with lil function (#3105)
adeebshihadeh Feb 2, 2026
62567a2
Operation GAC (Silverado Tuning) (#3106)
firestar5683 Feb 4, 2026
39ee861
Subaru: Add FW for 2020 Subaru Legacy (#3111)
jyoung8607 Feb 5, 2026
2ddc95a
Revert "Operation GAC (Silverado Tuning) (#3106)"
sshane Feb 5, 2026
b175dde
GM: Sigmoidal Offsets (#3110)
firestar5683 Feb 5, 2026
0534898
GM: add Silverado FP variant (#3116)
sshane Feb 7, 2026
143e87f
[bot] Update uv.lock (#3118)
commaci-public Feb 9, 2026
3a1d798
VW MQB: Add FW for 2020 Audi Q3 (#3121)
jyoung8607 Feb 10, 2026
245cb1f
VW MQB: Add WMI for FAW-Volkswagen in China (#3122)
jyoung8607 Feb 10, 2026
4fdadc8
VW: Rename aux bus to alt (#3127)
tealtwo Feb 15, 2026
647441e
Honda - Add 2020 Civic Si fingerprints (#3120)
mvl-boston Feb 16, 2026
1741c2f
Honda - Brazil HRV fingerprint (#2941)
mvl-boston Feb 16, 2026
817dc1a
[bot] Update uv.lock (#3133)
commaci-public Feb 16, 2026
6708f08
restore vehicle model CI test routes (#3143)
jyoung8607 Feb 19, 2026
54b7490
HKG: Kia K7 2017 Port (#3123)
royjr Feb 19, 2026
c123758
docs: Scheduled auto-update CARS.md
adeebshihadeh Feb 20, 2026
b10b431
CI: update CI to reflect removal of docker (#3149)
mpurnell1 Feb 22, 2026
e6c1d6a
[bot] Update uv.lock (#3153)
commaci-public Feb 23, 2026
a2c3ad0
use vendored cppcheck from dependencies repo (#3154)
adeebshihadeh Feb 23, 2026
ffe10c0
switch to system compiler (GCC) for libsafety tests (#3155)
adeebshihadeh Feb 23, 2026
8b4b2f5
HKG: add 2019 Ioniq Electric RHD fingerprints (#3152)
droggs Feb 23, 2026
01c9a78
car docs - removing devel branch from footnote (#3157)
mvl-boston Feb 25, 2026
2133a5a
VW: Refactor HCA mitigation into standalone class (#3160)
jyoung8607 Feb 26, 2026
cbcc9c5
CI for the people, but in opendbc (#3163)
sunnyhaibin Mar 1, 2026
37207f6
Replace `mull` with custom mutation test runner (#3130)
adeebshihadeh Mar 11, 2026
6d7342b
matplotlib is unused
adeebshihadeh Mar 11, 2026
517b3f9
rm pytest-coverage (#3186)
adeebshihadeh Mar 11, 2026
358ff9e
rm pytest-randomly (#3188)
adeebshihadeh Mar 11, 2026
3f7c6c4
rm crcmod package (#3187)
adeebshihadeh Mar 11, 2026
3010840
rm conftest.py (#3189)
adeebshihadeh Mar 11, 2026
0b44202
a python api for your car
adeebshihadeh Mar 11, 2026
00588c9
remove parameterized (#3190)
adeebshihadeh Mar 11, 2026
2d52887
Replace pytest with unittest + unittest-parallel (#3191)
adeebshihadeh Mar 11, 2026
ddeba88
try no scons (#3194)
adeebshihadeh Mar 11, 2026
31e816b
add two nice big videos to the README
adeebshihadeh Mar 11, 2026
3a852b0
speed up safety tests with boundary-focused testing (#3200)
adeebshihadeh Mar 12, 2026
e994cf5
remove CAN_PACKET_VERSION (#3209)
adeebshihadeh Mar 14, 2026
930eeb1
deps: switch cppcheck to a per-package release branch (#3211)
adeebshihadeh Mar 14, 2026
55a8f4c
[bot] Update uv.lock (#3164)
commaci-public Mar 16, 2026
1b529d4
Toyota: Add FW for 2025 Lexus ES 350 TSS2 (#3222)
nelsonjchen Mar 23, 2026
e27af8c
Kia - 2024 Niro EV (with HDA II) works with 2025 model harness (#3218)
alxwest Mar 23, 2026
1a6377c
[bot] Update uv.lock (#3223)
commaci-public Mar 23, 2026
e72e18e
fw query: remove aux panda support (#3225)
sshane Mar 24, 2026
bb979d6
docs: Scheduled auto-update CARS.md
adeebshihadeh Mar 24, 2026
e4da7d3
HKG: Hyundai Santa Fe Plug-in Hybrid 2023 Fingerprint (#3215)
royjr Mar 25, 2026
bfdbdc7
Honda: Add potential stock ACC/LKA fault signals to generated DBCs (#…
jyoung8607 Mar 25, 2026
b5af415
gitignore generated DBCs (#3229)
jyoung8607 Mar 26, 2026
0d20fcc
Honda - additional 2026 Civic Hybrid fingerprint (#3216)
mvl-boston Mar 26, 2026
9debc12
garbage-collect old misra gitignore (#3232)
jyoung8607 Mar 26, 2026
470c178
Chrysler: Common safety checksum (#3231)
jyoung8607 Mar 26, 2026
4561661
Chrysler: Jeep Cherokee 2019-2023 (#2910)
jyoung8607 Mar 26, 2026
af399db
Vehicle Model: correct unit for roll compensation curvature (#3174)
lukasloetkolben Mar 26, 2026
ff37c0f
Tesla: Add Model 3 Performance HW4 FP (#3184)
dkiiv Mar 26, 2026
9cff722
Honda - Add additional 2024 Civic fingerprint (#3230)
mvl-boston Mar 26, 2026
a15a705
HKG: Hyundai Kona EV 2022 Fingerprint (#3204)
royjr Mar 26, 2026
8356b75
VW: Add setup footnote for J533 harness install instructions (#3208)
Raudi1 Mar 26, 2026
b095a7d
Ford: Add FW for 2021 Ford F-150 (#3183)
jacobjhansen Mar 27, 2026
0e4690a
Rivian: fix duplicate counters on forwarded VDM_AdasSts (#3236)
sshane Mar 27, 2026
3fbb131
HKG: Kia Niro Hybrid 2024 Fingerprint (#3162)
royjr Mar 27, 2026
498f05f
Honda - Bump 2022 Acura TLX and restore testroute (#3170)
mvl-boston Mar 27, 2026
4350167
ford: add 2025 Ranger Raptor fingerprint (#3177)
tkooda Mar 27, 2026
a691ffb
docs: Scheduled auto-update CARS.md
adeebshihadeh Mar 27, 2026
9fa2c24
Hyundai: cleanup unsupported longitudinal cars list (#2648)
sunnyhaibin Mar 27, 2026
00431e0
Chrysler: Fix dashcam-only car config (#3240)
jyoung8607 Mar 27, 2026
dc0e7d0
fix test_models CI workflow (#3244)
jyoung8607 Mar 28, 2026
a311ccb
Honda: Disable Acura TLX 2G test route (#3242)
jyoung8607 Mar 28, 2026
18f906f
Hyundai CAN FD: Update DBC signals (#3241)
sunnyhaibin Mar 28, 2026
9e8d876
Honda: Democratize the manual transmission (#3245)
jyoung8607 Mar 28, 2026
09153d3
Honda: Fit manual transmission (#3166)
mvl-boston Mar 28, 2026
7933f6d
Honda - Odyssey Singapore (#2776)
mvl-boston Mar 28, 2026
8d8f1dd
Hyundai CAN FD: Fix DBC signal comments (#3246)
sunnyhaibin Mar 28, 2026
76cecd3
Hyundai CAN FD: universal BSM detection (#3247)
sunnyhaibin Mar 28, 2026
b3cba83
Honda - Honda E 2020 Advance trim (#3180)
mvl-boston Mar 28, 2026
54d4fb9
docs: Scheduled auto-update CARS.md
adeebshihadeh Mar 28, 2026
90a9e4b
Chrysler CUSW: Bug fixes for driver brake and LKAS HUD (#3250)
jyoung8607 Mar 28, 2026
0287df5
VW MLB: Migrate to new turn signal message (#3252)
jyoung8607 Mar 29, 2026
65f2f24
VW MLB: Migrate to alternate signal for driver's seatbelt (#3253)
jyoung8607 Mar 29, 2026
8a3a9e1
Honda: HUD and DBC updates (#3254)
jyoung8607 Mar 29, 2026
c9f2ab3
Rivian: Generation 2 Support (#3227)
lukasloetkolben Mar 29, 2026
3cb9a2d
VW MLB: Get door state and gearshift position from PT CAN (#3255)
jyoung8607 Mar 29, 2026
f8f0ead
Honda: Acura MDX 2022 - 2024 (#2410)
mvl-boston Mar 29, 2026
176ec7e
docs: Scheduled auto-update CARS.md
adeebshihadeh Mar 29, 2026
4d85875
Honda: Acura RDX 2022-24 (#1967)
mvl-boston Mar 29, 2026
ff6882f
VW MLB: Migrate to TSK_04 for cruise state (#3259)
jyoung8607 Mar 29, 2026
279d834
VW MLB: Add support for Audi Q5 Mk1 (#3138)
Dennis-NL Mar 29, 2026
eb3b7eb
HONDA - fix alt_radar standstill lane blinking (#3261)
mvl-boston Mar 29, 2026
e7b3d85
docs: Scheduled auto-update CARS.md
adeebshihadeh Mar 30, 2026
543bb1b
[bot] Update uv.lock (#3266)
commaci-public Mar 30, 2026
c40213b
Add Tesla FSD 14 firmware (#3269)
elkoled Mar 31, 2026
ef70686
Rivian migration (#3273)
elkoled Apr 1, 2026
b5ed5d7
HKG CANFD: rename LKA steering param (#3279)
sshane Apr 3, 2026
a3a9aaa
HKG: document all supported car architectures (#3280)
sshane Apr 3, 2026
4c035f2
HKG: CAN config (#3281)
sshane Apr 3, 2026
eee85c6
Revert "HKG: CAN config" (#3283)
sshane Apr 3, 2026
bf19cab
HKG: small clean up (#3285)
sshane Apr 3, 2026
c011754
Rivian: add GEN 2 B harness (#3286)
sshane Apr 3, 2026
01871c7
Tesla: add new FSD 14 fingerprint (#3234)
sshane Apr 4, 2026
d1858b6
docs: Scheduled auto-update CARS.md
adeebshihadeh Apr 4, 2026
ec284cf
refactor: prioritize in-memory generated DBCs over disk files (#3291)
devtekve Apr 4, 2026
0314275
Tesla: FSD 14 FW test (#3293)
sshane Apr 5, 2026
25d32b2
[bot] Update uv.lock (#3298)
commaci-public Apr 6, 2026
918c401
Hyundai CAN FD: fix Blind-spot Collision Warning (BCW) signal bit (#3…
sunnyhaibin Apr 6, 2026
140010d
Honda - Add additional 2025 CRV fingerprint (#3304)
mvl-boston Apr 7, 2026
56111c5
Honda: add fwdCamera FW for 2023 CR-V EX-L AWD (#3303)
griffindow Apr 7, 2026
f6fb00d
Honda - additional 26 CRV fingerprint (#3297)
mvl-boston Apr 7, 2026
946a496
Fix safety test race condition (#3306)
sshane Apr 7, 2026
ebaca24
Toyota: clarification for GAS_PEDAL on non-SECOC vehicles (#3299)
nikitap066 Apr 7, 2026
37c8ae0
include all v1 body addresses in fingerprint (#3308)
stefpi Apr 7, 2026
901c138
Tesla long: more closely match stock setSpeed (#3314)
sshane Apr 9, 2026
6123dde
[bot] Update uv.lock (#3327)
commaci-public Apr 13, 2026
280261d
Volvo CMA support (squashed, rebased onto v0.11.0 opendbc)
paper5590 Mar 18, 2026
ddaf17c
Volvo: add panda safety tests for CMA and SPA
Apr 21, 2026
9158499
Volvo SPA: fix gasPressed threshold for DBC-scaled ECM_1
Apr 21, 2026
6993a4d
Volvo/Polestar: add to non_tested_cars until routes exist
Apr 22, 2026
d691e72
Volvo: clamp commanded angle to actual ± ANGLE_ERROR + rate limit
cschmittiey Apr 22, 2026
3648dd3
Merge pull request #1 from cschmittiey/volvo/angle-clamp
cschmittiey Apr 22, 2026
ede3d54
Volvo SPA: fix 0x349 CRUISE_CONTROL rx_check frequency
Apr 22, 2026
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
49 changes: 49 additions & 0 deletions .github/ISSUE_TEMPLATE/car_bug_report.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,49 @@
name: Car bug report
description: For issues with a particular car make or model
labels: ["car", "bug"]
body:

- type: markdown
attributes:
value: >
Before creating a **car bug report**, please check the following:
* If the issue likely isn't specific to your car model or make, go back and open an **openpilot bug report** instead.
* If the issue is related to the driving or driver monitoring models, you should open a [discussion](https://github.com/commaai/openpilot/discussions/categories/model-feedback) instead.
* If you are fingerprinting your car, refer to the [fingerprinting guide](https://github.com/commaai/openpilot/wiki/Fingerprinting) or visit the [community Discord server](https://discord.comma.ai) to request help.
* If you are inquiring about future car support, check the [community Discord server](https://discord.comma.ai) for progress on your vehicle and help contribute. Issues simply requesting support for new vehicles will be closed.
* Ensure you're running the latest openpilot release.
* Ensure you're using officially supported hardware.
* Ensure there isn't an existing issue for your bug. If there is, leave a comment on the existing issue.
* Ensure you're running stock openpilot. We cannot look into bug reports from forks.

If you're unsure whether you've hit a bug, check out the #installation-help channel in the [community Discord server](https://discord.comma.ai).

- type: textarea
attributes:
label: Describe the car bug
description: Also include a description of how to reproduce the bug
validations:
required: true

- type: input
id: route
attributes:
label: Provide a route where the issue occurs
description: Ensure the route is fully uploaded at https://useradmin.comma.ai. We cannot look into issues without routes, or at least a Dongle ID.
placeholder: 77611a1fac303767|2020-05-11--16-37-07
validations:
required: true

- type: input
id: version
attributes:
label: openpilot version
description: If you're not on release, provide the commit hash
placeholder: 0.8.10
validations:
required: true

- type: textarea
attributes:
label: Additional info

14 changes: 14 additions & 0 deletions .github/ISSUE_TEMPLATE/config.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
blank_issues_enabled: false
contact_links:
- name: openpilot bug report
url: https://github.com/commaai/openpilot/issues/new
about: For issues not limited to a particular car make or model, e.g. driving model performance or issues with your comma device.
- name: Join the Discord
url: https://discord.comma.ai
about: The community Discord is for both car port development and experience discussion
- name: Report driving behavior feedback
url: https://discord.com/channels/469524606043160576/1254834193066623017
about: Feedback for the driving and driver monitoring models goes in the #driving-feedback in Discord
- name: Community Wiki
url: https://github.com/commaai/openpilot/wiki
about: Check out our community wiki
36 changes: 36 additions & 0 deletions .github/ISSUE_TEMPLATE/misc.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,36 @@
name: Miscellaneous
description: For tools or test bugs, or enhancements
labels: ["bug"]
body:

- type: markdown
attributes:
value: >
* If the issue likely only affects your car model or make, go back and open a **car bug report** instead.
Before creating a **miscellaneous bug report**, please check the following:
* Ensure there isn't an existing issue for your bug. If there is, leave a comment on the existing issue.

- type: textarea
attributes:
label: Describe the bug or enhancement
description: Also include a description of how to reproduce the bug or how the enhancement would work
validations:
required: true

- type: input
id: route
attributes:
label: Provide a route where the issue occurs if applicable
description: Ensure the route is fully uploaded at https://useradmin.comma.ai
placeholder: 77611a1fac303767|2020-05-11--16-37-07

- type: input
id: version
attributes:
label: openpilot version if applicable
description: If you're not on release, provide the commit hash
placeholder: 0.8.10

- type: textarea
attributes:
label: Additional info
6 changes: 4 additions & 2 deletions .github/pull_request_template.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,9 @@ We need these details to verify your pull request.

Find your device's dongle ID and a route at https://connect.comma.ai.
Ideally, the route is recorded with the exact branch of your pull request.

If you are porting a car with a new harness variant, please add it to https://github.com/commaai/opendbc/blob/master/opendbc/car/docs_definitions.py. Let us know and we can add it to the shop at the time of merge.
-->
Validation
* Dongle ID:
* Route:
* Dongle ID:
* Route:
13 changes: 0 additions & 13 deletions .github/workflows/cache/action.yaml

This file was deleted.

45 changes: 45 additions & 0 deletions .github/workflows/car_diff.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,45 @@
name: car diff

on:
pull_request_target:
types: [opened, synchronize, reopened]

jobs:
comment:
name: comment
runs-on: ubuntu-latest
timeout-minutes: 10
permissions:
contents: read
pull-requests: write
actions: read
steps:
- name: Wait for car diff
id: wait
continue-on-error: true
uses: lewagon/wait-on-check-action@v1.3.4
with:
ref: ${{ github.event.pull_request.head.sha }}
check-name: car diff
repo-token: ${{ secrets.GITHUB_TOKEN }}
allowed-conclusions: success
wait-interval: 20
- name: Download car diff
if: steps.wait.outcome == 'success'
uses: dawidd6/action-download-artifact@v6
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
workflow: tests.yml
workflow_conclusion: ''
pr: ${{ github.event.number }}
name: car_diff_${{ github.event.number }}
path: .
allow_forks: true
- name: Comment car diff on PR
if: steps.wait.outcome == 'success'
uses: thollander/actions-comment-pull-request@v2
with:
filePath: diff.txt
comment_tag: car_diff
pr_number: ${{ github.event.number }}
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
87 changes: 58 additions & 29 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,45 +18,80 @@ jobs:
- os: ${{ github.repository == 'commaai/opendbc' && 'namespace-profile-macos-8x14' || 'macos-latest' }}
steps:
- uses: actions/checkout@v4
- uses: ./.github/workflows/cache
id: cache
- uses: commaai/timeout@v1
with:
timeout: ${{ github.repository == 'commaai/opendbc' && (steps.cache.outputs.cache-hit == 'true' && '60' || '90') || '999' }}
timeout: ${{ github.repository == 'commaai/opendbc' && '90' || '999' }}
- run: ./test.sh

safety_tests:
name: safety
runs-on: ${{ github.repository == 'commaai/opendbc' && 'namespace-profile-amd64-8x16' || 'ubuntu-latest' }}
strategy:
fail-fast: false
matrix:
flags: ['--ubsan']
steps:
- uses: commaai/timeout@v1
with:
timeout: ${{ github.repository == 'commaai/opendbc' && '60' || '999' }}
- uses: actions/checkout@v4
- uses: ./.github/workflows/cache
- name: Run safety tests
run: ./opendbc/safety/tests/test.sh ${{ matrix.flags }}
run: ./opendbc/safety/tests/test.sh

mutation:
name: Safety mutation tests
runs-on: ${{ github.repository == 'commaai/opendbc' && 'namespace-profile-amd64-8x16' || 'ubuntu-latest' }}
runs-on: ${{ matrix.os }}
timeout-minutes: 45
env:
GIT_REF: ${{ github.event_name == 'push' && github.ref == format('refs/heads/{0}', github.event.repository.default_branch) && github.event.before || format('origin/{0}', github.event.repository.default_branch) }}
strategy:
fail-fast: false
matrix:
include:
- os: ${{ github.repository == 'commaai/opendbc' && 'namespace-profile-amd64-8x16' || 'ubuntu-latest' }}
- os: ${{ github.repository == 'commaai/opendbc' && 'namespace-profile-macos-8x14' || 'macos-latest' }}
steps:
- uses: actions/checkout@v4
with:
fetch-depth: 0 # need master to get diff
- uses: ./.github/workflows/cache
- name: Run mutation tests
run: |
source setup.sh
scons -j8
cd opendbc/safety/tests && ./mutation.sh
python opendbc/safety/tests/mutation.py

car_diff:
name: car diff
runs-on: ${{ github.repository == 'commaai/opendbc' && 'namespace-profile-amd64-8x16' || 'ubuntu-latest' }}
env:
GIT_REF: ${{ github.event_name == 'push' && github.ref == format('refs/heads/{0}', github.event.repository.default_branch) && github.event.before || format('origin/{0}', github.event.repository.default_branch) }}
steps:
- uses: actions/checkout@v4
with:
fetch-depth: 0
- name: Test car diff
if: github.event_name == 'pull_request'
run: source setup.sh && python opendbc/car/tests/car_diff.py | tee diff.txt
- name: Upload diff
if: always() && github.event_name == 'pull_request'
uses: actions/upload-artifact@v4
with:
name: car_diff_${{ github.event.number }}
path: diff.txt
- name: Update refs
if: github.repository == 'commaai/opendbc' && github.ref == 'refs/heads/master'
run: source setup.sh && python opendbc/car/tests/car_diff.py --update-refs
- name: Checkout ci-artifacts
if: github.repository == 'commaai/opendbc' && github.ref == 'refs/heads/master'
uses: actions/checkout@v4
with:
repository: commaai/ci-artifacts
ssh-key: ${{ secrets.CI_ARTIFACTS_DEPLOY_KEY }}
path: ${{ github.workspace }}/ci-artifacts
- name: Push refs
if: github.repository == 'commaai/opendbc' && github.ref == 'refs/heads/master'
working-directory: ${{ github.workspace }}/ci-artifacts
run: |
ls ${{ github.workspace }}/car_diff/*.zst 2>/dev/null || exit 0
git config user.name "GitHub Actions Bot"
git config user.email "<>"
git fetch origin car_diff || true
git checkout car_diff 2>/dev/null || git checkout --orphan car_diff
cp ${{ github.workspace }}/car_diff/*.zst .
git add *.zst
git commit -m "car_diff refs for ${{ github.sha }}" || echo "No changes to commit"
git push origin car_diff

# TODO: this needs to move to opendbc
test_models:
Expand All @@ -67,35 +102,29 @@ jobs:
matrix:
job: [0, 1, 2, 3]
env:
BASE_IMAGE: openpilot-base
BUILD: selfdrive/test/docker_build.sh base
RUN: docker run --shm-size 2G -v $PWD:/tmp/openpilot -w /tmp/openpilot -e CI=1 -e PYTHONWARNINGS=error -e FILEREADER_CACHE=1 -e PYTHONPATH=/tmp/openpilot -e NUM_JOBS -e JOB_ID -e GITHUB_ACTION -e GITHUB_REF -e GITHUB_HEAD_REF -e GITHUB_SHA -e GITHUB_REPOSITORY -e GITHUB_RUN_ID -v $GITHUB_WORKSPACE/.ci_cache/scons_cache:/tmp/scons_cache -v $GITHUB_WORKSPACE/.ci_cache/comma_download_cache:/tmp/comma_download_cache -v $GITHUB_WORKSPACE/.ci_cache/openpilot_cache:/tmp/openpilot_cache $BASE_IMAGE /bin/bash -c
PYTEST: pytest --continue-on-collection-errors --durations=0 --durations-min=5 -n logical
CI: 1
steps:
- uses: actions/checkout@v4
with:
repository: 'commaai/openpilot'
ref: 'master'
submodules: true
- run: ./tools/op.sh setup
- run: rm -rf opendbc_repo/
- uses: actions/checkout@v4
with:
path: opendbc_repo
- uses: ./.github/workflows/setup-with-retry
id: setup-step
- name: Cache test routes
id: routes-cache
uses: actions/cache@v4
with:
path: .ci_cache/comma_download_cache
path: /tmp/comma_download_cache
key: car_models-${{ hashFiles('selfdrive/car/tests/test_models.py', 'opendbc/car/tests/routes.py') }}-${{ matrix.job }}
- name: Build openpilot
run: ${{ env.RUN }} "scons -j$(nproc) common/ cereal/ selfdrive/pandad/ msgq_repo/ opendbc_repo"
run: scons -j$(nproc) common/ cereal/ selfdrive/pandad/ msgq_repo/ opendbc_repo
- name: Test car models
timeout-minutes: ${{ contains(runner.name, 'nsc') && (steps.routes-cache.outputs.cache-hit == 'true') && ((steps.setup-step.outputs.duration < 18) && 1 || 2) || 6 }}
run: |
${{ env.RUN }} "MAX_EXAMPLES=1 $PYTEST selfdrive/car/tests/test_models.py && \
chmod -R 777 /tmp/comma_download_cache"
timeout-minutes: ${{ contains(runner.name, 'nsc') && (steps.routes-cache.outputs.cache-hit == 'true') && 2 || 6 }}
run: MAX_EXAMPLES=1 pytest --continue-on-collection-errors --durations=0 --durations-min=5 -n logical selfdrive/car/tests/test_models.py
env:
NUM_JOBS: 4
JOB_ID: ${{ matrix.job }}
3 changes: 1 addition & 2 deletions .github/workflows/update-cars-docs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,7 @@ jobs:
- name: Generate Car Docs
run: |
pip install -e .
scons -c && scons -j$(nproc)
python -m pip install jinja2==3.1.4 natsort==8.4.0
python -m pip install jinja2==3.1.4
python opendbc/car/docs.py
- uses: stefanzweifel/git-auto-commit-action@8621497c8c39c72f3e2a999a26b4ca1b5058a842
with:
Expand Down
37 changes: 0 additions & 37 deletions .github/workflows/update-cppcheck.yml

This file was deleted.

30 changes: 30 additions & 0 deletions .github/workflows/update-uv-lock.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
name: Update uv.lock

on:
schedule:
- cron: "0 14 * * 1" # every Monday at 2am UTC (6am PST)
workflow_dispatch:

jobs:
update-uv-lock:
runs-on: ubuntu-latest
permissions:
contents: write
pull-requests: write
steps:
- uses: actions/checkout@v4
- uses: astral-sh/setup-uv@v5
- name: Update uv.lock
run: uv lock --upgrade
- name: Create Pull Request
uses: peter-evans/create-pull-request@9153d834b60caba6d51c9b9510b087acf9f33f83
with:
author: Vehicle Researcher <user@comma.ai>
token: ${{ secrets.ACTIONS_CREATE_PR_PAT }}
commit-message: "[bot] Update uv.lock"
title: "[bot] Update uv.lock"
body: "Weekly update of uv.lock dependencies"
branch: "update-uv-lock"
base: "master"
delete-branch: true
labels: bot
Loading
Loading