fix: wire report idempotency and bootstrap scheduler check

This commit is contained in:
ik
2026-09-11 07:41:55 +07:00
parent bea3b9ccbb
commit 486e4c4673
2 changed files with 9 additions and 2 deletions
+1 -1
View File
@@ -39,7 +39,7 @@ echo "Caddy configuration valid ✓"
echo "Validating community scheduler..."
$compose up --build -d --wait community-scheduler
# Scheduler runs in a loop, check it's healthy by verifying the process is running
$compose exec -T community-scheduler python -c "from app.community_scheduler import schedule_interval; print('scheduler module loads OK')" >/dev/null 2>&1 || {
$compose exec -T community-scheduler python -c "import app.community_scheduler; print('scheduler module loads OK')" >/dev/null 2>&1 || {
echo "ERROR: Community scheduler failed to start" >&2
$compose logs --no-color community-scheduler >&2
exit 1