Conversation
|
If this PR resolves an issue you were experiencing I'm happy to test it and merge it if everything works well. However if it's something that AI suggested that's unrelated to any known issue then I'm inclined to close it. |
|
This is not a personal deployment issue, but it is directly scoped to the independently reported #358, not an unrelated AI suggestion. That report describes Meshtastic nodes present in the EUD and points tables but absent from the dashboard map because the point lacks cot_id and EUD activity is not refreshed. The regression on current master reproduces that data-path gap. This patch persists the linked CoT and Point rows and refreshes the matching EUD, including mapped-UID and restart cases. The useful remaining external gate is a test against a real Meshtastic setup like the reporter’s. Codex assisted with this clarification; the account owner authorized posting it. |
Closes #358.
What changed
Pointthroughcot_id, so dashboard serialization has the expectedhowandtypelast_event_timeand connected status when a position arrivesThe resolver preserves an existing physical-device EUD when an in-memory mapped UID is stale, avoiding an unsafe UID migration or a unique-callsign collision.
Validation
master(640a8ae9) with the regression suite: 6 failures and 1 errorgit diff --checkpassedAI assistance disclosure
OpenAI Codex assisted with issue triage, implementation, tests, adversarial review, and publication. The account owner explicitly authorized this contribution. It is ready for upstream review.