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

ref: Remove old TODOs #522

Merged
merged 7 commits into from
Mar 13, 2020
Merged

ref: Remove old TODOs #522

merged 7 commits into from
Mar 13, 2020

Conversation

jan-auer
Copy link
Member

Removes some old TODOs. Most notably, this removes the _relay_processed marker from event payloads.

@jan-auer jan-auer requested review from untitaker and a team March 12, 2020 21:42
@jan-auer jan-auer self-assigned this Mar 12, 2020
@jan-auer
Copy link
Member Author

jan-auer commented Mar 12, 2020

@untitaker can we remove this aswell?

// TODO remove retain when the api stabilizes
/// Additional arbitrary fields for forwards compatibility.
#[metastructure(additional_properties, retain = "true", pii = "maybe")]
pub other: Object<Value>,

@@ -38,6 +39,7 @@ fn get_rule(config: &PiiConfig, id: &str) -> Option<RuleRef> {
}
}

#[allow(clippy::mutable_key_type)]
Copy link
Member Author

@jan-auer jan-auer Mar 13, 2020

Choose a reason for hiding this comment

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

This seems to be a false-positive, I'm assuming this is due to Regexes stored inside RuleRef. See https://rust-lang.github.io/rust-clippy/master/index.html#mutable_key_type

@untitaker
Copy link
Member

Let's do that not just yet. I thought about this recently but then we started another schema discussion like two days ago

@jan-auer jan-auer requested a review from untitaker March 13, 2020 08:48
@untitaker
Copy link
Member

@jan-auer your consolidation broke our Python 2 build, as black does not install under Python 2.

@jan-auer jan-auer merged commit d9095f6 into master Mar 13, 2020
@jan-auer jan-auer deleted the ref/remove-todos branch March 13, 2020 14:25
jan-auer added a commit that referenced this pull request Mar 13, 2020
* master:
  ref: Remove old TODOs (#522)
  ref(tests): Reorganize integration tests (#521)
jan-auer added a commit that referenced this pull request Apr 19, 2021
The `breadcrumb.event_id` attribute was wrongly removed in #522. It is
used to link to other Sentry issues from within the breadcrumbs list.
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.

2 participants