Skip to content

Promote develop to main: Host-Agnostic OPERATIONS.md - #224

Merged
ptr727 merged 1 commit into
mainfrom
develop
Oct 15, 2026
Merged

ptr727 merged 1 commit into
mainfrom
develop

Conversation

@ptr727

@ptr727 ptr727 commented Oct 15, 2026

Copy link
Copy Markdown
Owner

What

Promotes #223 to main.

  • OPERATIONS.md no longer assumes the dashboard's Docker container. It defines three ways to run ESPHome once, each pinned to the dashboard's version: the dashboard container, a throwaway container, and an on-demand uvx call. The other commands then use plain esphome <command> <device>.yaml.
  • "Framework and Platform Versions" now describes the native esp-idf build rather than PlatformIO, closing Update OPERATIONS framework notes for the native esp-idf build #217.
  • The host-tools.json note matches.

Closes #217.

Behavior

Docs only. No template or device YAML changes, so no deployed device's configuration changes and no release follows.

Verification

Carried from #223: its Copilot threads are resolved, its final head carries an attested local pass, and its required checks passed.

🤖 Generated with Claude Code

* Make OPERATIONS.md Independent of How ESPHome Runs

A copy of this repository is used from the dashboard's container, from a
throwaway container, or through uvx on a development box with a board on
USB. The commands now take one form, with a new "Running the ESPHome CLI"
section that states the three routes once, how each pins the dashboard's
version, and where each keeps ESPHome's data directory. Container-only
paths and the docker exec logs hazard are scoped to the routes they
belong to.

"Framework and Platform Versions" now describes the native esp-idf
toolchain that ESP32 builds use by default in 2026.9.1, where
platform_version is dropped and platformio_options are ignored.

Closes #217

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

* Correct the Toolchain and Route Details Found in Local Review

Scope the throwaway container to checkouts other than the dashboard's copy,
keep log captures in the ignored logs/ directory, pin esptool through the
esphome release, and say where the ESP-IDF toolchain lives on each route.
State which platformio_options the native toolchain still applies, what
version means for the arduino framework, and that platform_version needs
an exact version under the PlatformIO toolchain. Note that the ESPHome CLI
also reaches a host through uvx in host-tools.json.

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

* Tighten Build Tree, Toolchain Cache, and PlatformIO Option Details

Name the build tree by the node name beside the YAML, say when ccache is
used and that esphome clean-all deletes the toolchain cache, correct
build_unflags on the native ESP-IDF toolchain, add nRF52, and carry the
CI-parity exception into the pinning rule. Use mktemp without a fixed
/tmp path, and name the pinned venv in host-tools.json.

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

* Correct clean-all Scope and Verify the Throwaway Container Logs Timeout

State what esphome clean-all deletes and which data directories it
empties, limit the secrets guard to checkouts, say the PlatformIO
toolchains are scheduled for removal rather than removed, and record the
checked docker run logs behavior: a timeout inside the container exits
124 and leaves nothing running, while one outside it leaves the
container running.

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

* Simplify the clean-all Notes and Complete the docker run Logs Example

Describe esphome clean-all by what it costs rather than by every path it
visits, add --rm to the docker run logs example and say how to stop a
leftover container, and call the dashboard's copy something other than
a checkout where the routes are listed.

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

* Name What clean-all Empties and Scope the Early-Pipe Note

Say that esphome clean-all empties the data directory of each config it
reaches, so the patched-component note that links to it stays accurate,
and limit the early-closing pipe note to docker exec, the case it
describes.

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 00:36
@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 53 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: 569666f9-dde1-4b19-a605-6f8099e72490
📥 Commits

Reviewing files that changed from the base of the PR and between 9918b9c and 36541f1.

📒 Files selected for processing: 2
  • OPERATIONS.md
  • host-tools.json
  • 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 (a7ad6c2) to head (36541f1).
⚠️ Report is 39 commits behind head on main.

Additional details and impacted files
@@           Coverage Diff           @@
##             main     #224   +/-   ##
=======================================
  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.

🟢 Approval recommended

Documentation-only changes were fully reviewed with no unresolved findings.

0 open findings

What changed in this PR

Updates ESPHome operational documentation with host-agnostic workflows and native ESP-IDF guidance.

Changes:

  • Documents container, uvx, and local CLI workflows.
  • Clarifies validation, flashing, logging, and caching guidance.
  • Aligns framework and host-tool documentation.
File Description
OPERATIONS.md Documents host-agnostic ESPHome workflows and native toolchains.
host-tools.json Aligns host-tool notes with supported CLI routes.

🧠 Review effort: Lite


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

@ptr727
ptr727 merged commit 9a2a233 into main Oct 15, 2026
22 checks passed
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.

Update OPERATIONS framework notes for the native esp-idf build

2 participants