Skip to content

Commit d38f0d5

Browse files
malysclaude
andcommitted
fix(validation): keep CP-055's artifact readable in a minified build
The drive of 2026-09-05 exported a validation file whose every key was a single letter, in the same bundle where the signal capture and the trip history read fine: ValidationArtifact was added after the keep rules that cover the other artifacts and was never added to them, so R8 renamed the fields Gson serialises by reflection. A validation drive costs a drive. Verified against the unstableRelease mapping: the class now appears exactly as NavGuidanceProbeArtifact does. Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
1 parent db195bf commit d38f0d5

1 file changed

Lines changed: 6 additions & 0 deletions

File tree

‎app/proguard-rules.pro‎

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,3 +30,9 @@
3030
-keep class com.evsuite.chargepilot.TripHistoryArtifact { *; }
3131
-keep class com.evsuite.chargepilot.SpeedScaleCheck$Result { *; }
3232
-keep class com.evsuite.chargepilot.SpeedScaleCheck$Verdict { *; }
33+
34+
# CP-055's own artifact, added after the rules above and left out of them: the drive of
35+
# 2026-09-05 exported a validation file whose every key was a single letter, in the same bundle
36+
# where the capture and the trip history read fine. A validation drive costs a drive.
37+
-keep class com.evsuite.chargepilot.ValidationArtifact { *; }
38+
-keep class com.evsuite.chargepilot.ValidationArtifact$Answer { *; }

0 commit comments

Comments
 (0)