phase: 20.49 COMPLETE; 20.50 Flow+String minimal reps; 20.51 selfhost v0/v1 minimal (Option A/B); hv1-inline binop/unop/copy; docs + run_all + CURRENT_TASK -> 21.0
This commit is contained in:
@ -49,7 +49,7 @@ if let Some(socket_box) = obj_value.as_any().downcast_ref::<SocketBox>() {
|
||||
### **Test 1: Minimal Deadlock Reproduction**
|
||||
```bash
|
||||
# Command
|
||||
timeout 10s ./target/release/nyash test_socket_deadlock_minimal.nyash
|
||||
timeout 10s ./target/release/nyash test_socket_deadlock_minimal.hako
|
||||
|
||||
# Expected: Timeout (deadlock)
|
||||
# Actual Output:
|
||||
@ -61,7 +61,7 @@ timeout 10s ./target/release/nyash test_socket_deadlock_minimal.nyash
|
||||
### **Test 2: Other Boxes Normal Operation**
|
||||
```bash
|
||||
# Command
|
||||
./target/release/nyash test_other_boxes_working.nyash
|
||||
./target/release/nyash test_other_boxes_working.hako
|
||||
|
||||
# Expected: Normal completion
|
||||
# Actual Output:
|
||||
@ -73,7 +73,7 @@ timeout 10s ./target/release/nyash test_socket_deadlock_minimal.nyash
|
||||
### **Test 3: All SocketBox Methods**
|
||||
```bash
|
||||
# Command
|
||||
timeout 30s ./target/release/nyash test_socket_methods_comprehensive.nyash
|
||||
timeout 30s ./target/release/nyash test_socket_methods_comprehensive.hako
|
||||
|
||||
# Expected: Deadlock on first method call
|
||||
# All methods (toString, isServer, bind, close) should deadlock
|
||||
@ -121,9 +121,9 @@ MapBox: Arc<Mutex<HashMap<K,V>>> only // Single Mutex
|
||||
## 🧪 **Test Files Provided**
|
||||
|
||||
All test files are ready for immediate execution:
|
||||
- `test_socket_deadlock_minimal.nyash` - Minimal reproduction
|
||||
- `test_socket_methods_comprehensive.nyash` - All methods test
|
||||
- `test_other_boxes_working.nyash` - Normal Box operation verification
|
||||
- `test_socket_deadlock_minimal.hako` - Minimal reproduction
|
||||
- `test_socket_methods_comprehensive.hako` - All methods test
|
||||
- `test_other_boxes_working.hako` - Normal Box operation verification
|
||||
- `SOCKETBOX_ISSUE_REPRODUCTION.md` - Complete reproduction guide
|
||||
|
||||
## ✅ **Success Criteria**
|
||||
@ -131,7 +131,7 @@ All test files are ready for immediate execution:
|
||||
### **Must Achieve**
|
||||
```bash
|
||||
# Basic functionality
|
||||
./target/release/nyash test_socket_deadlock_minimal.nyash
|
||||
./target/release/nyash test_socket_deadlock_minimal.hako
|
||||
# Expected: Normal completion, no deadlock
|
||||
|
||||
# State management
|
||||
@ -139,7 +139,7 @@ socket.bind("127.0.0.1", 8080)
|
||||
socket.isServer() # Must return true
|
||||
|
||||
# All methods working
|
||||
./target/release/nyash test_socket_methods_comprehensive.nyash
|
||||
./target/release/nyash test_socket_methods_comprehensive.hako
|
||||
# Expected: All methods complete successfully
|
||||
```
|
||||
|
||||
|
||||
Reference in New Issue
Block a user