Skip to content

Snowflake Streamlit OAuth#89

Merged
mrMakaronka merged 8 commits intomainfrom
ls/snowflake-streamlit-oauth
Apr 7, 2026
Merged

Snowflake Streamlit OAuth#89
mrMakaronka merged 8 commits intomainfrom
ls/snowflake-streamlit-oauth

Conversation

@catstrike
Copy link
Copy Markdown
Collaborator

No description provided.

@catstrike catstrike self-assigned this Apr 3, 2026
@catstrike catstrike marked this pull request as ready for review April 4, 2026 23:56
@catstrike catstrike requested review from a team and Copilot April 4, 2026 23:56
Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

This PR updates the Snowflake Streamlit demo and CLI UI wiring to support Snowflake OAuth/session-token based authentication, and introduces a new “separate_executor” option for the Streamlit UI’s agent executor selection.

Changes:

  • Add a new separate_executor executor option and instantiate SeparateExecutor in the Streamlit UI agent initialization path.
  • Update Snowflake demo app/config to use a Snowflake session token (/snowflake/session/token) and shift datasource auth toward token-based configuration.
  • Pin databao-agent / databao-context-engine[snowflake] to specific dev builds that presumably contain the needed Snowflake OAuth changes.

Reviewed changes

Copilot reviewed 9 out of 10 changed files in this pull request and generated 4 comments.

Show a summary per file
File Description
src/databao_cli/shared/executor_utils.py Adds separate_executor to the executor selector options used by the UI.
src/databao_cli/features/ui/app.py Creates SeparateExecutor when executor_type is separate_executor.
pyproject.toml Pins core dependencies to specific dev versions.
examples/demo-snowflake-project/src/databao_snowflake_demo/app.py Loads Snowflake session token into SNOWFLAKE_DS_TOKEN when running in Snowflake.
examples/demo-snowflake-project/setup.sql Removes Snowflake datasource account/user/password secrets from the demo provisioning script.
examples/demo-snowflake-project/pyproject.toml Pins demo dependencies to match the new Snowflake/OAuth-capable stack.
examples/demo-snowflake-project/databao/domains/root/src/snowflake.yaml Switches datasource config to token auth and new env var names for account/host.

Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

Copilot reviewed 9 out of 10 changed files in this pull request and generated 1 comment.

Copy link
Copy Markdown
Member

@SimonKaran13 SimonKaran13 left a comment

Choose a reason for hiding this comment

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

Code LGTM

I'm still waiting on Snowflake credentials to manually test it.

@mrMakaronka mrMakaronka merged commit ebfc718 into main Apr 7, 2026
10 checks passed
@mrMakaronka mrMakaronka deleted the ls/snowflake-streamlit-oauth branch April 7, 2026 13:48
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.

4 participants