fix(cameras): stop publishing discovery rows as events #57
Loading…
Reference in a new issue
No description provided.
Delete branch "wt/t_f6e95af9"
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
publish_new_cameras()no longer JetStream-publishesevents.cameramessages. A scrape cycle therefore inserts 0 neweventsrows withsource_type=camera.run_cycle()is unchanged.GET /api/cameras, snapshots, and HLS are untouched.eventsare left in place.Why
The HUD event list was camera-index noise (
Open camera (UCSD)and friends). The cameras table is the index; the map layer already readsGET /api/camerasand filterssource_type !== 'camera'off the event blips.Consumers checked
source_type=cameraon this branch waspublish_new_cameras()inapp/run_camera_service.py. The masscan publisher was already removed on master (#45).events.>(includingevents.camera) and would insert a message if one arrived. Nothing else publishes that subject./ws/liveis AIS/ADS-B/geofence, not camera discovery. No separate alert subscriber onevents.camera.Test plan
pytest tests/test_event_ingest.py tests/test_camera_publish.py -q— 7 passedgit grep -n "Open camera" -- app/run_camera_service.pyprints nothingDo not merge from this card. Known-red CI step
docker login 127.0.0.1:3000is pre-existing.