[adr] BiDi low-level definitions are generated from a shared spec model without orchestration#17701
[adr] BiDi low-level definitions are generated from a shared spec model without orchestration#17701titusfortner wants to merge 4 commits into
Conversation
PR Summary by QodoAdd ADR for generating BiDi low-level protocol definitions from shared spec model Description
Diagram
High-Level Assessment
Files changed (1)
|
Code Review by Qodo
Context used✅ Compliance rules (platform):
11 rules 1. No binding-status section
|
|
Code review by qodo was updated up to the latest commit 4b3f61d |
|
Code review by qodo was updated up to the latest commit a49e5ab |
|
Code review by qodo was updated up to the latest commit 67b42c9 |
diemol
left a comment
There was a problem hiding this comment.
I was not aware of the consequences of each binding doing their own thing. I believe It makes sense to unify this.
|
|
||
| ## Decision | ||
|
|
||
| **1. The spec is the oracle, through one shared model.** The definitions are generated from a |
There was a problem hiding this comment.
Where is this "shared model"? What form does it have? Who owns it?
| commands, and events — and nothing that coordinates them: subscription lifecycle, event dispatch, | ||
| mapping ids to handlers, and the objects handed to a handler live in a separate layer that imports | ||
| the definitions, not spliced into the generated classes (e.g. through an enhancements manifest). A | ||
| thin, stateless convenience over a single command is a lesser matter; what must not land here is |
There was a problem hiding this comment.
What does a thin, stateless convenience mean? Should we be more explicit here so that PRs implementing this understand what belongs in the low-level definition and what goes into a different layer?
📄 The decision, its rationale, considered options, and consequences are in the record file
this PR adds; read it there. The sections below are proposal notes and review logistics.
View ADR Directly: https://github.com/titusfortner/selenium/blob/adr-bidi-cddl/docs/decisions/17701-bidi-generated-protocol-layer.md
🔗 Related
📝 Proposal notes
🗣 TLC discussion
Pending — not yet discussed.
📌 Tracking
Tracking issue: (linked on acceptance)