[rb] reject an inbound BiDi scalar outside its union's declared arms - #17947
Merged
titusfortner merged 2 commits intoAug 25, 2026
Merged
Conversation
Contributor
PR Summary by QodoReject undeclared inbound BiDi union scalars
AI Description
Diagram
High-Level Assessment
Files changed (2)
|
Contributor
Code Review by Qodo🐞 Bugs (0) 📘 Rule violations (0) 📎 Requirement gaps (0)
Great, no issues found!Qodo reviewed your code and found no material issues that require reviewTip of the day💡 Did you know, you can hide the parts of a finding you never read, like the evidence or the agent prompt |
3 tasks
titusfortner
force-pushed
the
rb-bidi-inbound-scalar-arms
branch
from
August 25, 2026 18:10
762cd1e to
de4cf0c
Compare
Contributor
|
Code review by qodo was updated up to the latest commit de4cf0c |
This was referenced Aug 28, 2026
This was referenced Aug 30, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
🔗 Related Issues
Update to support the latest commit from ADR #17786 (66111c8)
💥 What does this PR do?
Reject an inbound bare scalar that is not one of its union's declared literals (e.g. anything other than
"viewport"/"pointer"forinput.Origin)🔧 Implementation Notes
scalar_arm?check, and matches how an unknown object variant is already rejected.@scalar_values: the generator raises at generation time if a non-object_onlyunion lacks them, andverify-bidi-generatedenforces that in CI.input.Originis the only union with scalar arms today and it never arrives inbound, so no traffic changes in practice; webdriverbidi-net has the same posture via its closedOrigintype.🤖 AI assistance
🔄 Types of changes