fix: add code queue pr preflight
This commit is contained in:
@@ -398,7 +398,7 @@ function isK3sctlManagedMicroservice(service: MicroserviceConfig): boolean {
|
||||
|
||||
function codeQueueK3sServiceIdForRequest(method: string, targetPath: string): string {
|
||||
const normalizedMethod = method.toUpperCase();
|
||||
if (targetPath === "/" || targetPath === "/health" || targetPath === "/live" || targetPath === "/api/dev-ready") return "code-queue-scheduler";
|
||||
if (targetPath === "/" || targetPath === "/health" || targetPath === "/live" || targetPath === "/api/dev-ready" || targetPath === "/api/runtime-preflight") return "code-queue-scheduler";
|
||||
if (targetPath === "/api/queues" || targetPath === "/api/tasks/overview") return "code-queue-scheduler";
|
||||
if (targetPath === "/api/oa/backfill" || targetPath === "/api/notifications/claudeqq/drain" || targetPath === "/api/notifications/claudeqq/backfill") return "code-queue-scheduler";
|
||||
if (targetPath === "/api/judge/probe" || targetPath === "/api/judge/self-test" || targetPath === "/api/queue-order/self-test" || targetPath === "/api/reference-injection/self-test" || targetPath === "/api/trace-port/self-test") return "code-queue-scheduler";
|
||||
|
||||
@@ -120,7 +120,7 @@ fn direct_code_queue_mgr_service(
|
||||
|
||||
fn code_queue_k3s_service_id_for_request(method: &Method, target_path: &str) -> &'static str {
|
||||
let method = method.as_str();
|
||||
if matches!(target_path, "/" | "/health" | "/live" | "/api/dev-ready") {
|
||||
if matches!(target_path, "/" | "/health" | "/live" | "/api/dev-ready" | "/api/runtime-preflight") {
|
||||
return "code-queue-scheduler";
|
||||
}
|
||||
if matches!(
|
||||
|
||||
Reference in New Issue
Block a user