From d3c49fa246b7ca102fbeeab1d3f529bc7a4ff708 Mon Sep 17 00:00:00 2001 From: Kelly Date: Thu, 11 Dec 2025 23:12:55 -0700 Subject: [PATCH] feat(api): Add preflight columns to worker registry API response MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Exposes curl_ip, http_ip, preflight_status, preflight_at, and fingerprint_data in the /api/worker-registry/workers response. 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude Opus 4.5 --- backend/src/routes/worker-registry.ts | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/backend/src/routes/worker-registry.ts b/backend/src/routes/worker-registry.ts index bfea79b7..0de75579 100644 --- a/backend/src/routes/worker-registry.ts +++ b/backend/src/routes/worker-registry.ts @@ -355,6 +355,12 @@ router.get('/workers', async (req: Request, res: Response) => { -- Decommission fields COALESCE(decommission_requested, false) as decommission_requested, decommission_reason, + -- Preflight fields (dual-transport verification) + curl_ip, + http_ip, + preflight_status, + preflight_at, + fingerprint_data, -- Full metadata for resources metadata, EXTRACT(EPOCH FROM (NOW() - last_heartbeat_at)) as seconds_since_heartbeat,