Files
steep/scripts/migrate-apply.sh
qpismont 7493de6952
ci/woodpecker/push/tests Pipeline was successful
Add live dashboard with SSE job events
Expose /jobs, /dedup, and /events routes backed by a new EventBus that
broadcasts job lifecycle and per-job progress over SSE. Serve a static
dashboard from front/ that lists pending and in-progress jobs, streams
agent activity, and shows completed reviews.

Also add migrate-apply/migrate-generate scripts that load .env, update
the Containerfile to ship the front assets and use the apply script, and
refresh the roadmap.
2026-10-13 16:14:48 +00:00

20 lines
403 B
Bash
Executable File

#!/usr/bin/env bash
set -euo pipefail
ROOT_DIR="$(cd "$(dirname "${BASH_SOURCE[0]}")/.." && pwd)"
if [ -f "${ROOT_DIR}/.env" ]; then
set -a
# shellcheck disable=SC1091
. "${ROOT_DIR}/.env"
set +a
fi
cd "${ROOT_DIR}"
if [ -x "${ROOT_DIR}/steep-server" ]; then
exec "${ROOT_DIR}/steep-server" migration apply "$@"
else
exec cargo run -p steep-server -- migration apply "$@"
fi