Skip to content

fix: kong DNS delay on Docker on WSL2#20

Merged
soedirgo merged 1 commit into
mainfrom
fix/kong-dns
Apr 8, 2021
Merged

fix: kong DNS delay on Docker on WSL2#20
soedirgo merged 1 commit into
mainfrom
fix/kong-dns

Conversation

@soedirgo
Copy link
Copy Markdown
Member

@soedirgo soedirgo commented Apr 8, 2021

What kind of change does this PR introduce?

Bug fix.

What is the current behavior?

Closes #14.

What is the new behavior?

Add the suggested Kong config.

@soedirgo soedirgo merged commit dcc8ab4 into main Apr 8, 2021
@soedirgo soedirgo deleted the fix/kong-dns branch April 8, 2021 07:57
@github-actions
Copy link
Copy Markdown

github-actions Bot commented Apr 8, 2021

🎉 This PR is included in version 0.3.7 🎉

The release is available on:

Your semantic-release bot 📦🚀

dumko2001 pushed a commit to dumko2001/cli that referenced this pull request Mar 15, 2026
kallebysantos pushed a commit to kallebysantos/supabase-cli that referenced this pull request May 6, 2026
## Summary

This PR stitches authenticated CLI users to telemetry using the
canonical Management API profile instead of relying on `user_id` coming
back from the login session response.

It also refreshes the generated `@supabase/api` client so the CLI can
call `/v1/profile`, and adds a small spec-download step to make
regenerating the SDK reproducible from production or staging.

## What changed

- Added `fetchProfile` to the CLI auth API and implemented it via
`@supabase/api/effect`'s `v1GetProfile`.
- Updated both token-based login and browser OAuth login to:
  - save the access token first,
  - fetch the authenticated profile from `/v1/profile`,
  - alias and identify telemetry with `gotrue_id`,
  - persist the stitched `distinct_id` when profile lookup succeeds,
  - clear any stale `distinct_id` when profile lookup fails.
- Centralized login telemetry capture so `cli_login_completed` is
emitted with the authenticated `distinct_id` when available.
- Expanded CLI unit/integration test coverage for successful stitching
and failure fallback behavior.
- Added `packages/api/scripts/download-openapi.ts` plus unit tests.
- Updated `packages/api` generation so `generate` first refreshes
`src/generated/openapi.json`, with optional `SUPABASE_API_URL` support
for staging.
- Regenerated the API contracts/operations from the latest OpenAPI spec,
including `/v1/profile`.

## Reviewer notes

- Most of the churn in `packages/api/src/generated/*` and `openapi.json`
is generated output from refreshing the Management API spec.
- The user-facing login flow is unchanged; the behavior change is in how
we resolve and persist telemetry identity after authentication.

## Coverage

- Added `apps/cli` auth API unit tests for profile fetch success/error
handling.
- Updated login integration tests for token and browser flows to cover
telemetry stitching and stale `distinct_id` cleanup.
- Added unit tests for the OpenAPI download script.
@supabase-cli-releaser supabase-cli-releaser Bot mentioned this pull request May 12, 2026
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.

Auth Actions Taking 10+ seconds on windows

1 participant