progress 39

This commit is contained in:
2026-08-30 12:40:15 +08:00
parent b806ab9384
commit 6875abaa1a
2 changed files with 12 additions and 6 deletions
+9 -3
View File
@@ -1,5 +1,5 @@
#!/usr/bin/env python3
"""检查 app_client 的 Step 2/后续开发任务是否全部完成。"""
"""检查 crawler-plugin 的 Plan 任务是否全部完成。"""
from __future__ import annotations
import json
@@ -37,12 +37,18 @@ def main() -> int:
return 2
pending = [task for task in tasks if task.get("status") != "done"]
completed = total - len(pending)
if pending:
print(f"pending tasks: {len(pending)}/{total}")
print(f"{len(pending)} tasks remaining out of {total}")
for task in pending[:20]:
print(f" task {task.get('id')}: {task.get('status')}")
if len(pending) > 20:
print(f" ... and {len(pending) - 20} more")
print("all tasks done: false")
return 1
print(f"all tasks done: true ({total})")
print("all tasks done")
print(f"total: {total}, completed: {completed}, rounds: {data.get('rounds', 0)}")
return 0
+3 -3
View File
@@ -1,8 +1,8 @@
{
"version": 1,
"total_tasks": 100,
"completed": 38,
"rounds": 38,
"completed": 39,
"rounds": 39,
"started_at": "2026-08-29T14:10:48+08:00",
"updated_at": "2026-08-29T20:11:20.156661+08:00",
"tasks": [
@@ -277,7 +277,7 @@
"title": "补充删除、超时、重复回传和累计文件失败的资源清理测试",
"module": "shopdatacrawl",
"dependency": "38",
"status": "pending"
"status": "done"
},
{
"id": 40,