Skip to content

Commit 962cf4e

Browse files
committed
move child management into supervisor
1 parent 90fd9f4 commit 962cf4e

File tree

16 files changed

+606
-97
lines changed

16 files changed

+606
-97
lines changed

2026-03-14-the-sky-is-blue.txt

Lines changed: 312 additions & 0 deletions
Large diffs are not rendered by default.

crates/deprecated/theater-handler-io/tests/integration_test.rs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -197,7 +197,6 @@ async fn test_io_handler_with_test_actor() -> Result<()> {
197197
manifest_path: manifest_content,
198198
wasm_bytes: None,
199199
init_bytes: None,
200-
parent_id: None,
201200
response_tx,
202201
supervisor_tx: None,
203202
subscription_tx: Some(event_tx),

crates/deprecated/theater-handler-random/tests/integration_test.rs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -203,7 +203,6 @@ async fn test_random_handler_with_test_actor() -> Result<()> {
203203
manifest_path: manifest_content,
204204
wasm_bytes: None,
205205
init_bytes: None,
206-
parent_id: None,
207206
response_tx,
208207
supervisor_tx: None,
209208
subscription_tx: Some(event_tx),

crates/deprecated/theater-handler-timing/tests/integration_test.rs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -202,7 +202,6 @@ async fn test_timing_handler_with_test_actor() -> Result<()> {
202202
manifest_path: manifest_content,
203203
wasm_bytes: None,
204204
init_bytes: None,
205-
parent_id: None,
206205
response_tx,
207206
supervisor_tx: None,
208207
subscription_tx: Some(event_tx),

crates/theater-cli/src/commands/run.rs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -276,7 +276,6 @@ pub async fn execute_async(args: &RunArgs, _ctx: &CommandContext) -> Result<(),
276276
name: Some(manifest.name.clone()),
277277
manifest: Some(manifest),
278278
response_tx,
279-
parent_id: None,
280279
supervisor_tx: Some(supervisor_tx),
281280
subscription_tx: None,
282281
})

crates/theater-cli/src/commands/start.rs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -286,7 +286,6 @@ pub async fn execute_async(args: &StartArgs, ctx: &CommandContext) -> Result<(),
286286
name: Some(manifest.name.clone()),
287287
manifest: Some(manifest),
288288
response_tx,
289-
parent_id: None,
290289
supervisor_tx: Some(supervisor_tx),
291290
subscription_tx: None, // Using global subscription instead
292291
})

crates/theater-handler-rpc/tests/rpc_integration.rs

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -136,7 +136,6 @@ async fn test_rpc_calculator_demo() {
136136
name: Some(calc_manifest.name.clone()),
137137
manifest: Some(calc_manifest),
138138
response_tx: calc_response_tx,
139-
parent_id: None,
140139
supervisor_tx: None,
141140
subscription_tx: Some(calc_subscription_tx),
142141
})
@@ -170,7 +169,6 @@ async fn test_rpc_calculator_demo() {
170169
name: Some(caller_manifest.name.clone()),
171170
manifest: Some(caller_manifest),
172171
response_tx: caller_response_tx,
173-
parent_id: None,
174172
supervisor_tx: None,
175173
subscription_tx: Some(caller_subscription_tx),
176174
})

crates/theater-handler-supervisor/src/lib.rs

Lines changed: 241 additions & 15 deletions
Large diffs are not rendered by default.

crates/theater-handler-tcp/tests/tcp_echo_integration.rs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -112,7 +112,6 @@ async fn test_tcp_echo_and_chain() {
112112
name: Some(manifest.name.clone()),
113113
manifest: Some(manifest),
114114
response_tx,
115-
parent_id: None,
116115
supervisor_tx: None,
117116
subscription_tx: Some(subscription_tx),
118117
})

crates/theater-replay-experimenting/src/main.rs

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -327,7 +327,6 @@ pub async fn run_replay_verification(
327327
wasm_bytes,
328328
name: Some(recording_manifest.name.clone()),
329329
manifest: Some(recording_manifest),
330-
parent_id: None,
331330
response_tx,
332331
supervisor_tx: None,
333332
subscription_tx: Some(event_tx),
@@ -455,7 +454,6 @@ pub async fn run_replay_verification(
455454
wasm_bytes: replay_wasm_bytes,
456455
name: Some(replay_manifest.name.clone()),
457456
manifest: Some(replay_manifest),
458-
parent_id: None,
459457
response_tx: response_tx2,
460458
supervisor_tx: None,
461459
subscription_tx: Some(replay_event_tx),
@@ -568,7 +566,6 @@ pub async fn run_request_replay_verification(
568566
wasm_bytes,
569567
name: Some(recording_manifest.name.clone()),
570568
manifest: Some(recording_manifest),
571-
parent_id: None,
572569
response_tx,
573570
supervisor_tx: None,
574571
subscription_tx: Some(event_tx),
@@ -736,7 +733,6 @@ pub async fn run_request_replay_verification(
736733
wasm_bytes: replay_wasm_bytes,
737734
name: Some(replay_manifest.name.clone()),
738735
manifest: Some(replay_manifest),
739-
parent_id: None,
740736
response_tx: response_tx2,
741737
supervisor_tx: None,
742738
subscription_tx: Some(replay_event_tx),
@@ -869,7 +865,6 @@ pub async fn run_supervisor_replay_verification(
869865
wasm_bytes,
870866
name: Some(recording_manifest.name.clone()),
871867
manifest: Some(recording_manifest),
872-
parent_id: None,
873868
response_tx,
874869
supervisor_tx: None,
875870
subscription_tx: Some(event_tx),
@@ -1051,7 +1046,6 @@ pub async fn run_supervisor_replay_verification(
10511046
wasm_bytes: replay_wasm_bytes,
10521047
name: Some(replay_manifest.name.clone()),
10531048
manifest: Some(replay_manifest),
1054-
parent_id: None,
10551049
response_tx: response_tx2,
10561050
supervisor_tx: None,
10571051
subscription_tx: Some(replay_event_tx),
@@ -1238,7 +1232,6 @@ pub async fn run_tcp_replay_verification(
12381232
wasm_bytes,
12391233
name: Some(recording_manifest.name.clone()),
12401234
manifest: Some(recording_manifest),
1241-
parent_id: None,
12421235
response_tx,
12431236
supervisor_tx: None,
12441237
subscription_tx: Some(event_tx),
@@ -1401,7 +1394,6 @@ pub async fn run_tcp_replay_verification(
14011394
wasm_bytes: replay_wasm_bytes,
14021395
name: Some(replay_manifest.name.clone()),
14031396
manifest: Some(replay_manifest),
1404-
parent_id: None,
14051397
response_tx: response_tx2,
14061398
supervisor_tx: None,
14071399
subscription_tx: Some(replay_event_tx),

0 commit comments

Comments
 (0)