Repository navigation
fix(sharpa-avatar): report missing gloves and stop stale output [1.7] - #1578
Conversation
Signed-off-by: fvaloppi-nv <fvaloppi@nvidia.com>
Signed-off-by: fvaloppi-nv <fvaloppi@nvidia.com>
|
No actionable comments were generated in the recent review. Walkthrough
Merge Risk:
|
|
Add Carrot credits or activate Agent usage billing to use Autofix |
…oads Signed-off-by: fvaloppi-nv <fvaloppi@nvidia.com>
Description
Backports the stale-output withdrawal correction from #1577 to
release/1.7.x, following merged PR #1515. The original reminders and freshness checks are already present; this follow-up withdraws and recreates each dataset's output independently and preserves setup errors/backoff until recovery. Addresses #1421 and Internal Bug ID: 7022089.Type of change
Testing
The following validation was reported by source PR #1422 and was not repeated for this port:
sharpa_avatar_plugin_testswith production Avatar SDK 1.7.3-17.clang-format-14 --dry-run --Werroron changed C++ files: passed.SKIP=check-copyright-year pre-commit run --all-files: passed.Physical-glove validation is still required. I do not currently have hardware available to reproduce the reported startup sequence. QA should start with the right glove off and the left glove on, confirm that right-side reminders continue after the left connects, then power on the right glove and confirm that the reminders stop. The stale-output path should also be checked with a non-advancing dataset timestamp and recovery on a fresh sample.
Validation repeated for this 1.7 backport:
clang-format14.0.6--dry-run --Werroron all changed C++ files: passed.SKIP=check-copyright-year pre-commit run --all-files: passed.Adversarial review: two independent review passes identified retained HUMAN and joint-output resources and a retry-backoff bypass; all were corrected. The tests cover resource withdrawal/recreation, left/right and dataset isolation, empty payloads, physical readiness, standard/vendor exceptions, and retry timing. Real runtime and hardware validation remain pending.
Follow-up review fixes
Validation repeated on both PR branches: all 17 CTest cases passed under AddressSanitizer/UndefinedBehaviorSanitizer (leak detection disabled under ptrace), with project compiler warnings treated as errors. Formatting and the full pre-commit hook set passed. The exercised dataset state/reason pairs were checked against the actual Python reducer; the full binding-dependent Python suite was unavailable locally.
A fresh adversarial pass covered lifecycle, failure isolation, and the test/build contracts, with no remaining confirmed blocker. Synthetic tests do not validate vendor ABI, callback timing, physical haptics, or actual OpenXR teardown acknowledgments. Shared runtime cleanup remains best-effort; live SDK/runtime and hardware QA are still required.
Checklist
Summary by CodeRabbit