Skip to content

Promote develop to main: OPERATIONS.md Setup and sdkconfig Fixes - #228

Merged
ptr727 merged 2 commits into
mainfrom
develop
Oct 15, 2026
Merged

ptr727 merged 2 commits into
mainfrom
develop

Conversation

@ptr727

@ptr727 ptr727 commented Oct 15, 2026 •

Copy link
Copy Markdown
Owner

What

Promotes #226 and #230 to main.

  • VSCode Setup points at ESPHome Device Builder for a dashboard, since esphome dashboard only prints a redirect on ESPHome 2026.9.1.

  • The missing firmware file on a cleaned build tree takes the node name, per toolchain.

  • The "sdkconfig changes need a clean build" bullet is reversed, after a 2026.9.1 compile test showed an incremental build picks the change up. The ESPHome: Clean task comment that repeated the old claim is removed.

  • The secrets.yaml guard, the secrets._yaml hint, and the CI dummy-secrets step generate the key with python3 instead of openssl, and the guard keeps its temporary file beside its destination.

  • From Serve the Checkout From Device Builder and Debug It in VS Code #230, answering this PR's first Copilot round: Device Builder is run against the checkout, since it otherwise serves ./configs. The VS Code launch config debugs Device Builder on port 6054 with its own data directory, beside the devcontainer's instance on 6052. The devcontainer forwards 6054.

Closes #220, closes #221, closes #222, closes #229.

Behavior

Docs, VS Code and devcontainer config, and the CI dummy-secrets step. No template or device YAML changes, so no deployed device's configuration changes and no release follows.

Verification

Carried from #226 and #230: each one's Copilot thread is resolved, each final head carries an attested local pass, and their required checks passed. #230 also answers the first round here: of its four headline topics, checkout path and launch configuration are fixed, and Python version and cleanup need no change, with the reasons given in #230's body.

🤖 Generated with Claude Code

* Fix Stale Setup, Flashing, and sdkconfig Details in OPERATIONS.md

- Replace the removed `esphome dashboard` step with Device Builder.
- Name the missing firmware file after the node name, per toolchain.
- Reword the sdkconfig bullet, since an incremental compile picks up
  an sdkconfig change on ESPHome 2026.9.1.
- Generate the secrets.yaml key with python3 instead of openssl, and
  keep the guard's temporary file beside its destination.

Closes #220, closes #221, closes #222.

Co-Authored-By: Claude Opus 5.5 <[email protected]>

* Align CI Key Generation and the Clean Task With the Doc Fixes

- Generate the CI dummy key with python3, the same idiom the guard uses.
- Drop the Clean task comment repeating the retracted sdkconfig claim.
- Split two long sentences and put the dashboard note in present tense.

Co-Authored-By: Claude Opus 5.5 <[email protected]>

* State the Dashboard Redirect in Present Tense

Co-Authored-By: Claude Opus 5.5 <[email protected]>

---------

Co-authored-by: Claude Opus 5.5 <[email protected]>
Copilot AI lite review requested due to automatic review settings October 15, 2026 02:13
@coderabbitai

coderabbitai Bot commented Oct 15, 2026 •

Copy link
Copy Markdown

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 30 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
  • Configuration used: Organization UI
  • Review profile: ASSERTIVE
  • Plan: Advanced
  • Run ID: d8ac5e92-51c0-4466-ae4e-4fc5cfa717a6
📥 Commits

Reviewing files that changed from the base of the PR and between 9a2a233 and c680104.

📒 Files selected for processing: 6
  • .devcontainer/devcontainer.json
  • .github/workflows/test-pull-request.yml
  • .vscode/launch.json
  • .vscode/tasks.json
  • OPERATIONS.md
  • secrets._yaml
  • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

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

Comment @coderabbitai help to get the list of available commands.

@codecov

codecov Bot commented Oct 15, 2026 •

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 43.07%. Comparing base (36541f1) to head (c680104).
⚠️ Report is 40 commits behind head on main.

Additional details and impacted files
@@           Coverage Diff           @@
##             main     #228   +/-   ##
=======================================
  Coverage   43.07%   43.07%           
=======================================
  Files           1        1           
  Lines         130      130           
=======================================
  Hits           56       56           
  Misses         74       74           
Flag Coverage Δ
python-3.13 43.07% <ø> (ø)

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Harness.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

🔵 Needs a closer look

Four moderate issues in OPERATIONS.md remain unresolved.

0 open findings

What changed in this PR

Updates ESPHome setup documentation, sdkconfig guidance, firmware paths, and Python-based secret generation for current tooling.

Changes:

  • Replaces dashboard instructions with ESPHome Device Builder guidance.
  • Corrects firmware and sdkconfig documentation.
  • Replaces OpenSSL key generation with Python.
  • Removes stale VS Code task guidance.
File Summary
secrets._yaml Updates secret-generation guidance.
OPERATIONS.md Updates setup and build documentation; four moderate issues remain regarding checkout path, Python version, cleanup, and VS Code launch configuration.
.vscode/​tasks.json Removes outdated sdkconfig guidance.
.github/​workflows/​test-pull-request.yml Generates CI dummy secrets with Python.

🧠 Review effort: Lite


💡 Configure MCP servers for context-aware, tailored reviews. Learn more in the docs.

* Serve the Checkout From Device Builder and Debug It in VS Code

- Pass the checkout path to esphome-device-builder, which serves ./configs
  without one.
- Point the VS Code launch config at esphome_device_builder, since
  esphome dashboard only prints a redirect on ESPHome 2026.9.1.

Co-Authored-By: Claude Opus 5.5 <[email protected]>

* Run the Debug Device Builder Beside the Devcontainer's Own

- Give the launch config its own data directory and port 6054, since
  Device Builder allows one instance per data directory and the image
  entrypoint already serves 6052.
- Forward 6054 from the devcontainer and document the pair.

Co-Authored-By: Claude Opus 5.5 <[email protected]>

* Say What the Debug Device Builder Shares With the First

Co-Authored-By: Claude Opus 5.5 <[email protected]>

---------

Co-authored-by: Claude Opus 5.5 <[email protected]>

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

🟢 Approval recommended

No unresolved review issues were identified.

0 open findings

🧠 Review effort: Lite

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

2 participants