diff --git a/harness/tests/e2e/README.md b/harness/tests/e2e/README.md index 997d47bba..e871d9068 100644 --- a/harness/tests/e2e/README.md +++ b/harness/tests/e2e/README.md @@ -44,7 +44,7 @@ scenario through one global `allow: ["*"]` policy: accuracy, remediation, and clarity. - `reactive_automation`: orchestrates three parallel database writers, trigger-spawned aggregate reactors, and a single finalizer. The CI stack uses - SQLite, so the scenario proves bounded `database::row-change` discovery and + SQLite, so the scenario proves bounded `database::row-changed` discovery and the namespaced `state`-trigger fallback. The evaluator queries the resulting tables, verifies trigger provenance from session metadata, and checks that all run-owned triggers were removed. diff --git a/harness/tests/e2e/run-ci.sh b/harness/tests/e2e/run-ci.sh index 32ba6219d..cb54404fe 100755 --- a/harness/tests/e2e/run-ci.sh +++ b/harness/tests/e2e/run-ci.sh @@ -137,7 +137,7 @@ start_process database \ --url "$iii_url" \ --config "$database_config" wait_for_function database::query -wait_for_trigger_type database::row-change +wait_for_trigger_type database::row-changed start_process state \ "$repo_root/state/target/release/state" \ diff --git a/harness/tests/e2e/src/scenarios/reactive_automation/prompt.rs b/harness/tests/e2e/src/scenarios/reactive_automation/prompt.rs index fe5f78da2..576950412 100644 --- a/harness/tests/e2e/src/scenarios/reactive_automation/prompt.rs +++ b/harness/tests/e2e/src/scenarios/reactive_automation/prompt.rs @@ -21,7 +21,7 @@ Namespace every other resource and session with `{run_label}`. Required execution: 1. Before spawning writers, list the available trigger types and probe - `database::row-change` against `{orders}`. Allow at most 30 seconds for the probe, remove its + `database::row-changed` against `{orders}`. Allow at most 30 seconds for the probe, remove its test row afterward, and record the result. 2. Before spawning writers, register a namespaced `state` trigger targeting `harness::react`. diff --git a/harness/tests/e2e/src/scenarios/reactive_automation/queries.rs b/harness/tests/e2e/src/scenarios/reactive_automation/queries.rs index 3a2bd0712..1a25bbb5f 100644 --- a/harness/tests/e2e/src/scenarios/reactive_automation/queries.rs +++ b/harness/tests/e2e/src/scenarios/reactive_automation/queries.rs @@ -56,7 +56,7 @@ pub(super) async fn collect( row_change_probe: calls.iter().position(|call| { call.function_id == "engine::register_trigger" && call.arguments.get("trigger_type").and_then(Value::as_str) - == Some("database::row-change") + == Some("database::row-changed") }), state_reaction: calls.iter().position(|call| { call.function_id == "engine::register_trigger"