Skip to content

Conversation

runningcode
Copy link
Contributor

@runningcode runningcode commented Oct 1, 2025

Summary

Removes the redundant main_binary_identifier parameter from the Build Distribution feature. This parameter was always set to the same value as app_id, making it redundant.

Changes

  • Removed mainBinaryIdentifier field from UpdateCheckParams data class
  • Removed main_binary_identifier query parameter from API URL construction
  • Updated DistributionIntegration to no longer pass the redundant parameter
  • Updated test to reflect the changes

#skip-changelog

🤖 Generated with Claude Code

Copy link

linear bot commented Oct 1, 2025


/** Parameters for checking updates. */
data class UpdateCheckParams(
val mainBinaryIdentifier: 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.

I decided to just completely remove this field assuming we will never use it on android

Copy link
Contributor

github-actions bot commented Oct 1, 2025

Performance metrics 🚀

  Plain With Sentry Diff
Startup time 501.83 ms 576.66 ms 74.83 ms
Size 1.58 MiB 2.10 MiB 535.07 KiB

Baseline results on branch: main

Startup times

Revision Plain With Sentry Diff
d217708 411.22 ms 430.86 ms 19.63 ms
7314dbe 437.83 ms 505.64 ms 67.81 ms
14ff5ee 419.75 ms 495.73 ms 75.98 ms
b3d8889 371.84 ms 447.49 ms 75.65 ms
b750b96 421.25 ms 444.09 ms 22.84 ms
c8125f3 397.65 ms 485.14 ms 87.49 ms
3998a95 415.94 ms 478.54 ms 62.60 ms
ee747ae 386.94 ms 431.43 ms 44.49 ms
d217708 355.34 ms 381.39 ms 26.05 ms
3699cd5 423.60 ms 495.52 ms 71.92 ms

App size

Revision Plain With Sentry Diff
d217708 1.58 MiB 2.10 MiB 532.97 KiB
7314dbe 1.58 MiB 2.10 MiB 533.45 KiB
14ff5ee 1.58 MiB 2.10 MiB 535.08 KiB
b3d8889 1.58 MiB 2.10 MiB 535.07 KiB
b750b96 1.58 MiB 2.10 MiB 533.20 KiB
c8125f3 1.58 MiB 2.10 MiB 532.32 KiB
3998a95 1.58 MiB 2.10 MiB 532.96 KiB
ee747ae 1.58 MiB 2.10 MiB 530.95 KiB
d217708 1.58 MiB 2.10 MiB 532.97 KiB
3699cd5 1.58 MiB 2.10 MiB 533.45 KiB

Previous results on branch: no/remove-main-binary-identifier

Startup times

Revision Plain With Sentry Diff
1cf31b7 543.18 ms 624.94 ms 81.76 ms

App size

Revision Plain With Sentry Diff
1cf31b7 1.58 MiB 2.10 MiB 535.08 KiB

Copy link
Member

@markushi markushi left a comment

Choose a reason for hiding this comment

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

LGTM!

…ME-391)

Removes the redundant main_binary_identifier parameter from the Build
Distribution API calls, as it was always set to the same value as app_id.

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <[email protected]>
@runningcode runningcode force-pushed the no/remove-main-binary-identifier branch from 0275234 to 7eb31e4 Compare October 6, 2025 07:47
@runningcode runningcode merged commit bc10971 into main Oct 6, 2025
60 of 61 checks passed
@runningcode runningcode deleted the no/remove-main-binary-identifier branch October 6, 2025 08:24
romtsn pushed a commit that referenced this pull request Oct 7, 2025
…ME-391) (#4773)

Removes the redundant main_binary_identifier parameter from the Build
Distribution API calls, as it was always set to the same value as app_id.

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-authored-by: Claude <[email protected]>
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