feat: Rust sensing server with full DensePose-compatible API #40
Reference in New Issue
Block a user
Delete Branch "feat/rust-ruvector-sensing-ui"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Summary
wifi-densepose-sensing-server): Single 2.1MB binary replaces Python FastAPI + WebSocket servers, serving all DensePose-compatible REST API endpoints, dual WebSocket streams, and static UI filesderive_pose_from_sensing()with motion-driven animation:8080, sensing-only mode removed, all tabs (Dashboard, Hardware, Live Demo, Sensing) initialize normallyclearPingIntervalundefined method, browser ES module caching viaCache-ControlheadersEndpoints Served by Rust Binary
/health/live,/health/ready,/health/version/api/v1/info/api/v1/pose/current/api/v1/pose/stats/api/v1/pose/zones/summary/api/v1/stream/statusws://:8080/api/v1/stream/posepose_dataformat)ws://:8765/ws/sensing/ui/*Data Sources (auto-detected)
:5005(ADR-018 format)netsh wlan show interfacesRSSI pollingTest Results (9/9 PASS)
Test plan
cargo build --release -p wifi-densepose-sensing-servercompiles with zero warningssensing-server --source autostarts and auto-detects data sourceconnection_establishedthen continuouspose_datasensing_updatemessageshttp://localhost:8080/ui/index.html— Dashboard shows health dataERR_CONNECTION_REFUSEDerrors in browser console🤖 Generated with claude-flow
@@ -0,0 +60,4 @@LABEL org.opencontainers.image.description="Enterprise-grade benchmarking suite for RuVector"LABEL org.opencontainers.image.version="1.0.0"LABEL org.opencontainers.image.vendor="RuVector Team"LABEL org.opencontainers.image.source="https://github.com/ruvnet/ruvector"Ensure that a user for the container has been created
Ensure that a user for the container has been created
Show more details
@@ -0,0 +178,4 @@EXPOSE 5432# Use the default PostgreSQL entrypointCMD ["postgres"]Ensure that a user for the container has been created
Ensure that a user for the container has been created
Show more details
@@ -0,0 +196,4 @@HEALTHCHECK --interval=5s --timeout=5s --start-period=10s --retries=5 \CMD pg_isready -U $POSTGRES_USER -d $POSTGRES_DB || exit 1EXPOSE 5432Ensure that a user for the container has been created
Ensure that a user for the container has been created
Show more details
@@ -0,0 +56,4 @@ENV PATH="${CARGO_HOME}/bin:${PATH}"# Default command runs testsCMD ["cargo", "test", "--release", "--features", "pg_test"]Ensure that HEALTHCHECK instructions have been added to container images
Ensure that HEALTHCHECK instructions have been added to container images
Show more details
Ensure that a user for the container has been created
Ensure that a user for the container has been created
Show more details
@@ -0,0 +21,4 @@WORKDIR /app# Default commandCMD ["cargo", "test", "--features", "pg_test"]Ensure that HEALTHCHECK instructions have been added to container images
Ensure that HEALTHCHECK instructions have been added to container images
Show more details
Ensure that a user for the container has been created
Ensure that a user for the container has been created
Show more details
@@ -0,0 +57,4 @@COPY --chmod=755 crates/ruvector-postgres/docker/benchmark/run-benchmarks.sh /usr/local/bin/run-benchmarks.sh# Default command runs benchmarksCMD ["/usr/local/bin/run-benchmarks.sh"]Ensure that HEALTHCHECK instructions have been added to container images
Ensure that HEALTHCHECK instructions have been added to container images
Show more details
Ensure that a user for the container has been created
Ensure that a user for the container has been created
Show more details
@@ -0,0 +57,4 @@COPY --chmod=755 crates/ruvector-postgres/docker/test-runner/run-tests.sh /usr/local/bin/run-tests.sh# Default command runs pgrx tests and outputs JUnit XMLCMD ["/usr/local/bin/run-tests.sh"]Ensure that HEALTHCHECK instructions have been added to container images
Ensure that HEALTHCHECK instructions have been added to container images
Show more details
Ensure that a user for the container has been created
Ensure that a user for the container has been created
Show more details
KICS found more than 20 potential problems in the proposed changes. Check the Files changed tab for more details.