发布

  • v1330 2154b6931c

    fix(docker): include HA-DISCO MQTT + cog-ha-matter; restores #794

    frostbyte_neo 发布于 2026-05-25 19:29:43 +00:00

    Three changes:

    1. Dockerfile.rust now builds sensing-server with --features mqtt
      (ADR-115 HA-DISCO publisher) and also builds + ships the
      cog-ha-matter binary (ADR-116 Home Assistant + Matter cog with
      mDNS, embedded broker, RuVector-backed thresholds, Ed25519 witness).
      Adds EXPOSE 1883 for the embedded MQTT broker.

    2. docker-entrypoint.sh routes docker run <image> cog-ha-matter ...
      (or ha-matter) to /app/cog-ha-matter, defaulting --sensing-url to
      http://127.0.0.1:3000 so a docker-compose deployment works out of
      the box. The default entrypoint (no first arg) still launches
      sensing-server unchanged.

    3. Workflow path filter now also fires on changes to
      v2/crates/wifi-densepose-bfld/** and v2/crates/cog-ha-matter/**
      so future iteration on those crates rebuilds the image.

    DOCKERHUB_TOKEN rotated separately (was expired since 2026-05-13,
    which is why the last 5 workflow runs failed at the Docker Hub login
    step and latest on Docker Hub has stayed amd64-only despite #631
    being merged). With this commit + rotated token, the next CI run
    should land a multi-arch :latest with HA-DISCO + cog-ha-matter +
    BFLD support.

    Reproduced kutayozdur's pull failure on ruv-mac-mini (Apple Silicon,
    Darwin arm64) via Tailscale before fixing.

    Refs #794, #631, ADR-115, ADR-116, ADR-118.

    Co-Authored-By: claude-flow ruv@ruv.net

    下载附件