Skip to content

Conversation

NicoHinderling
Copy link
Contributor

In getsentry/sentry#97435 we make a change to simplify the uploading which depends on us no longer worrying about the assembly status. The user will be able to follow up via the website / github hooks if there are any issues with the upload further down the road

@NicoHinderling NicoHinderling requested review from a team and szokeasaurusrex as code owners August 7, 2025 21:24
@NicoHinderling NicoHinderling force-pushed the remove-assembly-polling-from-mobile-app branch 3 times, most recently from fce0bba to 7c82c1b Compare August 7, 2025 21:30
@NicoHinderling NicoHinderling force-pushed the remove-assembly-polling-from-mobile-app branch from 7c82c1b to 5bf3ff4 Compare August 7, 2025 21:46
pub struct AssembleMobileAppResponse {
pub state: ChunkedFileState,
pub missing_chunks: Vec<Digest>,
pub detail: Option<String>,
Copy link
Contributor Author

Choose a reason for hiding this comment

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

we aren't using these two fields anymore

#[derive(Debug, Deserialize)]
#[serde(rename_all = "camelCase")]
pub struct AssembleMobileAppResponse {
pub state: ChunkedFileState,
Copy link
Member

Choose a reason for hiding this comment

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

I doubt we want to be ignoring this, as the state can indicate an error

}

Ok(())
Ok(response.artifact_id)
Copy link
Member

Choose a reason for hiding this comment

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

You need to make a call to the assemble endpoint after uploading the chunks, so that the server begins the assembly process. I don't expect these changes to work, as the code is currently written.

@NicoHinderling
Copy link
Contributor Author

Going to merge these changes into #2675

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