Repository navigation
fix(cli): print gateway urls when api.enabled is false (CLI-2616) - #6986
Merged
7ttp merged 1 commit intoOct 5, 2026
Conversation
Contributor
There was a problem hiding this comment.
🤖 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.
avallete
approved these changes
Oct 5, 2026
7ttp
deleted the
7ttp/cli-2616-status-omits-api_url-when-api-enabled-false-although-kong-is
branch
October 5, 2026 07:46
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
TL;DR
fixes
statusand thestartsummary droppingAPI_URL,FUNCTIONS_URLandMCP_URLwhen[api] enabled = false.what's missing?
startruns Kong whatever[api] enabledsays, since that setting only gates PostgREST.statusstill read it as Kong's switch, so with[api] enabled = falseorSUPABASE_API_ENABLED=falseit hidAPI_URL,FUNCTIONS_URLandMCP_URLeven though Kong was serving auth there.supabase status -o jsondrops API_URL whenpostgrestis in-x, even though Kong still serves/auth/v1and/storage/v1#5332, reached through the api setting instead of-x postgrest.now fixed by:
gating the gateway urls on Kong's own exclusion, the same way
startdoesonly
REST_URLandGRAPHQL_URLstill followapi.enabled.ref: