feat(config): record stage urls from forgegraph yaml #647

Merged
gmackie merged 1 commit from stage-urls into main 2026-10-09 17:24:56 +00:00
Owner

.forgegraph.yaml stages can now carry a url. Apply stores it on the stage row, and GET /api/fg/apps returns those URLs as stages: [{ name, url }].

The console prefers an INTEGRATIONS_JSON base URL, then a public https stage URL (production first), then the health-check origin. A private or credentialed stage URL is ignored.

Migration packages/db/drizzle/0112_stage_url.sql adds a nullable stages.url. It is additive and has not been applied to production yet. Apply it before the worker that selects the column is deployed.

forge db migrate --file packages/db/drizzle/0112_stage_url.sql
`.forgegraph.yaml` stages can now carry a `url`. Apply stores it on the stage row, and `GET /api/fg/apps` returns those URLs as `stages: [{ name, url }]`. The console prefers an `INTEGRATIONS_JSON` base URL, then a public https stage URL (production first), then the health-check origin. A private or credentialed stage URL is ignored. Migration `packages/db/drizzle/0112_stage_url.sql` adds a nullable `stages.url`. It is additive and has not been applied to production yet. Apply it before the worker that selects the column is deployed. ``` forge db migrate --file packages/db/drizzle/0112_stage_url.sql ```
feat(config): record stage urls from forgegraph yaml
All checks were successful
CI / gitleaks (pull_request) Successful in 7s
CI / storybook (pull_request) Successful in 1m41s
CI / web-build (pull_request) Successful in 3m26s
forgegraph/ci CI passed
CI / ci (pull_request) Successful in 13m59s
82780ce7b7
Sign in to join this conversation.
No description provided.