Add local logging, proximity capture, and run downloads #4
Loading…
Reference in a new issue
No description provided.
Delete branch "codex/local-logger"
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?
Crewbot can send diagnostics and normalized telemetry to
http://localhost:8765without authentication. Its Local logger (no authentication) setting persists across restarts, restricts uploads to loopback HTTP origins, bypasses proxies, omits authentication headers, and keeps a separate durable queue. Authenticated HTTPS logging remains the default.The standalone WSL launcher starts the loopback gateway and VictoriaLogs without Keycloak, TLS setup, root privileges, or the desktop app. Local search, archives, and replay exports share one workspace. The gateway enforces loopback peers/hosts and browser-origin restrictions and disables account/token routes. The NixOS module supports the same local-only mode.
The logger main page shows the 20 most recent run IDs, refreshes them automatically, and links each run to its filtered event view. Each row has a Download log button scoped to that run, application, and device; it downloads the full archived run independently of the search query or time filters. The longer session list and Crewbot replay controls remain under Archives.
The 0.3.0b3 app also captures iRacing
CarLeftRightfrom the frozen telemetry frame assnapshot.car_left_right. Values 0–6 are preserved exactly; missing or invalid values become null. Inactive 0 stays distinct from clear 1. Telemetry uploads, local JSONL recordings, and typed replay exports preserve the field. Older recordings still load with proximity unavailable. This supplies data for spotter development; spoken proximity warnings remain separate work.The release request pins
v0.3.0b3to10bfae2b9ef93e84733b33bda5c72177578f6b9e. Merging the request into main starts the existing protected-main release workflow. Installation and capture instructions use the versioned source archive and work before registry publication, including systems without Git. The existing local logger can accept and export the new field without an upgrade.The local logger guide pins the logger to
e9603e73a5b4040ad309c3c4256f3e119360eac4for the Recent runs page, and the Windows app to the immutablev0.3.0b3beta.Validation:
The updated logger passed Go tests/vet, a Nix package build, packaged local-logger checks, and Chromium tests in both local-only and authenticated modes. Browser checks cover run links, safe text rendering, scoped full-run downloads with older events, existing replay/session controls, and a 390-pixel mobile layout.
102 Python tests passed, including all proximity enum values, frozen SDK reads, invalid/missing inputs, local recording/replay, and uploader preservation.
The beta wheel passed metadata/entrypoint validation and the installed desktop/settings smoke test, including local mode with an unavailable credential store.
The real local gateway and VictoriaLogs passed upload, search, typed replay export/playback, and restart persistence for all proximity states and null. Legacy replay still loads. Request restrictions, occupied ports, and shutdown checks also passed.
The exact public
v0.3.0b3.tar.gzURL built and installed as 0.3.0b3; installed capture/uploader modules matched the tag, and the installed app passed the desktop smoke test.The standalone logger previously passed Go tests/vet, local/authenticated NixOS configuration evaluation, and both architecture evaluations.
Live Windows/iRacing proximity behavior, physical audio/input devices, and audible spotter timing remain manual acceptance work. Local checks do not replace PR CI or the protected-main release workflow.
Add local-only app and WSL logging for the 0.3.0b2 betato Add local logging and proximity capture for the 0.3.0b3 betaAdd local logging and proximity capture for the 0.3.0b3 betato Add local logging, proximity capture, and run downloads