Skip to content

Add phase 1 FTA's for Subscribe and Unsubscribe - #1307

Merged
crimson11 merged 1 commit into
eclipse-score:mainfrom
rowi-io:rw/fta_phase1_subscribe_unsubscribe
Oct 7, 2026
Merged

crimson11 merged 1 commit into
eclipse-score:mainfrom
rowi-io:rw/fta_phase1_subscribe_unsubscribe

Conversation

@rowi-io

@rowi-io rowi-io commented Oct 6, 2026

Copy link
Copy Markdown
Contributor

Add phase 1 FTA's for Subscribe and Unsubscribe

version = 1
safety = ScoreReq.Asil.B
rationale = "All four root causes have been prevented by according measures each. * The name mapping clash in case of a GenericProxy is prevented by: ''Service-Element-Name clash needs to get unambigiously detected.'' * The referencing of wrong storage location is prevented by: ''Mapping from Event/Field identification to shared-memory storage needs to be unambigous.''"
interface = "score.mw.com.GenericProxyEvent.Subscribe"

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I would say that it's not just GenericProxyEvent that is affected by these failures, but all proxy events and therefore argue to add "score::mw::com::AsProxy" as an interface.
I think you can't add more than one interface entry, right?

@rowi-io rowi-io Oct 7, 2026 •

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

According to tooling interface is optional String, single-valued, so only one entry is possible.

The system interface or signal that is affected by this failure mode.

According to public_api.puml and api_surface.lock.json Subscribe is declared on GenericProxyEvent and this is the architectural representative for all proxy-event flavours IMHO. Please correct me if I am wrong

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

No. We have Subscribe on GenericSkeletonEvent and SkeletonEvent<SampleType>
See our discussion/meeting today after the daily. Also the signature shall be C++! I.e :: instead of ..
Get in touch with Jochen, if it does not work.

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I did that yesterday with good intentions; if it's blocking the PR now, I'll revert it.
This entire file needs to be revised anyway concerning the interface name.

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Let's fix it in the next step.

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I have just checked it with interface = "score::mw::com:GenericProxyEvent::SetReceiveHandler" and the Lobster tracing does not work anymore

@rowi-io rowi-io Oct 7, 2026 •

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

No. We have Subscribe on GenericSkeletonEvent and SkeletonEvent<SampleType> See our discussion/meeting today after the daily. Also the signature shall be C++! I.e :: instead of .. Get in touch with Jochen, if it does not work.

you mean Proxy instead of Skeleton for Subscribe, right?
Also, here's a question: If two APIs are available and only one of them can be linked, how can this be resolved?

However, this must be addressed in follow-ups. So revert, or it can be merged as is for now?

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

reverted all changes in this file

@rowi-io
rowi-io force-pushed the rw/fta_phase1_subscribe_unsubscribe branch from 7953409 to e63b5af Compare October 7, 2026 14:04
@crimson11
crimson11 added this pull request to the merge queue Oct 7, 2026
Merged via the queue into eclipse-score:main with commit 4c12cfe Oct 7, 2026
20 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Status: Done

Development

Successfully merging this pull request may close these issues.

3 participants