Skip to content

refactor: harden integration infrastructure and professionalize static analysis for v1.4.0#245

Merged
arounamounchili merged 3 commits into
mainfrom
feature/modular-integration-tests
May 14, 2026
Merged

refactor: harden integration infrastructure and professionalize static analysis for v1.4.0#245
arounamounchili merged 3 commits into
mainfrom
feature/modular-integration-tests

Conversation

@arounamounchili
Copy link
Copy Markdown
Owner

Pull Request

Important

This project uses Conventional Commits and Release Please for automated versioning.
Please ensure your PR title follows the Conventional Commits format (e.g., feat: add lidar sensor, fix: core logic bug).

📝 Description

This PR stabilizes the LinkForge v1.4.0 codebase by resolving long-standing technical debt, hardening the integration testing infrastructure, and implementing a more professional static analysis strategy. It ensures the repository meets

🛠️ Type of change

  • 🐞 Bug fix (fix)
  • 🧪 Tests (test)
  • 🧹 Refactor (refactor)
  • 📚 Documentation (docs)
  • 🎨 Style/Linting (style)

✅ Checklist

  • I have run uv run pytest and all tests pass
  • I have run uv run pre-commit run --all-files and all hooks pass
  • I have verified the changes manually in the Blender viewport
  • I have updated the documentation or verified no changes are needed

- Add test_modular_assembly.py for namespace prefixing and collision validation.

- Add test_fidelity_roundtrip.py for lossless URDF serialization.

- Replace flaky Blender concurrency test with reliable rapid collection cleanup stress test.

- Fix URDFParser data loss when <sensor> and physics data coexist in the same <gazebo> tag.

- Fix type checker NoneType warnings across tests by adding type guards and using strict APIs.

- Fix AsynchronousRobotBuilder context sensitivity by tracking active scene.

Signed-off-by: arounamounchili <patouossa.mounchili@gmail.com>
- Stabilize Blender integration tests by hardening mock_bpy_env with robust geometric logic.
- Implement Ros2ControlSensor model and URDF parsing support for full schema compliance.
- Harden XACRO parser by replacing silent failures for missing dependencies with explicit exceptions.
- Clean up technical debt across the test suite, including ambiguous variables and brittle comments.
- Achieve 100% test pass rate (678 tests) with full lint/type safety compliance.

Signed-off-by: arounamounchili <patouossa.mounchili@gmail.com>
- Moved platform-specific pyright suppressions to pyproject.toml
- Removed global type-checking ignores from source files
- Replaced global ignores with targeted line-level ignores where unavoidable
- Hardened primitive detection and async builder logic
- Verified 100% pass rate for unit and integration tests

Signed-off-by: arounamounchili <patouossa.mounchili@gmail.com>
@arounamounchili arounamounchili merged commit de5fd2a into main May 14, 2026
13 checks passed
@arounamounchili arounamounchili deleted the feature/modular-integration-tests branch May 14, 2026 15:52
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.

1 participant