diff --git a/scripts/reconcile_cloud_runtime.py b/scripts/reconcile_cloud_runtime.py index a8b4b14..16d0fbc 100644 --- a/scripts/reconcile_cloud_runtime.py +++ b/scripts/reconcile_cloud_runtime.py @@ -388,6 +388,7 @@ def _legacy_scheduler_jobs(service: str) -> list[str]: f"{base_service}-precheck-scheduler", ] ) + candidates.append("schwab-pre-market-dry-run") candidates.append("schwab-monitor-dispatcher-scheduler") return list(dict.fromkeys(candidates)) diff --git a/tests/test_reconcile_cloud_runtime.py b/tests/test_reconcile_cloud_runtime.py index 56c435c..6d3a6a1 100644 --- a/tests/test_reconcile_cloud_runtime.py +++ b/tests/test_reconcile_cloud_runtime.py @@ -260,6 +260,7 @@ def test_cleanup_schedulers_deletes_only_whitelisted_legacy_jobs(self) -> None: "charles-schwab-service-precheck-scheduler", "charles-schwab-probe-scheduler", "charles-schwab-precheck-scheduler", + "schwab-pre-market-dry-run", "schwab-monitor-dispatcher-scheduler", } marked_jobs = { @@ -298,6 +299,7 @@ def fake_run(command, text, capture_output, check): [ "charles-schwab-probe-scheduler", "charles-schwab-precheck-scheduler", + "schwab-pre-market-dry-run", "schwab-monitor-dispatcher-scheduler", ], )