From d041eebe6b9e30f808df1450ae8fde77d9b61c1f Mon Sep 17 00:00:00 2001 From: spacedandy-agents-simplex <342056592+spacedandy-agents-simplex@users.noreply.github.com> Date: Wed, 14 Oct 2026 16:52:17 +0000 Subject: [PATCH] ci: confirm the directory's schema migration when the test directory starts The database is created by the CLI, so the service's own migration (20250924_directory_schema) asked for confirmation on stdin and the service exited. This run tests that the directory starts and the group and channel get listed. --- scripts/ci/ios-sim/backend.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/scripts/ci/ios-sim/backend.sh b/scripts/ci/ios-sim/backend.sh index 0d82ce1584..d899b7adda 100755 --- a/scripts/ci/ios-sim/backend.sh +++ b/scripts/ci/ios-sim/backend.sh @@ -87,7 +87,8 @@ create_directory() { } start_directory() { - nohup "$bin/simplex-directory-service" -d "$work/directory" --super-users "2:$admin" < /dev/null > "$work/directory.log" 2>&1 & + # -y: the service adds its own tables to the database the CLI created, and would otherwise ask on stdin + nohup "$bin/simplex-directory-service" -d "$work/directory" -y --super-users "2:$admin" < /dev/null > "$work/directory.log" 2>&1 & echo $! > "$work/directory.pid" sleep 5 if ! kill -0 "$(cat "$work/directory.pid")" 2> /dev/null; then