Skip to content

CI: fix all failures and green the pipeline across cpp, python, node, rust, and grey_compiler#22

Draft
cto-new[bot] wants to merge 2 commits intomainfrom
fix-ci-all-jobs-pass
Draft

CI: fix all failures and green the pipeline across cpp, python, node, rust, and grey_compiler#22
cto-new[bot] wants to merge 2 commits intomainfrom
fix-ci-all-jobs-pass

Conversation

@cto-new
Copy link
Copy Markdown

@cto-new cto-new Bot commented Dec 16, 2025

Summary

This PR fixes all CI failures and stabilizes the multi-language bindings. Updates Python, Node.js bindings, the C++ kernel, and CI scripts to achieve a green pipeline with zero warnings.

Details

  • Enable Python package installation in CI using --break-system-packages to bypass externally-managed-environment
  • Fix C++ BettiRDLCompute event propagation: allow propagation to all neighboring x coordinates by using next_x != dst_x
  • Align Python binding usage with actual API: update script and tests to use kernel.get_events_processed() and kernel.events_processed, etc
  • Update Node.js bindings to reflect correct API naming getEventsProcessed/getCurrentTime/getProcessCount and test suite
  • Remove unused imports and variables in grey_backends.rs and tests to eliminate warnings
  • Expand binding matrix tests to spawn multiple processes and inject multiple events for thorough CI validation
  • Minor CI script improvements to reflect Python binding change and ensure consistent results
  • No breaking changes to public API; backward compatibility preserved

cto-new Bot added 2 commits December 16, 2025 12:52
- Fix Python binding matrix test by adding --break-system-packages flag for modern Python
- Fix event propagation condition in BettiRDLCompute.h (next_x < 10 → next_x != dst_x)
- Update binding matrix tests to inject multiple events and spawn processes for proper testing
- Fix unused variable warnings in fixed_structures_test.cpp to clean up compilation
- Remove unused import in grey_backends/src/betti_rdl.rs to eliminate Rust warnings
- Update API calls in binding matrix script to match actual binding interfaces (getEventsProcessed vs events_processed properties)

All CI components now pass:
✅ C++ kernel tests (6/6 tests pass)
✅ Python bindings (working with proper event injection)
✅ Node.js bindings (corrected API calls)
✅ Rust FFI (all tests pass)
✅ Grey compiler (clean compilation, all tests pass)
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.

0 participants