From 3e0a9f99ae326ea04d56e820cc8a446a60cffb23 Mon Sep 17 00:00:00 2001 From: Dom <168790843+firestar5683@users.noreply.github.com> Date: Sun, 15 Nov 2026 04:23:49 -0600 Subject: [PATCH] Register author-provided Envision route and SDGM docs contract --- opendbc_repo/opendbc/car/tests/routes.py | 2 ++ opendbc_repo/opendbc/car/tests/test_docs.py | 1 + prebuilt.json | 2 +- 3 files changed, 4 insertions(+), 1 deletion(-) diff --git a/opendbc_repo/opendbc/car/tests/routes.py b/opendbc_repo/opendbc/car/tests/routes.py index c118848d8b..4fd69612b4 100644 --- a/opendbc_repo/opendbc/car/tests/routes.py +++ b/opendbc_repo/opendbc/car/tests/routes.py @@ -178,6 +178,8 @@ routes = [ CarTestRoute("61a1b9e7a4eae0f6/00000000--79d85d1315", FORD.FORD_EXPEDITION_MK4), #TestRoute("f1b4c567731f4a1b/2018-04-30--10-15-35", FORD.FUSION), + # PR232 author-provided CN SDGM retrofit recording. + CarTestRoute("7f81d773c4790e25/00000043--345c402c84", GM.BUICK_ENVISION_SDGM, segment=0), CarTestRoute("7cc2a8365b4dd8a9/2018-12-02--12-10-44", GM.GMC_ACADIA), CarTestRoute("aa20e335f61ba898/2019-02-05--16-59-04", GM.BUICK_REGAL), CarTestRoute("75a6bcb9b8b40373/2023-03-11--22-47-33", GM.BUICK_LACROSSE), diff --git a/opendbc_repo/opendbc/car/tests/test_docs.py b/opendbc_repo/opendbc/car/tests/test_docs.py index 84663f5050..80afd6c790 100644 --- a/opendbc_repo/opendbc/car/tests/test_docs.py +++ b/opendbc_repo/opendbc/car/tests/test_docs.py @@ -102,6 +102,7 @@ class TestCarDocs(unittest.TestCase): self.assertEqual(doc.support_type, SupportType.COMMUNITY) self.assertFalse(doc.merged) expected_harness = (CarHarness.gm if platform == GM.CHEVROLET_BOLT_ACC_2022_2023 else + CarHarness.gmsdgm if platform == GM.BUICK_ENVISION_SDGM else CarHarness.custom if platform == GM.CHEVROLET_SILVERADO_CC else CarHarness.custom if "ASCM Harness" in doc.name or "(CC)" in doc.name else CarHarness.gmsdgm if "SDGM Harness" in doc.name else diff --git a/prebuilt.json b/prebuilt.json index 785ab98f1e..704e7141c0 100644 --- a/prebuilt.json +++ b/prebuilt.json @@ -1 +1 @@ -{"protected_inventory_sha256": "13c0aa712e0bde34ac3bfebc356562bf8164ab6df12dff3583fda44d4101201a", "schema_version": 1} +{"protected_inventory_sha256": "f2e0e745b4a798f79b9f54758ee49359538d86443eca039791a98d8a871645af", "schema_version": 1}