Repository navigation
Conversation
Codex Review SummaryThis comment shows the latest Codex review activity on this pull request.
ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings. |
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: 31f690b646
ℹ️ About Codex in GitHub
Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you
- Open a pull request for review
- Mark a draft as ready
- Comment "@codex review".
If Codex has suggestions, it will comment; otherwise it will react with 👍.
Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".
| _need = _solver.get_max_contact_count() | ||
| if _need > NewtonManager._contacts.rigid_contact_max: | ||
| if cls._deterministic_mode != wp.DeterministicMode.NOT_GUARANTEED: | ||
| if cls._collision_pipeline.deterministic: |
There was a problem hiding this comment.
Update the existing collision-pipeline fake
Running test_newton_manager_abstraction.py::test_deterministic_collision_pipeline_matches_expanded_contact_capacity now raises AttributeError here: that test replaces CollisionPipeline with a fake that implements contacts() and _rigid_contact_max but has no deterministic attribute. The newly added standalone test does not replace or update this still-collected regression, so the existing Newton physics test suite fails before reaching its assertions; extend the existing test double to model the effective deterministic state.
AGENTS.md reference: AGENTS.md:L33-L34
Useful? React with 👍 / 👎.
| _need = _solver.get_max_contact_count() | ||
| if _need > NewtonManager._contacts.rigid_contact_max: | ||
| if cls._deterministic_mode != wp.DeterministicMode.NOT_GUARANTEED: | ||
| if cls._collision_pipeline.deterministic: |
There was a problem hiding this comment.
Add the Newton changelog fragment
This user-visible fix changes runtime behavior in the isaaclab_newton source package, but the commit adds no file under source/isaaclab_newton/changelog.d. The repository changelog check treats a changed package without either a release-note fragment or a .skip fragment as an error, so this commit cannot pass that required validation until the package receives the appropriate fragment.
AGENTS.md reference: AGENTS.md:L43-L44
Useful? React with 👍 / 👎.
Contact matching can enable a deterministic collision pipeline even when global determinism is NOT_GUARANTEED. When the solver requires a larger contact capacity, the old branch grew only Contacts and left the pipeline sort buffer undersized.
Use the constructed pipeline's actual deterministic flag to rebuild matching contact/sort buffers. Preserve the unsorted allocation path and solver/scoring behavior.
Validation: three CPU regressions pass using real Newton collision pipelines: contact matching with implicit sorting, explicit GPU_TO_GPU determinism, and unsorted contacts. Each grows capacity32→80 and executes collision. The all-task OSMO campaign used this exact one-line fix; this change does not claim to resolve later nonfinite physics errors.