Skip to content

Install cs---engine-shed-2, and stop the tests snapshotting INSTALLED - #28

Merged
bazauto merged 1 commit into
mainfrom
feat/install-engine-shed-2
Sep 25, 2026
Merged

bazauto merged 1 commit into
mainfrom
feat/install-engine-shed-2

Conversation

@bazauto

@bazauto bazauto commented Sep 25, 2026

Copy link
Copy Markdown
Owner

Installs cs---engine-shed-2, the first new bazauto/block-detection channel after Goods Shed's. It replaces cs---goods-shed in INSTALLED, whose LM-iD.1 was removed in #27.

Consequence for Goods Shed

Goods Shed now has only its IR beam. An ir_position clear is a no-op in the orchestrator, so the block can go occupied but can't clear until a detector is back on board 1 pin 8. The orchestrator also stops hearing cs---goods-shed and degrades the block to unknown. Both failures leave the block treated as occupied. This is recorded in docs/pin-allocation.md and in the INSTALLED comment.

Tests no longer snapshot INSTALLED

Three tests hard-coded the Goods Shed pair, so installing any other sensor turned the suite red. deploy.sh then refused to deploy, which is how this came up. They now check properties of whatever is installed:

  • each installed sensor is on the board its cs---/ir--- prefix names;
  • each has its device's polarity (active high on board 1, active low on board 2);
  • no id is listed twice.

A config-only bring-up no longer needs a test edit. Pin and id validity are still covered by test_the_real_config_resolves and the allocation tests.

python -m pytest: 208 passed.

Deployed

scripts/deploy.sh io-node (orchestrator /health online, manual mode). The broker afterwards showed cs---engine-shed-2 publishing, going clear then occupied, and ir---goods-shed → clear. The one cs---goods-shed message seen was the retained reading from before.

Docs

CLAUDE.md current state, README.md status, and docs/pin-allocation.md "Currently installed".

🤖 Generated with Claude Code

@bazauto
bazauto enabled auto-merge (squash) September 25, 2026 19:15
Goods Shed's detector is out of service, so cs---goods-shed leaves
INSTALLED. The config tests now check properties of whatever is
installed, so a bring-up no longer turns the suite red and blocks
deploy.sh.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@bazauto
bazauto merged commit 0a77819 into main Sep 25, 2026
1 check passed
@bazauto
bazauto deleted the feat/install-engine-shed-2 branch September 25, 2026 19:16
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