Skip to content

Return every message containing a signal name - #13

Merged
ip332 merged 1 commit into
mainfrom
fix/pgn-for-all-matches
Nov 23, 2026
Merged

ip332 merged 1 commit into
mainfrom
fix/pgn-for-all-matches

Conversation

@ip332

@ip332 ip332 commented Nov 23, 2026

Copy link
Copy Markdown
Owner

When a signal name appears on multiple messages, pgnFor() stops at the first match. Remove the early exit so callers receive every matching database key, and clarify that matching is by name.

Adds a regression with the same signal name on two messages and a third message without it. Existing missing-name and single-match tests remain in place. Plain-C SPN attributes, multiplex retention, and the sorted SPN index are already on main; this fixes the remaining C++ lookup bug.

Validation: 352 tests passed in Linux Docker, including full-log replays. Coverage gate passed: 98.2% lines, 94.1% branches. Seven existing tests remain disabled.

Closes #5.

@ip332
ip332 merged commit 71d35f3 into main Nov 23, 2026
3 checks passed
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.

Signals are found by a linear name scan; SPN numbers are never read from the DBC

1 participant