test: add verification and rolling upgrade test for Rust launcher#2600
test: add verification and rolling upgrade test for Rust launcher#2600barakeinav1 wants to merge 1 commit into2262-port-node-launcher-to-rust-v2from
Conversation
|
PR title type suggestion: This PR modifies source code files across multiple crates in addition to adding tests, so the type prefix should be Suggested title: |
Code ReviewThe PR introduces a new Rust-based TEE launcher ( No critical issues found. A few minor observations:
✅ Approved — clean new crate with solid type safety, good test coverage, and no merge-blocking issues. |
|
PR title type suggestion: This PR changes source code files across multiple crates, not only tests. The Suggested title: |
|
PR title type suggestion: This PR includes significant source code changes across multiple crates beyond just tests. The Based on the scope of changes (source code updates, CI changes, configuration), consider using Suggested title: |
|
PR title type suggestion: This PR includes substantial source code changes across multiple crates, not just test files. The type prefix should probably be Suggested title: |
Add test-verify-and-upgrade.sh script with two scenarios: Scenario 1 (verify): Validates cluster is fully operational - Contract state is Running - TEE accounts registered (count matches N) - All attestations are real Dstack (not Mock) - ECDSA signature generation works - Allowed image hashes listed Scenario 2 (upgrade): Rolling upgrade to a new MPC image - Vote for new MPC image hash on-chain - Wait for nodes to detect new approved hash - Restart CVMs with updated TOML config (new image tag) - Verify network operational with new image Closes #2599
3de661a to
0568e92
Compare
Summary
test-verify-and-upgrade.shscript for Rust launcher localnet testingDepends on #2326 and #2563.
Closes #2599
Test plan
🤖 Generated with Claude Code