17 Commits

Author SHA1 Message Date
c8d38a4af2
refactor: remove dockerOptions and fix resource limits
- Removed unused dockerOptions from DockerOrchestrator and all manager classes
- Updated container-manager to use NanoCpus for CPU limits instead of CpuQuota/CpuPeriod
- Fixed resource limit enforcement in container configuration
- Improved test reliability and error handling
- Cleaned up test files and removed unused code
2025-06-19 16:58:08 -05:00
b5c0c010a9
feat: Refactor Docker orchestrator and enhance test utilities
This commit includes a major refactoring of the Docker orchestrator implementation
along with improvements to the testing infrastructure:

- Refactored Docker orchestrator to handle dynamic port assignment
- Added comprehensive test utilities in docker-test-utils.ts
- Improved error handling and resource cleanup in test environments
- Enhanced NodeStatus interface with containerId and networkId
- Added support for different storage types in NodeConfig
- Fixed request port handling in TestOrchestrator
- Added proper cleanup method to NodeOrchestrator interface

The changes ensure more reliable container management and better test isolation
while maintaining backward compatibility with existing implementations.

BREAKING CHANGE: The NodeOrchestrator interface now requires a cleanup() method.
2025-06-19 16:58:07 -05:00
feb7639978
docker orchestrator is working 2025-06-19 16:58:07 -05:00
b78985779b
Implement Docker orchestrator and fix test infrastructure
- Add DockerOrchestrator implementation with container management
- Refactor InMemoryOrchestrator to use RhizomeNode directly
- Fix orchestrated test files for single and two-node scenarios
- Update package.json with dockerode dependency
- Clean up old test files and imports
2025-06-19 16:58:06 -05:00
Ladd
58c5f5dc4e switched back to commonjs rather than esm 2025-01-01 22:56:34 -06:00
Ladd
756fd240f5 removed libp2p/gossipsub 2025-01-01 22:45:17 -06:00
Ladd
5161ab0a85 remove unnecessary debug statements 2024-12-31 19:03:39 -06:00
Ladd
52bada4ac8 log messages start with uppercase 2024-12-31 14:58:28 -06:00
Ladd
cb09606590 fixed a small bug with global seedPeers 2024-12-31 14:04:34 -06:00
Ladd
6678176326 prefix logs with rz: 2024-12-31 12:40:26 -06:00
Ladd
44e6cfa13c added gossipsub in parallel with zeromq. converted project to ESM for compatibility with gossipsub 2024-12-31 11:35:09 -06:00
Ladd
c3f896f130 use lossless view for full list of entity ids 2024-12-26 16:52:46 -06:00
Ladd
3f0b5bec4e refactored to use lossless/lossy view mechanisms for resolving get requests 2024-12-26 15:59:03 -06:00
Ladd
4f6dcf3d15 move util back out of test dir 2024-12-25 19:32:02 -06:00
Ladd
9d9a1e1f08 fixed test run/002 2024-12-25 19:27:36 -06:00
Ladd
28691d677a reduce data replication wait time 2024-12-25 17:32:20 -06:00
Ladd
a6f65ef99f successful tests with multiple rhizome nodes 2024-12-25 17:24:18 -06:00