Tryorama -> sweettest for agent, dm, and file-store language#681
Tryorama -> sweettest for agent, dm, and file-store language#681
Conversation
|
Caution Review failedThe pull request is closed. 📝 WalkthroughWalkthroughThis PR migrates integration testing infrastructure across three bootstrap languages (agent-language, direct-message-language, file-storage) from Node.js/pnpm to Rust/SweetTest. Updates include GitHub Actions workflows, build scripts with targeted cargo compilation, new Rust-based test suites with utilities, and removal of legacy TypeScript tests. Source code visibility adjustments enable test access. Changes
Sequence Diagram(s)sequenceDiagram
participant Test as Integration Test
participant Setup as Test Setup
participant Conductor as SweetConductor
participant Cell as SweetCell
participant Zome as Zome Function
participant DHT as DHT Network
Test->>Setup: setup_conductors(n, network=true)
Setup->>Conductor: load DNA & initialize conductor(s)
Setup->>Cell: create app & cells for agents
Setup-->>Test: return (conductors, cells)
Test->>Test: create test data (AgentExpression, etc.)
Test->>Conductor: call_zome(create_agent_expression)
Conductor->>Zome: invoke zome function
Zome->>DHT: store entry
Zome-->>Conductor: return entry hash
Conductor-->>Test: deserialized result
Test->>Test: await_consistency(delay)
Note over DHT: DHT sync propagation
Test->>Conductor: call_zome(get_agent_expression)
Conductor->>Zome: invoke zome function
Zome->>DHT: retrieve entry
DHT-->>Zome: fetched entry
Zome-->>Conductor: return deserialized entry
Conductor-->>Test: result
Test->>Test: assert on retrieved data
Estimated code review effort🎯 4 (Complex) | ⏱️ ~60 minutes Possibly related PRs
Poem
✨ Finishing Touches
🧪 Generate unit tests (beta)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
and change CI to run those with our Docker image
Summary by CodeRabbit
Release Notes