fix(ci): fix forward function declaration in runtime.uc and harden tests for multi-call coreutils/alpine

This commit is contained in:
Dushnilin
2026-08-15 12:28:49 +03:00
parent e0828eb53a
commit d81d9fd077
7 changed files with 26 additions and 17 deletions
+1 -2
View File
@@ -105,8 +105,7 @@ build_stale_uc
# A live worker is not stale.
mkdir -p "$WORK_DIR"
ln -s /bin/sleep "$WORK_DIR/component-action-worker"
"$WORK_DIR/component-action-worker" 30 &
bash -c 'while true; do sleep 1; done' component-action-worker &
worker_pid=$!
actual="$(run_stale_check "$WORK_DIR/job.json" "$worker_pid")"
[ "$actual" = "running" ] || fail "a live component-action worker was marked stale (pid $worker_pid): '$actual'"