fix: harden cross-review task state handling

This commit is contained in:
wren
2026-05-12 11:30:56 +08:00
parent 2ca44f6312
commit 3823c9a2e4
10 changed files with 373 additions and 20 deletions
+15
View File
@@ -0,0 +1,15 @@
#!/usr/bin/env bash
set -euo pipefail
ROOT_DIR="$(cd "$(dirname "$0")/.." && pwd)"
cd "$ROOT_DIR"
source .venv/bin/activate
SCHEDULE_DIR="$ROOT_DIR/.codex-run"
mkdir -p "$SCHEDULE_DIR"
celery -A fastapi_admin.celery_app:celery_app beat \
--loglevel=INFO \
--pidfile= \
--schedule "$SCHEDULE_DIR/celerybeat-schedule"