Skip to content

Defer body mapping reports until matching SAA signals are processed - #2858

Open
CMDR-Evolution wants to merge 1 commit into
EDCD:developfrom
CMDR-Evolution:hotfix/saa-mapping-order
Open

CMDR-Evolution wants to merge 1 commit into
EDCD:developfrom
CMDR-Evolution:hotfix/saa-mapping-order

Conversation

@CMDR-Evolution

@CMDR-Evolution CMDR-Evolution commented Oct 22, 2026 •

Copy link
Copy Markdown

Elite’s journal records SAAScanComplete and SAASignalsFound in that order, with the same timestamp. A detailed Scan follows. EDDI creates Body mapped from SAAScanComplete and Surface signals detected from SAASignalsFound.

In EDDI 5.0.5, Body mapped runs before Surface signals detected has supplied the biological genera. My personality therefore keeps its biological report separate from Body report. Previously, I was able to include that information in the mapping report.

A fresh journal example from 22 October is Piscium Sector PI-T b3-1 2 a (system address 2869440619937, body ID 4):

20:33:00 UTC — SAAScanComplete

20:33:00 UTC — SAASignalsFound, including Bacterium and Fonticulua

20:33:01 UTC — detailed Scan

This change updates the mapped-body state immediately, but waits to deliver the Body mapped notification until matching SAA signals have been processed. It matches by system address and body ID, including across separate journal reads. If matching signals do not arrive within one second, it releases the mapping notification as a fallback.

I would appreciate any suggestions if there is a better way to make the genera available to a body mapping report.

Validation: where the existing ordering regression fails on the unchanged pipeline., with this change: 15 focused tests pass in an isolated harness that compiles the production event pipeline.

Keep core mapping state immediate and release the mapping notification after matching SAA signals or a one-second fallback. Cover separate journal reads, body identity, replay, rings, context changes, and timer races with focused tests.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant