Skip to content

Conversation

@NicoHinderling
Copy link
Contributor

@NicoHinderling NicoHinderling commented Jun 25, 2025

@github-actions github-actions bot added the Scope: Backend Automatically applied to PRs that change backend components label Jun 25, 2025
"build_version": {"type": "string", "maxLength": 255},
"build_number": {"type": "integer"},
},
"additionalProperties": False,
Copy link
Member

Choose a reason for hiding this comment

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

Does this mean it will fail if additional properties are sent? I think having validation for the fields that get passed through to the DB is fine, but should make sure we can send extra fields too like the treemap data.

Copy link
Member

Choose a reason for hiding this comment

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

Looks like based on the test case we can't pass extra fields. I think we'll want to turn this True for now.

Copy link
Member

Choose a reason for hiding this comment

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

Oh this is for the preprocessing endpoint 🤦

"artifact_type": {"type": "integer", "minimum": 0, "maximum": 2},
"error_message": {"type": "string"},
"build_version": {"type": "string", "maxLength": 255},
"build_number": {"type": "integer"},
Copy link
Contributor

Choose a reason for hiding this comment

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

Can we add a few fields from AppleAppInfo here? https://github.com/getsentry/launchpad/blob/fa84c05b93d38c41a85b6783537dabbf50556f7a/src/launchpad/models/apple.py#L44 That's the type that we get on the processing side before calling this. Specifically these fields we need in preprocessing:

is_simulator: bool
codesigning_type: string
profile_name: string
is_code_signature_valid: bool
code_signature_errors: [string]

Copy link
Member

Choose a reason for hiding this comment

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

Additional request - could we add this in a "sub" apple_app_info object that's nullable? Want to keep this separate from Android as much as possible.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

yes I'll do that ryan

@NicoHinderling NicoHinderling force-pushed the 06-25-feat_launchpad_create_preprocessing_update_endpoint branch from d728ac7 to ea3f3b3 Compare June 26, 2025 20:30
@codecov
Copy link

codecov bot commented Jun 26, 2025

Codecov Report

All modified and coverable lines are covered by tests ✅

✅ All tests successful. No failed tests found.

Additional details and impacted files
@@            Coverage Diff             @@
##           master   #94352      +/-   ##
==========================================
+ Coverage   78.08%   87.93%   +9.84%     
==========================================
  Files       10377    10379       +2     
  Lines      601030   601247     +217     
  Branches    23393    23393              
==========================================
+ Hits       469321   528699   +59378     
+ Misses     131242    72081   -59161     
  Partials      467      467              

@NicoHinderling NicoHinderling merged commit 83f4055 into master Jun 26, 2025
64 checks passed
@NicoHinderling NicoHinderling deleted the 06-25-feat_launchpad_create_preprocessing_update_endpoint branch June 26, 2025 21:22
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

Scope: Backend Automatically applied to PRs that change backend components

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants