fix(analytics): run_full水位前置防回填窗口漏扫+README/DEPLOY/脚本号收尾
Co-Authored-By: Claude Code <noreply@anthropic.com>
This commit is contained in:
@@ -86,6 +86,14 @@ python -m app.sync.cli sync --entity friends # one entity
|
||||
python -m app.sync.cli --help # full usage
|
||||
```
|
||||
|
||||
One-shot analytics backfills / self-heal (all idempotent):
|
||||
|
||||
```bash
|
||||
python -m app.sync.cli daily-stats # msg_daily_stats 日汇总全量重建
|
||||
python -m app.sync.cli staff-daily-stats # 员工日汇总(stat_daily_staff)全量重建
|
||||
python -m app.sync.cli sensitive-scan --full # 敏感词全量回填+建扫描水位(首跑必须 --full)
|
||||
```
|
||||
|
||||
### Docker mode (full stack)
|
||||
|
||||
```bash
|
||||
@@ -176,7 +184,7 @@ Entity names accepted by `sync --entity` and `run_once`:
|
||||
## Verification
|
||||
|
||||
```bash
|
||||
cd yunke-server && .venv/Scripts/python.exe -m pytest -q # 323 tests
|
||||
cd yunke-server && .venv/Scripts/python.exe -m pytest -q # 574 tests
|
||||
cd yunkes && npm run build # clean production build
|
||||
cd yunke-server && python -m app.sync.cli --help # CLI usage
|
||||
docker compose config # validates the stack
|
||||
|
||||
Reference in New Issue
Block a user