Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Try out st.experimental_connection for local streamlit #247

Closed
joshelser opened this issue Sep 6, 2023 · 1 comment · Fixed by #379
Closed

Try out st.experimental_connection for local streamlit #247

joshelser opened this issue Sep 6, 2023 · 1 comment · Fixed by #379

Comments

@joshelser
Copy link
Contributor

The goal is that this will help reduce the random exceptions from #35. A pivot from #230.

We have a strong hunch that the Connection.get() function in app/ui/connection.py is returning a snowpark Session which is not thread-safe and being used by multiple threads.

https://docs.streamlit.io/library/api-reference/connections/st.experimental_connection seems like it could help the local development (which is also used by Cypress tests) inconsistency. Spend no more than half a day.

@joshelser joshelser self-assigned this Sep 6, 2023
@joshelser joshelser added this to the Sprint 24 milestone Sep 6, 2023
@joshelser joshelser moved this to Todo in OpsCenter Project Sep 6, 2023
@rymurr rymurr modified the milestones: Sprint 24, Sprint 25 Sep 12, 2023
@rymurr
Copy link
Contributor

rymurr commented Sep 14, 2023

going to move out of this sprint since we see much more stable tests now

@rymurr rymurr removed this from the Sprint 25 milestone Sep 14, 2023
@joshelser joshelser removed the status in OpsCenter Project Sep 25, 2023
@joshelser joshelser removed their assignment Sep 25, 2023
@rymurr rymurr linked a pull request Sep 27, 2023 that will close this issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: Done
Development

Successfully merging a pull request may close this issue.

2 participants