Skip to content

Refactor CI workflows and add cpplint check - #150

Merged
JanPetterMG merged 3 commits into
mainfrom
chore/ci-cpplint-and-refactor
Nov 24, 2026
Merged

JanPetterMG merged 3 commits into
mainfrom
chore/ci-cpplint-and-refactor

Conversation

@JanPetterMG

Copy link
Copy Markdown
Contributor

Refactor CI workflows to use Ubuntu 26.04 and introduce a new cpplint check for code quality. This update enhances the consistency and reliability of the CI process.

@JanPetterMG JanPetterMG added this to the v1.1.0 milestone Nov 24, 2026
@coderabbitai

coderabbitai Bot commented Nov 24, 2026 •

Copy link
Copy Markdown
Contributor

Warning

Review limit reached

You've used all free OSS reviews for now. Wait for the free limit to reset to keep reviewing this public repository.

Next included review available in 18 minutes.

Check out review usage here.

View limit details

Limit details: You’ve used the included review currently available.

Learn how review limits work.

Review configuration:

Run configuration

  • Source mode: Auto
  • Repository: Unavailable
  • Branch: Unavailable
  • File: No configuration file from this repository applied
  • Commit: Unavailable
  • Layers: Organization UI
  • Review profile: CHILL
  • Plan: Advanced
  • Run ID: 7f0f635d-30e4-41bf-9545-076d71e102e4
Commits

Reviewing files that changed from the base of the PR and between de22254 and b398bfb.

Files ignored due to path filters: 1

  • uv.lock is excluded by !**/*.lock
Files selected for processing: 14

  • .github/workflows/clang.yml
  • .github/workflows/context.yml
  • .github/workflows/cpplint.yml
  • .github/workflows/dependabot.yml
  • .github/workflows/end-of-life.yml
  • .github/workflows/ikea-bekant.yml
  • .github/workflows/labeler.yml
  • .github/workflows/platformio.yml
  • .github/workflows/stale.yml
  • .github/workflows/uv.yml
  • .gitignore
  • pyproject.toml
  • src/esp/MqttHandler.cpp
  • src/esp/StatusHandler.cpp

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

Share

@JanPetterMG
JanPetterMG marked this pull request as ready for review November 24, 2026 01:28
Copilot AI lite review requested due to automatic review settings November 24, 2026 01:28

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🔵 Needs a closer look

The runner-image migration and new lint gate require GitHub Actions runtime validation unavailable in this checkout, leaving compatibility and required-check behavior unverified.

No open issues 🎉

What changed in this PR

This pull request standardizes GitHub Actions workflows on Ubuntu 26.04, separates PlatformIO and cpplint dependencies, and adds dedicated C++ linting while making small source and configuration updates.

Changes:

  • Adds and locks cpplint 2.0.2 in a dedicated uv dependency group.
  • Updates CI workflows to use Ubuntu 26.04 and explicit dependency groups.
  • Adds a cpplint workflow, which still needs merge-queue trigger coverage.
  • Adjusts C++ includes, unused parameters, and generated-file ignores.
File Description
uv.lock Locks cpplint and records the separated cpplint, PlatformIO, and development dependency groups.
src/​esp/​StatusHandler.cpp Adds the ESP32 GPIO header required by the status LED implementation.
src/​esp/​MqttHandler.cpp Explicitly marks unused MQTT callback parameters.
pyproject.toml Defines the cpplint and PlatformIO dependency groups.
.gitignore Ignores cache files and generated compilation database artifacts.
.github/​workflows/​uv.yml Runs uv lock validation on Ubuntu 26.04.
.github/​workflows/​stale.yml Runs stale issue processing on Ubuntu 26.04.
.github/​workflows/​platformio.yml Runs PlatformIO commands with the dedicated dependency group on Ubuntu 26.04.
.github/​workflows/​labeler.yml Runs pull-request labeling on Ubuntu 26.04.
.github/​workflows/​ikea-bekant.yml Runs full and minimal PlatformIO builds on Ubuntu 26.04 with the dedicated dependency group.
.github/​workflows/​end-of-life.yml Updates existing checks for Ubuntu 26.04 and adds Ubuntu end-of-life monitoring.
.github/​workflows/​dependabot.yml Runs the PlatformIO dependency updater on Ubuntu 26.04.
.github/​workflows/​cpplint.yml Adds recursive cpplint validation for C++ sources, but does not yet trigger for merge-queue runs.
.github/​workflows/​context.yml Updates PlatformIO cache and environment jobs for Ubuntu 26.04 and the dedicated dependency group.
.github/​workflows/​clang.yml Updates Clang jobs for Ubuntu 26.04 and uses the PlatformIO dependency group.

Review effort: Lite

@JanPetterMG
JanPetterMG added this pull request to the merge queue Nov 24, 2026
Merged via the queue into main with commit 3b2576b Nov 24, 2026
25 checks passed
@JanPetterMG
JanPetterMG deleted the chore/ci-cpplint-and-refactor branch November 24, 2026 01:39
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants