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(profiling): Remove platform validation #1933

Merged
merged 2 commits into from
Mar 15, 2023

Conversation

phacops
Copy link
Contributor

@phacops phacops commented Mar 14, 2023

Let's align with the event protocol and not validate platform for profiles.

runtime is not a required field, the profile is valid even if those fields are omitted. I'd remove the validation for cocoa as well but we do have some code relying on these fields for Snuba ingestion so we'll need to deal with that first in order to treat everything as optional like for the event.

We can close #1902 in favor of this.

@phacops phacops requested a review from a team as a code owner March 14, 2023 15:51
@phacops phacops requested a review from a team March 14, 2023 15:53
@jan-auer jan-auer enabled auto-merge (squash) March 15, 2023 09:07
@jan-auer jan-auer merged commit a3dec35 into master Mar 15, 2023
@jan-auer jan-auer deleted the pierre/profiling-remove-platform-validation branch March 15, 2023 09:09
jan-auer added a commit that referenced this pull request Mar 17, 2023
…or-slug-parameter

* master: (21 commits)
  ci: switch to using GitHub artefacts instead of ghcr for PR testing (#1918)
  ref: Add new mobile vitals (#1943)
  release: 23.3.0
  ref(profiling): Remove platform validation (#1933)
  ref(relay_cache): Inject upstream realy into the service (#1932)
  feat(csp): Add the request's origin to CSP events (#1934)
  chore(common): Remove unused tryf macro (#1931)
  ref(test): Remove actix test utilities (#1930)
  ref(actix): Refactor shutdown without actix (#1912)
  ref(outcomes): Do not use registry in outcome producer (#1927)
  ref: Inject services in project cache and project upstream (#1926)
  feat(config): Add links to docs in YAML config file (#1923)
  feat(mobile): Move device.class from contexts to tags (#1911)
  fix(ci): Use correct Rust toolchain in Beta CI (#1925)
  ci(gha): Remove unmaintained actions-rs actions (#1922)
  feat(normalization): Optionally mark scrubbed transactions as sanitized (#1917)
  chore: Apply import grouping from coding style (#1921)
  feat(general): Fix leaked ip address (#1892)
  fix(normalize): No original_value for untouched transactions (#1916)
  chore(build): Update rust toolchain to 1.68.0 (#1914)
  ...
jan-auer added a commit that referenced this pull request Mar 17, 2023
* master:
  ref(monitors): Normalize monitor slug parameter (#1913)
  ci: switch to using GitHub artefacts instead of ghcr for PR testing (#1918)
  ref: Add new mobile vitals (#1943)
  release: 23.3.0
  ref(profiling): Remove platform validation (#1933)
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.

3 participants