Merge branch 'dev' into runny827

feat(training): 新增精益培训视频与周任务管理

# Conflicts:
#	backend/app/models/__init__.py
This commit is contained in:
runny committed 2026-09-08 18:30:09 +08:00
1 parent 85d27e9ffa
commit 91b7233872
812 files changed
+73763 -18908

No files matched your search

@@ -29,10 +29,10 @@ def test_force_new_enqueue_does_not_reuse_running_job(app):
force_new=True 时即使存在同 attempt 的 running Job,也必须新建可领取 queued Job。
"""
with app.app_context():
_user, item, version = _seed_workflow_version(suffix='requeue1')
_user, review_case_id, task_id = _seed_workflow_version(suffix='requeue1')
execution = ensure_execution_for_workflow_version(
workflow_item_id=int(item.id),
workflow_item_version_id=int(version.id),
review_case_id=review_case_id,
task_id=task_id,
)
attempt = queue_gate_attempt(
execution_no=execution.execution_no,