style(sre): normalize canary worker formatting
All checks were successful
CD Pipeline / workflow-shape (push) Successful in 0s
CD Pipeline / cancel-stale-cd (push) Has been skipped
CD Pipeline / tests (push) Successful in 6m10s
CD Pipeline / build-and-deploy (push) Successful in 22m47s
CD Pipeline / post-deploy-checks (push) Successful in 5m27s
AWOOOI Harbor 110 Local Repair / workflow-shape (push) Successful in 0s
AWOOOI Harbor 110 Local Repair / harbor-110-local-repair (push) Successful in 17s

This commit is contained in:
ogt
2026-07-17 02:29:40 +08:00
parent 62c5a8deff
commit e44103a236

View File

@@ -124,7 +124,8 @@ async def run_paid_provider_canary_worker_once(
async def run_paid_provider_canary_worker_loop(
*, interval_seconds: float = _DEFAULT_INTERVAL_SECONDS,
*,
interval_seconds: float = _DEFAULT_INTERVAL_SECONDS,
) -> None:
"""Poll for an approved run; single-use claims prevent duplicate calls."""
@@ -154,4 +155,3 @@ async def run_paid_provider_canary_worker_loop(
error_code=f"cycle_{type(exc).__name__}"[:120],
)
await asyncio.sleep(delay)