23 Commits

Author SHA1 Message Date
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
0ad4d8d576
Fixed/simplified tsconfig and docker setup 2025-06-19 16:58:06 -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
04212e87e6 Merge pull request 'major changes and feature additions' (#1) from claude_code_work into main
Reviewed-on: #1
2025-06-15 14:08:40 -05:00
98014aaa17
add script for generating test coverage report 2025-06-14 17:01:33 -05:00
2dbf9a420a Conflict Resolution strategies completed 2025-06-09 15:01:09 -04:00
Ladd
b147378bf8 achieve clean shutdown, no open handles 2025-01-02 14:43:32 -06: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
1f8cbda73f prefix log messages with peer id 2024-12-31 12:28:24 -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
2e0672e04c added last-write-wins resolver 2024-12-29 14:35:30 -06:00
Ladd
ad3c00638c add tests to tsconfig so we get early warning via tsc watch when stuff breaks 2024-12-27 13:57:13 -06:00
Ladd
8fdec5da11 added delta ids; refactored delta to its own file; refactored http server 2024-12-27 13:43:43 -06:00
Ladd
cc33e4d694 shorter name for frequent command, npm run coverage 2024-12-26 16:55:14 -06:00
Ladd
3f0b5bec4e refactored to use lossless/lossy view mechanisms for resolving get requests 2024-12-26 15:59:03 -06:00
Ladd
9d9a1e1f08 fixed test run/002 2024-12-25 19:27:36 -06:00
Ladd
b7921a6edf converted logging to use debug library. added markdown watch and reread 2024-12-24 13:41:31 -06:00
Ladd
81839bb4fa added lossless view 2024-12-23 17:29:38 -06:00
Ladd
cbec1b5afb deduplicate deltas 2024-12-22 14:38:01 -06:00
Ladd
e24be625d1 keeping track of peers from whom deltas are received 2024-12-22 14:00:51 -06:00
Ladd
cfe410484e pretty neat 2024-12-21 21:16:18 -06:00