Skip to content

Conversation

@lukasmasuch
Copy link
Collaborator

@lukasmasuch lukasmasuch commented Apr 19, 2023

📚 Context

The previous PR #6464 removed the usage of the identify event in Segment. Thereby, it is not required anymore that we send the author email to the frontend in the NewSession proto message. This PR removes the last aspects related to this, 1) the email from the proto message 2) the logic to populate this property 3) Remove email property from test mocks.

A bit more context is in this conversation.


Contribution License Agreement

By submitting this pull request you agree that all contributions to this project are made under the Apache 2.0 license.

string email = 2;

// DEPRECATED:
// string email = 2;
Copy link
Collaborator Author

Choose a reason for hiding this comment

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

I'm not 100% sure about the latest state of protobuf compatibility. Can I actually remove this property here, or should I keep it in for compatibility reasons even though it won't get used anymore? @vdonato @tconkling

Copy link
Contributor

Choose a reason for hiding this comment

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

it's fine to remove it - our current pattern is to replace the removed field reserved 2; so that if someone tries to reuse the ID it will actually throw a protobuf compile error.

Copy link
Contributor

Choose a reason for hiding this comment

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

(So we should do that here)

@lukasmasuch lukasmasuch added the security-assessment-completed Security assessment has been completed for PR label Apr 21, 2023
string email = 2;

// DEPRECATED:
// string email = 2;
Copy link
Contributor

Choose a reason for hiding this comment

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

it's fine to remove it - our current pattern is to replace the removed field reserved 2; so that if someone tries to reuse the ID it will actually throw a protobuf compile error.

string email = 2;

// DEPRECATED:
// string email = 2;
Copy link
Contributor

Choose a reason for hiding this comment

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

(So we should do that here)

@lukasmasuch lukasmasuch merged commit f015009 into develop Apr 21, 2023
tconkling added a commit to tconkling/streamlit that referenced this pull request Apr 24, 2023
* develop:
  Removing viz-1.8.0.min.js (streamlit#6520)
  st.experimental_connection: The big merge (streamlit#6487)
  Add additional attributions (streamlit#6536)
  Fix code block font change (streamlit#6535)
  Fully remove email from new session message (streamlit#6516)
  Clarify what telemetry data our backend stores (streamlit#6463)
  Update emojis to latest state (streamlit#6532)
  Add support for pandas 2.0 (streamlit#6507)
  Fix regression in visibility of `st.code`'s copy-to-clipboard button (streamlit#6498)
  Fix E2E image (streamlit#6524)
  Add tenacity as dependency (streamlit#6529)
@vdonato vdonato deleted the feature/fast-follow-identify-removal branch November 2, 2023 00:00
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