演示目录只保留可重建的源码。运行密钥、数据卷、依赖和带口令的本地配置不进入仓库。 Co-authored-by: Cursor <cursoragent@cursor.com>
16 lines
423 B
Python
16 lines
423 B
Python
"""Durable application trace delivery routed by ``OPS_TRACE_QUEUE``."""
|
|
|
|
from celery import shared_task
|
|
|
|
from extensions.ext_application_services import application_services
|
|
|
|
|
|
@shared_task
|
|
def export_application_trace(run_id: str) -> None:
|
|
application_services().tracing.agent_traces.deliver(run_id)
|
|
|
|
|
|
@shared_task
|
|
def reconcile_application_traces() -> None:
|
|
application_services().tracing.agent_traces.reconcile()
|