fix(manager): keep fatal VM errors internal - #26
Conversation
|
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info⚙️ Run configurationConfiguration used: Path: .coderabbit.yaml Review profile: CHILL Plan: Pro Plus Run ID: ⛔ Files ignored due to path filters (1)
📒 Files selected for processing (7)
Included review availability: Your plan provides up to 1 included review per hour; 0 remain after this review. 📝 WalkthroughWalkthroughThe executor introduces contract-visible outcome types, separates publication and validation handling, and preserves fatal VM errors through nested execution. Top-level reporting coalesces fatal results into ChangesFatal outcome reporting
Estimated code review effort: 4 (Complex) | ~45 minutes Merge Risk: ⚪ Minimal · up to The change keeps fatal VM errors internal; it is merge-ready after normal checks and review, with no actionable merge-blocking risk remaining. Sequence Diagram(s)sequenceDiagram
participant Executor
participant Leader
participant Supervisor
participant Validator
participant Host
Executor->>Leader: compute nondeterministic result
Leader->>Executor: convert result to ContractOutcome
Executor->>Supervisor: store encoded ContractResultBytes
Supervisor->>Validator: provide leader result bytes
Validator->>Executor: return validated outcome and RunOk
Executor->>Host: coalesce fatal result only for top-level execution
Possibly related PRs
🚥 Pre-merge checks | ✅ 5✅ Passed checks (5 passed)
✨ Finishing Touches📝 Generate docstrings
🧪 Generate unit tests (beta)
Warning There were issues while running some tools. Please review the errors and either fix the tool's configuration or disable the tool if it's a critical failure. 🔧 Clippy (1.97.1)Clippy execution failed 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 |
Auto-opened executor mirror of genlayerlabs/genvm-manager#27.
Carries the executor-side work for that manager PR. Auto-closed as merged when the manager PR lands (its
pr/v0.3/fix/fatal-errorsbranch is moved ontov0.3-dev).Summary by CodeRabbit
Bug Fixes
Tests