fix(hub): use the live command endpoint #252

Merged
gmackie merged 1 commit from fix/hub-canonical-url into main 2026-08-05 11:43:50 +00:00
Owner

What changed

  • replace the retired ws.forgegraf.com command-hub fallback with the live hub.forgegraf.com endpoint
  • let the Worker hub-token route use the canonical endpoint when HUB_URL is absent
  • overwrite the deployed Worker's stale HUB_URL binding before capture configuration
  • add regression coverage for shared helpers, the Worker route, and deployment ordering

Root cause

Deploy run 1285 proved the signing-secret sync but /api/fg/hub-token still returned 502. Direct scoped minting on the live hub returned 200; the Worker's stale HUB_URL targeted ws.forgegraf.com, whose health endpoint returns 502.

Verification

  • API hub-command tests: 3 passed
  • Worker route and public-feed workflow tests: 9 passed
  • pnpm typecheck (9/9 tasks)
  • Prettier and workflow YAML checks
  • stale server-side ws.forgegraf.com URL scan: none
## What changed - replace the retired `ws.forgegraf.com` command-hub fallback with the live `hub.forgegraf.com` endpoint - let the Worker hub-token route use the canonical endpoint when `HUB_URL` is absent - overwrite the deployed Worker's stale `HUB_URL` binding before capture configuration - add regression coverage for shared helpers, the Worker route, and deployment ordering ## Root cause Deploy run 1285 proved the signing-secret sync but `/api/fg/hub-token` still returned 502. Direct scoped minting on the live hub returned 200; the Worker's stale `HUB_URL` targeted `ws.forgegraf.com`, whose health endpoint returns 502. ## Verification - API hub-command tests: 3 passed - Worker route and public-feed workflow tests: 9 passed - `pnpm typecheck` (9/9 tasks) - Prettier and workflow YAML checks - stale server-side `ws.forgegraf.com` URL scan: none
fix(hub): use the live command endpoint
All checks were successful
CI / gitleaks (pull_request) Successful in 9s
forgegraph/ci CI passed
CI / ci (pull_request) Successful in 7m51s
e06f33e961
Sign in to join this conversation.
No reviewers
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
gmackie/ForgeGraph!252
No description provided.