Repository navigation
fix(webxr): keep Connect disabled until XR startup is ready - #1398
yanziz-nvidia wants to merge 3 commits into
Conversation
Signed-off-by: Yanzi Zhu <yanziz@nvidia.com>
|
Important Review skippedAuto incremental reviews are disabled on this repository. Please check the settings in the CodeRabbit UI or the
|
|
/preview-docs |
|
✅ Preview deployed: https://NVIDIA.github.io/IsaacCapture/preview/pr-1398/client/ Built from commit 4b7b83a. It may take a minute for the updated preview to appear. |
Signed-off-by: Yanzi Zhu <yanziz@nvidia.com>
|
/preview-docs |
|
🤖 Agent-generated (Claude Code · claude-sonnet-5-5) Summary Keeps Connect disabled until XR startup and capability checks pass. Legend: 🚫 Blocker · 💡 Suggestion · 🔍 Nit
Actionables (for bots — copy-paste-ready for AI)
|
Signed-off-by: Yanzi Zhu <yanziz@nvidia.com>
|
thanks @gareth-morgan-nv Addressed in 5ccaac8:
|
Connect can turn green while the desktop XR emulator is still loading: form validation and XR-store notifications re-enable the button before startup capability checks finish. Clicking during that window reaches Chrome's native XRSystem and fails with “No XR hardware found”. Reproduced this error in the PR preview by delaying the emulator bundle.
Keep Connect disabled until XR startup and browser capability checks pass, and enforce that readiness across form validation, session notifications, and click handling. Verify immersive support after emulator installation before reporting success. Roll back unsuccessful runtime installations before retrying, and create DevUI only after immersive support is confirmed so failed attempts do not accumulate UI or listeners. Preserve main's bundled IWER/DevUI loading and dependency versions.
Regression coverage delays the real emulator bundle, attempts a pointer click while loading, verifies that no early requestSession call occurs, edits the form, then connects as soon as the button becomes available. Failed emulator loads also keep Connect disabled. Both browser tests share the emulator-bundle route matcher. Remove the previous smoke-test workaround that waited for an installation log before clicking.
The stream-timeout test now expects
Stream stopped with error:because that is the console message emitted by CloudXRComponent on main; the user-facing banner still saysCloudXR session stopped:.Validation:
SKIP=check-copyright-year).