Repository navigation
[Fix] Bump daqp pin to 0.8.5 to fix Pink IK solver no-op on main CI - #5902
Conversation
qpsolvers 4.12.0 enabled DAQP warm starts, passing a primal_start argument into daqp.solve(). The pinned daqp==0.7.2 does not accept primal_start and raises TypeError on every solve. PinkIKController swallows the exception and returns the joints unchanged, so the IK becomes a no-op and the end effectors stay at the reset pose -- a fixed ~26 mm error that broke test/controllers/test_pink_ik.py in CI. Bump the pin to daqp==0.8.5, the release that exposes primal_start, matching develop. Reproduced locally: qpsolvers 4.12.0 + daqp 0.7.2 fails with the exact CI offset; qpsolvers 4.12.0 + daqp 0.8.5 passes.
There was a problem hiding this comment.
🔍 Isaac Lab Review Bot Analysis
Summary
This PR correctly fixes a silent failure in the Pink IK controller caused by an API incompatibility between qpsolvers>=4.12.0 and daqp==0.7.2. The fix is minimal, well-targeted, and aligns main with develop.
✅ What Works Well
Root Cause Analysis
- The PR accurately identifies that
qpsolvers==4.12.0introduces DAQP warm starts via theprimal_startargument daqp==0.7.2lacks this argument, causingTypeError: solve() got an unexpected keyword argument 'primal_start'- The broad
except (AssertionError, Exception)clause inPinkIKController.compute()(lines ~230-240) swallows this error and returns joints unchanged, making IK silently become a no-op
Fix Quality
- Bumping to
daqp==0.8.5is the correct minimal fix — it exposes the requiredprimal_startparameter - The version aligns with the
developbranch, avoiding divergence - Changelog entry properly documents the issue with technical detail
- Comments in
setup.pyexplain why the pin exists, which is excellent for future maintainability
Testing Evidence
- The PR description includes systematic verification with controlled variable isolation
- Error magnitude (~26mm) is consistent across failures, confirming the no-op behavior
💡 Observations
Silent Failure Pattern
The PR correctly notes that the broad exception handler in PinkIKController masks solver failures. While fixing that is out of scope for this CI hotfix, it's worth tracking — silent IK failures can cause subtle robot behavior bugs that are hard to debug. The current pattern returns stale joint positions on any solver exception, not just expected convergence failures.
Platform Constraint
I noticed the SUPPORTED_ARCHS_ARM variable name is used but the actual constraint targets x86_64/AMD64 (line 55 in setup.py). This is cosmetic but could confuse future readers:
f"daqp==0.8.5 ; platform_system == 'Linux' and ({SUPPORTED_ARCHS_ARM})"This is pre-existing and unrelated to this PR.
📋 Test Coverage
The existing test/controllers/test_pink_ik.py provides adequate coverage for this change:
- Tests verify end-effector positioning accuracy
- The 26mm fixed offset in failures directly exercises the code path this PR fixes
- No new tests are needed for a dependency pin bump
✅ Verdict
LGTM for merge — This is a clean, minimal fix for a real CI regression. The dependency pin is correctly specified with version and rationale documented.
Automated review by Isaac Lab Review Bot
Greptile SummaryThis is a targeted dependency hotfix that bumps the
Confidence Score: 4/5Safe to merge — the one-line pin change is narrowly scoped, well-reasoned, and matches the identical pin already on the develop branch. The fix is correct and the root cause analysis is thorough. The only forward-looking concern is that qpsolvers remains unpinned, meaning a future qpsolvers release could trigger the same class of silent solver failure again — but this is an acknowledged limitation and consistent with the existing dependency strategy. No files require special attention; source/isaaclab/setup.py is the only substantive change and it is straightforward. Important Files Changed
Flowchart%%{init: {'theme': 'neutral'}}%%
flowchart TD
A["qpsolvers 4.12.0\nenables DAQP warm starts"] --> B["passes primal_start\nto daqp.solve()"]
B --> C{daqp version?}
C -->|"0.7.2 (old pin)"| D["TypeError: unexpected\nkwarg 'primal_start'"]
C -->|"0.8.5 (new pin)"| E["solve() accepts\nprimal_start ✓"]
D --> F["PinkIKController\nswallows exception"]
F --> G["IK becomes no-op\n~26 mm offset in CI"]
E --> H["IK solves correctly\nerror < 1e-3 m ✓"]
Reviews (1): Last reviewed commit: "Bump daqp pin to 0.8.5 to fix Pink IK so..." | Re-trigger Greptile |
| f"pin-pink==3.1.0 ; platform_system == 'Linux' and ({SUPPORTED_ARCHS_ARM})", | ||
| f"daqp==0.7.2 ; platform_system == 'Linux' and ({SUPPORTED_ARCHS_ARM})", | ||
| f"daqp==0.8.5 ; platform_system == 'Linux' and ({SUPPORTED_ARCHS_ARM})", |
There was a problem hiding this comment.
qpsolvers remains unpinned, keeping the fix fragile
pin-pink==3.1.0 only constrains qpsolvers>=4.3.1, so it continues to float. A future qpsolvers release that further extends its use of the daqp API (or introduces another new keyword argument) would silently break the solver again in the same way — PinkIKController would swallow the TypeError and become a no-op. Pinning qpsolvers alongside daqp here (or at least adding an upper bound like qpsolvers<5) would make the dependency contract explicit and prevent this class of regression.
…saac-sim#5902) ## 1. Summary - Fixes the ``test/controllers/test_pink_ik.py`` failures on ``main`` CI (24 failing parametrizations, ~3 weeks running, identical fixed ~26 mm end-effector offset). - Root cause: ``qpsolvers`` 4.12.0 (2026-05-05) enabled DAQP warm starts and now passes a ``primal_start`` argument into ``daqp.solve()``. The pinned ``daqp==0.7.2`` does not accept it and raises ``TypeError: solve() got an unexpected keyword argument 'primal_start'`` on every solve. ``PinkIKController`` catches the exception and returns the joints unchanged, so Pink IK becomes a no-op and the end effectors stay at the reset pose — a fixed offset, not a kinematic error. - Fix: bump the pin to ``daqp==0.8.5`` (the release that exposes ``primal_start``), aligning ``main`` with ``develop``. ## 2. Why it surfaced now - ``qpsolvers`` is unpinned on ``main`` (transitive via ``pin-pink==3.1.0``, which requires ``qpsolvers>=4.3.1``), so it floats to the latest release. - The last passing CI resolved ``qpsolvers==4.11.0``; the first failing CI resolved the just-released ``qpsolvers==4.12.0``. No ``main`` source changed between them — only the resolved dependency. - ``daqp`` was pinned ``0.7.2`` in both the passing and failing runs, so the trigger is the ``qpsolvers`` bump interacting with the too-old ``daqp``. ## 3. Verification Reproduced and fixed locally in the CI-equivalent container, isolating the single variable: | qpsolvers | daqp | ``primal_start`` | test_pink_ik (GR1T2) | |---|---|---|---| | 4.11.0 | 0.7.2 | n/a | PASS (error ~1e-6 m) | | 4.12.0 | 0.7.2 | absent | FAIL — ``Left hand IK position error (0.026841)`` | | 4.12.0 | 0.8.5 | present | PASS — all variants, error collapses to <1e-3 m | - The failing CI log contains ``solve() got an unexpected keyword argument 'primal_start'`` (the swallowed ``TypeError``); the passing CI log does not. - The install smoke check already asserts ``'primal_start' in inspect.signature(daqp.solve).parameters``, consistent with this being the required ``daqp`` API. ## 4. Scope - One-line dependency pin change in ``source/isaaclab/setup.py`` plus the extension version bump and changelog entry (``main`` convention). - The broad ``except`` in ``PinkIKController`` that silently swallowed the solver error is the reason this was masked; surfacing it loudly is a larger controller change already present on ``develop`` and is intentionally out of scope for this minimal CI hotfix. ## 5. Test plan - [x] Local repro: ``qpsolvers==4.12.0`` + ``daqp==0.7.2`` fails with the exact 26 mm offset. - [x] Local fix: ``qpsolvers==4.12.0`` + ``daqp==0.8.5`` passes all GR1T2 ``test_pink_ik.py`` variants. - [x] ``./isaaclab.sh -f`` clean.
1. Summary
test/controllers/test_pink_ik.pyfailures onmainCI (24 failing parametrizations, ~3 weeks running, identical fixed ~26 mm end-effector offset).qpsolvers4.12.0 (2026-05-05) enabled DAQP warm starts and now passes aprimal_startargument intodaqp.solve(). The pinneddaqp==0.7.2does not accept it and raisesTypeError: solve() got an unexpected keyword argument 'primal_start'on every solve.PinkIKControllercatches the exception and returns the joints unchanged, so Pink IK becomes a no-op and the end effectors stay at the reset pose — a fixed offset, not a kinematic error.daqp==0.8.5(the release that exposesprimal_start), aligningmainwithdevelop.2. Why it surfaced now
qpsolversis unpinned onmain(transitive viapin-pink==3.1.0, which requiresqpsolvers>=4.3.1), so it floats to the latest release.qpsolvers==4.11.0; the first failing CI resolved the just-releasedqpsolvers==4.12.0. Nomainsource changed between them — only the resolved dependency.daqpwas pinned0.7.2in both the passing and failing runs, so the trigger is theqpsolversbump interacting with the too-olddaqp.3. Verification
Reproduced and fixed locally in the CI-equivalent container, isolating the single variable:
primal_startLeft hand IK position error (0.026841)solve() got an unexpected keyword argument 'primal_start'(the swallowedTypeError); the passing CI log does not.'primal_start' in inspect.signature(daqp.solve).parameters, consistent with this being the requireddaqpAPI.4. Scope
source/isaaclab/setup.pyplus the extension version bump and changelog entry (mainconvention).exceptinPinkIKControllerthat silently swallowed the solver error is the reason this was masked; surfacing it loudly is a larger controller change already present ondevelopand is intentionally out of scope for this minimal CI hotfix.5. Test plan
qpsolvers==4.12.0+daqp==0.7.2fails with the exact 26 mm offset.qpsolvers==4.12.0+daqp==0.8.5passes all GR1T2test_pink_ik.pyvariants../isaaclab.sh -fclean.