Skip to content

mw::com: Update slot count based on the presence of Notifer Tag in Field.#650

Open
KrishaDeshkool wants to merge 9 commits into
eclipse-score:mainfrom
KrishaDeshkool:update_slot_count
Open

mw::com: Update slot count based on the presence of Notifer Tag in Field.#650
KrishaDeshkool wants to merge 9 commits into
eclipse-score:mainfrom
KrishaDeshkool:update_slot_count

Conversation

@KrishaDeshkool

@KrishaDeshkool KrishaDeshkool commented Jul 6, 2026

Copy link
Copy Markdown
Contributor

update the slot counts based on this matrix

WithNotifier(enabled) && numberOfSampleSlots(configured) -> use configured sample slots
WithNotifier(enabled) && numberOfSampleSlots(missing) -> none, startup terminates
WithNotifier(disabled) && numberOfSampleSlots(missing) -> 2
WithNotifier(disabled) && numberOfSampleSlots(configured) -> 2 + a warning is logged

@KrishaDeshkool KrishaDeshkool force-pushed the update_slot_count branch 15 times, most recently from b706d9d to 3701ecf Compare July 10, 2026 16:32
@KrishaDeshkool KrishaDeshkool force-pushed the update_slot_count branch 11 times, most recently from 6557421 to 91b502b Compare July 13, 2026 16:13
@KrishaDeshkool KrishaDeshkool marked this pull request as ready for review July 13, 2026 16:14
@KrishaDeshkool KrishaDeshkool requested a review from castler as a code owner July 13, 2026 16:14
A field without a notifier passes a fixed slot count override here. The
tracing slots (a std::uint8_t) are added on top the override is small number(2)
so the sum cannot overflow, no extra check needed.
The field passes its notifier capability to the binding factory, which
uses it to pick the slot count for the field's backing event.
CreateSkeletonEventOrField is now CreateSkeletonServiceElement, a shared
helper behind two typed entry points: CreateSkeletonEvent (no slot count
override) and CreateSkeletonField (with one). The event factory no longer
sees a field-only parameter.
@KrishaDeshkool KrishaDeshkool changed the title Update slot count mw::com: Update slot count based on the presence of Notifer Tag in Field. Jul 13, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Status: Backlog

Development

Successfully merging this pull request may close these issues.

1 participant