Skip to content

Fix CI: cppcheck suppressions and optional signing#2

Merged
basmeerman merged 2 commits intomasterfrom
feature/native-state-machine-tests
Feb 15, 2026
Merged

Fix CI: cppcheck suppressions and optional signing#2
basmeerman merged 2 commits intomasterfrom
feature/native-state-machine-tests

Conversation

@basmeerman
Copy link
Copy Markdown
Owner

Summary

  • Suppress cppcheck style warnings in faithfully extracted state machine code
  • Make firmware signing conditional on SECRET_RSA_KEY availability (fixes fork builds)

Changes

  • evse_state_machine.c: 4 inline cppcheck-suppress comments
  • pio-build.yaml: Split build/sign steps, signing skipped when secret unavailable

basmeerman and others added 2 commits February 15, 2026 11:43
- Add inline cppcheck-suppress comments for style findings in faithfully
  extracted code (constParameterPointer, variableScope, knownConditionTrueFalse)
- Split pio-build.yaml build and signing steps so builds succeed on forks
  without the SECRET_RSA_KEY signing secret

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
@basmeerman basmeerman merged commit a6b2377 into master Feb 15, 2026
6 checks passed
basmeerman added a commit that referenced this pull request Feb 19, 2026
)

Add function-level doc comment and inline section comments throughout
http_api_validate_settings() to satisfy CodeQL's
poorly-documented-function rule (cpp/poorly-documented-function).

Also reorders max_sum_mains_time into the current-limits section
(no logic change) and adds boolean-range comments to lcd_lock and
cable_lock checks for clarity.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant