Skip to content

fix: harden press @ref bounds recovery#141

Merged
thymikee merged 1 commit into
mainfrom
codex/fix-press-ref-android
Feb 26, 2026
Merged

fix: harden press @ref bounds recovery#141
thymikee merged 1 commit into
mainfrom
codex/fix-press-ref-android

Conversation

@thymikee
Copy link
Copy Markdown
Member

Summary

Harden press @ref against invalid cached bounds by validating rects and refreshing snapshot once before dispatch.
Prefer a valid fallback-label target when refreshed @ref bounds remain invalid, and add regression coverage for both recovery paths.

Validation

  • pnpm typecheck
  • pnpm test:unit
  • pnpm test:smoke

Fixes #139

@github-actions
Copy link
Copy Markdown

PR Preview Action v1.8.1

QR code for preview link

🚀 View preview at
https://callstackincubator.github.io/agent-device/pr-preview/pr-141/

Built to branch gh-pages at 2026-02-26 09:14 UTC.
Preview will be ready when the GitHub Pages deployment is complete.

@thymikee thymikee merged commit 2a86f52 into main Feb 26, 2026
6 checks passed
@thymikee thymikee deleted the codex/fix-press-ref-android branch February 26, 2026 09:23
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Android: press @ref fails with "press requires x y" error

1 participant