Skip to content

Conversation

@vdonato
Copy link
Collaborator

@vdonato vdonato commented Mar 23, 2023

Note: This PR is going into feature/st.experimental_connection.

📚 Context

One nice thing we want to do with st.experimental_connection is to have it reset whenever its
corresponding section in secrets.toml change, but do nothing in the case that an unrelated
secret changes.

  • What kind of change does this PR introduce?
    • Feature

🧪 Testing Done

  • Added/Updated unit tests

@vdonato vdonato added the security-assessment-completed Security assessment has been completed for PR label Mar 23, 2023
@vdonato vdonato requested a review from lukasmasuch March 23, 2023 23:11
Copy link
Collaborator

@lukasmasuch lukasmasuch left a comment

Choose a reason for hiding this comment

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

LGTM 👍 Just one thing to double-check related to the hashing of the secrets pickle.

@vdonato vdonato merged this pull request into feature/st.experimental_connection Mar 27, 2023
@vdonato vdonato deleted the vdonato/smarter-connection-reloading branch March 27, 2023 22:30
vdonato added a commit that referenced this pull request Mar 27, 2023
* Reload the connection when its secrets section changes

* Use json instead of pickled dict to construct hash
vdonato added a commit that referenced this pull request Mar 29, 2023
* Reload the connection when its secrets section changes

* Use json instead of pickled dict to construct hash
vdonato added a commit that referenced this pull request Mar 31, 2023
* Reload the connection when its secrets section changes

* Use json instead of pickled dict to construct hash
vdonato added a commit that referenced this pull request Mar 31, 2023
* Reload the connection when its secrets section changes

* Use json instead of pickled dict to construct hash
vdonato added a commit that referenced this pull request Apr 4, 2023
* Reload the connection when its secrets section changes

* Use json instead of pickled dict to construct hash
vdonato added a commit that referenced this pull request Apr 6, 2023
* Reload the connection when its secrets section changes

* Use json instead of pickled dict to construct hash
vdonato added a commit that referenced this pull request Apr 6, 2023
* Reload the connection when its secrets section changes

* Use json instead of pickled dict to construct hash
vdonato added a commit that referenced this pull request Apr 10, 2023
* Reload the connection when its secrets section changes

* Use json instead of pickled dict to construct hash
vdonato added a commit that referenced this pull request Apr 11, 2023
* Reload the connection when its secrets section changes

* Use json instead of pickled dict to construct hash
vdonato added a commit that referenced this pull request Apr 15, 2023
* Reload the connection when its secrets section changes

* Use json instead of pickled dict to construct hash
vdonato added a commit that referenced this pull request Apr 17, 2023
* Reload the connection when its secrets section changes

* Use json instead of pickled dict to construct hash
vdonato added a commit that referenced this pull request Apr 19, 2023
* Reload the connection when its secrets section changes

* Use json instead of pickled dict to construct hash
vdonato added a commit that referenced this pull request Apr 20, 2023
* Reload the connection when its secrets section changes

* Use json instead of pickled dict to construct hash
vdonato added a commit that referenced this pull request Apr 21, 2023
* Reload the connection when its secrets section changes

* Use json instead of pickled dict to construct hash
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

security-assessment-completed Security assessment has been completed for PR

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants