Implement Deterministic Simulation Testing Framework #7
Labels
No labels
effort
large
effort
medium
effort
small
priority
critical
priority
high
priority
low
priority
medium
status
blocked
status
duplicate
status
in-progress
status
needs-review
status
wontfix
type
bug
type
documentation
type
enhancement
type
feature
type
refactor
type
security
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference: Arx/Eve-Relay#7
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Summary
We need a deterministic simulation framework to test Eve Relay under controlled conditions, especially for CCNs. The goal is reproducible testing that lets us catch bugs and verify correctness across complex scenarios.
Why This Matters
Core Requirements
Must Be Deterministic
Architecture Components
Simulation Orchestrator
Simulated Network
Simulated Clients
Relay Under Test
State Verifier
Test Scenarios to Support
CCN Basic Flow
Security Testing
Stress Testing
"Mad Science" Testing
Implementation Plan
Phase 1: Basic Framework
Phase 2: Full Client Simulation
Phase 3: Advanced Testing
Phase 4: Reporting
reports/
)Technical Notes
Report Format
Generated reports should go in
reports/report-YYYYMMDD-XXX.md
with:Questions/Decisions Needed
References
Taking inspiration from TigerBeetle's state machine testing and Antithesis-style deterministic exploration, but adapted for our needs.
This replaces manual testing of complex scenarios and gives us confidence in relay correctness under all conditions we can think of (and some we can't).