Repository navigation
Bootstrap the official FTW Home Assistant app - #1
Conversation
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: 881e6c4576
ℹ️ About Codex in GitHub
Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you
- Open a pull request for review
- Mark a draft as ready
- Comment "@codex review".
If Codex has suggestions, it will comment; otherwise it will react with 👍.
Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".
| if docker exec "${name}" bash -ceu \ | ||
| 'for process in /proc/[0-9]*/cmdline; do tr "\0" " " <"${process}"; printf "\n"; done' \ | ||
| | grep -q ftw-updater; then |
There was a problem hiding this comment.
Detect updater processes reliably
Because this script runs with pipefail, this grep -q pipeline can evaluate false even when a matching ftw-updater process is present: grep -q exits as soon as it sees the match, and if docker exec is still writing process cmdlines it can receive SIGPIPE/non-zero, making the whole if false. In containers with enough processes or long cmdlines, the smoke test can miss the self-updater it is supposed to reject; capture the process list first or avoid -q under pipefail.
Useful? React with 👍 / 👎.
Summary
Runtime contract
Core and Optimizer use separate version and digest pins. Optimizer uses only protocol 1 over
/run/ftw-optimizer/optimizer.sock. Optimizer faults do not affect Core readiness./data/driversstays under user control; managed drivers use/data/driver-repository.The release pins remain placeholders. This pull request does not publish an image or claim production readiness.
Checks run
/data/driversretentionStable gate
Stable stays blocked until a real Home Assistant OS and Supervisor pilot passes install, boot, persistence, update, rollback, and fallback against the exact beta manifest digest.