Skip to content

fix(cli): print gateway urls when api.enabled is false (CLI-2616) - #6986

Merged
7ttp merged 1 commit into
developfrom
7ttp/cli-2616-status-omits-api_url-when-api-enabled-false-although-kong-is
Oct 5, 2026
Merged

7ttp merged 1 commit into
developfrom
7ttp/cli-2616-status-omits-api_url-when-api-enabled-false-although-kong-is

Conversation

@7ttp

@7ttp 7ttp commented Oct 4, 2026

Copy link
Copy Markdown
Member

TL;DR

fixes status and the start summary dropping API_URL, FUNCTIONS_URL and MCP_URL when [api] enabled = false.

what's missing?

start runs Kong whatever [api] enabled says, since that setting only gates PostgREST.

status still read it as Kong's switch, so with [api] enabled = false or SUPABASE_API_ENABLED=false it hid API_URL, FUNCTIONS_URL and MCP_URL even though Kong was serving auth there.

now fixed by:

gating the gateway urls on Kong's own exclusion, the same way start does
only REST_URL and GRAPHQL_URL still follow api.enabled.

ref:

@7ttp 7ttp self-assigned this Oct 4, 2026
@7ttp
7ttp requested a review from a team as a code owner October 4, 2026 23:30

@github-actions github-actions Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🤖 AI Review

Both independent reviews completed and reported no findings. Reading the PR code confirms that Kong gating now matches startup behavior: api.enabled gates PostgREST, while Kong exclusion still suppresses gateway-dependent URLs. Updated tests cover disabled API configuration and environment overrides. No additional issues found; tests were inspected but not run.

Findings

No issues found.

Stats

Claude findings: 0 · Codex findings: 0 · Confirmed: 0 · Refuted: 0 · Uncertain: 0


Models: claude-opus-5-5 + gpt-6.1-sol · Trigger: auto · Workflow run

This review runs once per PR. A maintainer can request another with a /ai-review comment.

@7ttp
7ttp added this pull request to the merge queue Oct 5, 2026
Merged via the queue into develop with commit 1c40afa Oct 5, 2026
38 checks passed
@7ttp
7ttp deleted the 7ttp/cli-2616-status-omits-api_url-when-api-enabled-false-although-kong-is branch October 5, 2026 07:46
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

status omits API_URL when [api] enabled = false, although Kong is still started (same class as #5332)

2 participants