Skip to content

Conversation

@benfdking
Copy link

@benfdking benfdking commented Jun 16, 2025

Steps:

  1. Open in codespaces
  2. Install SQLMesh extension (either individually or when prompted to do so)
  3. Sign In
  4. Bug: Refresh window (this is annoying but at the moment when you sign in for some reason it doesn't trigger the installatioN)
  5. Trigger installation by triggering extension (opening SQL file or hitting lineage) Wait for the installation to finish
  6. It works

Things that I did:

  1. Removed use of uv pip install (it doesn't work easily because doesn't find uv)
  2. Added automatic configs
  3. Removed the use of env vars which are not in the LSP context

config.yaml Outdated
database: sqlmesh_state_demo
state_connection:
type: cloud
url: https://cloud.tobikodata.com/sqlmesh/tobiko/public-demo/
Copy link
Contributor

@sungchun12 sungchun12 Jun 18, 2025

Choose a reason for hiding this comment

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

UX Feedback: this should NOT be needed for tcloud users to get the extension to work

@@ -2,7 +2,6 @@ projects:
public-demo:
url: https://cloud.tobikodata.com/sqlmesh/tobiko/public-demo/
gateway: public-demo
extras: bigquery,web,github,postgres
pip_executable: uv pip
Copy link
Contributor

@sungchun12 sungchun12 Jun 18, 2025

Choose a reason for hiding this comment

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

UX Feedback: This should be allowed to work for users as most tcloud customers are using uv pip today and it's much better experience for them.

config.yaml Outdated
# connection: # This connection is used for automatic unit test generation and external model creation
# type: bigquery
# project: sqlmesh-public-demo
# postgres:
Copy link
Contributor

Choose a reason for hiding this comment

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

UX Feedback: there should be a way to prompt users to re-export the environment variables and/or provide helpful guidance to get the extension to pick these up.

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.

3 participants