Repository navigation
test(conformance): replay shared fixtures - #7
Merged
Merged
Conversation
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
RasulOs
approved these changes
Nov 16, 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.
Summary
React now replays the shared SDK conformance fixtures (v0.2.0) on every pull request, so it behaves like the native Kotlin, Swift and Flutter SDKs. This fixes keys that stayed pressed on the device and adds the polling fallback for task approvals.
Changes
conformance/fixtures(release tag inconformance/VERSION) andscripts/sync-conformance.sh TAG [CLONE_DIR]to update them.use-scrcpy-inputintosrc/lib/input-routing.ts; the hook keeps DOM wiring only and now lets the router see releases that arrive while the control channel is closed, so no gesture stays active after a reconnect.useTaskApproval: whensubscribethrows, the error goes toonErrorand the hook polls atpollIntervalMs(3 s by default; an explicit 0 also falls back to 3 s after a failed subscribe).createScreenshotRequestbuilder used byRemoteControl.screenshot().ci.yml(type check, tests, build) on pull requests and pushes to main; README gets a short Conformance section.Testing
bun run typecheck,bun test(454 pass, 28 skipped as not applicable to the browser: IME composition and rotated geometry),bun run build.Runtime
Checked live with the example app against a cloud Android device: the stream connects, a click opens an app on the device, typed letters arrive in a text field, and the ContextMenu key opens the app menu on the device (key down and up both delivered).
🤖 Generated with Claude Code