fix: wire report idempotency and bootstrap scheduler check
This commit is contained in:
1 parent
bea3b9ccbb
commit
486e4c4673
2 files changed
+9
-2
No files matched your search
@@ -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
|
||||
|
||||
Reference in new issue
Block a user