Repository navigation
fix(command-surface): allow batch gesture steps without readinessTimeoutMs - #5302
Merged
thymikee merged 1 commit intoDec 1, 2026
Merged
Conversation
Member
|
Thanks for the fix. No code problems were found at 6d89210. CI has not run on this commit: the CI, Size, Pull Request Body, Apple, Android and Linux runs are waiting for approval for this fork PR, so the unit, typecheck and lint jobs have not checked the change. Not verified here: tests, typecheck, lint, and a batch gesture step on a live device. A live run is not required, because a static trace shows that the daemon still receives the same request shape on the same route. Before merge, a maintainer must approve the CI runs, and CI must pass at 6d89210. |
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
Fixes #5275.
readCommonInputassignedundefinedfor every common field (including the retiredreadinessTimeoutMsrow), andrefuseRetiredInputrejected any own key viaObject.hasOwn(record, key). When a batchgesturestep was read and then re-read in the gesture daemon writer, thatreadinessTimeoutMs: undefinedkey causedINVALID_ARGS.readCommonInputnow skipsundefinedvalues instead of writingundefinedown keys.refuseRetiredInputnow only refuses whenObject.hasOwn(record, key) && record[key] !== undefined.Before / after
INVALID_ARGS: Batch step 1 gesture input is invalid: readinessTimeoutMs was removed; add an explicit wait for the target before the interaction.readinessTimeoutMs(e.g.5000) is still refused.Validation
Tested at
6d89210e80:vitest run --project unit-core packages/command-surface/src/__tests__/input-audience.test.ts packages/client/src/__tests__/index-gesture.test.ts: 2 passed (18 tests)oxlint packages/command-surface packages/client --deny-warnings: 0 warnings, 0 errorsoxfmt --checkon modified files: passedtsc -b tsconfig.typecheck.json: passedOpen in [code]smith · Need help on this PR? Tag
@codesmith-botwith what you need.