Skip to content

Conversation

@github-actions
Copy link
Contributor

Bumps scripts/update-cli.sh from 2.58.2 to 2.58.3.

Auto-generated by a dependency updater.

Changelog

2.58.3

Improvements

  • For the sentry-cli build upload command, we now only auto-detect Git metadata when we detect we are running in a CI environment, unless the user manually overrides this behavior (#2974). This change prevents local development builds from triggiering GitHub status checks for size analysis.
    • We can detect most common CI environments based on the environment variables these set.
    • We introduced two new arguments, --force-git-metadata and --no-git-metadata, which force-enable and force-disable automatic Git data collection, respectively, overriding the default behavior.
  • The sentry-cli build upload command now automatically detects the correct branch or tag reference in non-PR GitHub Actions workflows (#2976). Previously, --head-ref was only auto-detected for pull request workflows. Now it works for push, release, and other workflow types by using the GITHUB_REF_NAME environment variable.

Fixes

  • Fixed a bug where the sentry-cli sourcemaps inject command could inject JavaScript code into certain incorrectly formatted source map files, corrupting their JSON structure (#3003).

Internal changes

  • Migrated JavaScript wrapper to TypeScript for better type safety (#2910)
Full CHANGELOG.md diff
 -1,5 +1,16 
 # Changelog
 
+## 2.58.3
+
+### Improvements
+- For the `sentry-cli build upload` command, we now only auto-detect Git metadata when we detect we are running in a CI environment, unless the user manually overrides this behavior ([#2974](https://github-redirect.dependabot.com/getsentry/sentry-cli/pull/2974)). This change prevents local development builds from triggiering GitHub status checks for size analysis.
+  - We can detect most common CI environments based on the environment variables these set.
+  - We introduced two new arguments, `--force-git-metadata` and `--no-git-metadata`, which force-enable and force-disable automatic Git data collection, respectively, overriding the default behavior.
+- The `sentry-cli build upload` command now automatically detects the correct branch or tag reference in non-PR GitHub Actions workflows ([#2976](https://github-redirect.dependabot.com/getsentry/sentry-cli/pull/2976)). Previously, `--head-ref` was only auto-detected for pull request workflows. Now it works for push, release, and other workflow types by using the `GITHUB_REF_NAME` environment variable.
+
+### Fixes
+- Fixed a bug where the `sentry-cli sourcemaps inject` command could inject JavaScript code into certain incorrectly formatted source map files, corrupting their JSON structure ([#3003](https://github-redirect.dependabot.com/getsentry/sentry-cli/pull/3003)).
+
 ## 2.58.2
 
 ### Improvements
 -46,6 +57,10 
 
 - Slightly sped up the `sentry-cli sourcemaps upload` command by eliminating an HTTP request to the Sentry server, which was not required in most cases ([#2913](https://github-redirect.dependabot.com/getsentry/sentry-cli/pull/2913)).
 
+### Internal changes
+
+- Migrated JavaScript wrapper to TypeScript for better type safety ([#2910](https://github-redirect.dependabot.com/getsentry/sentry-cli/pull/2910))
+
 ## 2.57.0
 
 ### New Features
 -503,7 +518,7  We made several refactors and added several tests in this release. These changes
 
 <details>
 <summary><h3>Changes to tests</h3></summary>
-  
+
 - ref(test): Broaden `with_header_matcher` types ([#2261](https://github-redirect.dependabot.com/getsentry/sentry-cli/issues/2261)) by szokeasaurusrex
 - ref(test): Accept `impl Into<Matcher>` for `with_matcher` ([#2260](https://github-redirect.dependabot.com/getsentry/sentry-cli/issues/2260)) by szokeasaurusrex
 - ref(test): Align `with_reponse_body` parameter to `mockito` ([#2259](https://github-redirect.dependabot.com/getsentry/sentry-cli/issues/2259)) by szokeasaurusrex

@github-actions github-actions bot added the dependencies Pull requests that update a dependency file label Dec 11, 2025
@bruno-garcia bruno-garcia force-pushed the deps/scripts/update-cli.sh branch from d4d5b15 to 7beb42a Compare December 11, 2025 03:35
@antonis antonis added the ready-to-merge Triggers the full CI test suite label Dec 11, 2025
@github-actions
Copy link
Contributor Author

Android (new) Performance metrics 🚀

  Plain With Sentry Diff
Startup time 414.46 ms 480.52 ms 66.06 ms
Size 43.94 MiB 48.90 MiB 4.96 MiB

Baseline results on branch: main

Startup times

Revision Plain With Sentry Diff
0b64753+dirty 358.55 ms 429.16 ms 70.61 ms
c9e95bd+dirty 339.32 ms 401.24 ms 61.92 ms
90e7cb3+dirty 415.17 ms 458.48 ms 43.31 ms
a941c72+dirty 381.92 ms 436.63 ms 54.71 ms
ee69ed5+dirty 411.19 ms 447.04 ms 35.85 ms
818a608+dirty 350.29 ms 397.38 ms 47.09 ms
ea3e26e+dirty 399.98 ms 448.36 ms 48.38 ms
af9331b+dirty 374.42 ms 425.68 ms 51.26 ms
07808fb+dirty 392.47 ms 451.94 ms 59.47 ms
d861c16+dirty 334.54 ms 339.27 ms 4.72 ms

App size

Revision Plain With Sentry Diff
0b64753+dirty 7.15 MiB 8.42 MiB 1.27 MiB
c9e95bd+dirty 7.15 MiB 8.41 MiB 1.26 MiB
90e7cb3+dirty 43.94 MiB 48.85 MiB 4.91 MiB
a941c72+dirty 43.94 MiB 48.87 MiB 4.93 MiB
ee69ed5+dirty 43.94 MiB 48.87 MiB 4.93 MiB
818a608+dirty 7.15 MiB 8.41 MiB 1.26 MiB
ea3e26e+dirty 43.94 MiB 48.82 MiB 4.88 MiB
af9331b+dirty 7.15 MiB 8.41 MiB 1.26 MiB
07808fb+dirty 7.15 MiB 8.43 MiB 1.28 MiB
d861c16+dirty 7.15 MiB 8.43 MiB 1.28 MiB

Previous results on branch: deps/scripts/update-cli.sh

Startup times

Revision Plain With Sentry Diff
353ab8f+dirty 314.06 ms 323.43 ms 9.36 ms
d2cb0c0+dirty 499.38 ms 529.78 ms 30.39 ms
c2b7633+dirty 371.37 ms 383.14 ms 11.78 ms
3dae04a+dirty 409.89 ms 464.62 ms 54.73 ms
fd73548+dirty 365.04 ms 423.08 ms 58.04 ms
d729f18+dirty 371.89 ms 396.80 ms 24.91 ms
a519ee1+dirty 462.20 ms 498.71 ms 36.50 ms
041780a+dirty 430.36 ms 432.98 ms 2.62 ms
bcd12b2+dirty 376.81 ms 404.19 ms 27.38 ms
e585099+dirty 365.29 ms 388.94 ms 23.65 ms

App size

Revision Plain With Sentry Diff
353ab8f+dirty 7.15 MiB 8.44 MiB 1.28 MiB
d2cb0c0+dirty 43.94 MiB 48.85 MiB 4.91 MiB
c2b7633+dirty 43.94 MiB 48.82 MiB 4.88 MiB
3dae04a+dirty 7.15 MiB 8.42 MiB 1.27 MiB
fd73548+dirty 7.15 MiB 8.42 MiB 1.27 MiB
d729f18+dirty 7.15 MiB 8.42 MiB 1.27 MiB
a519ee1+dirty 43.94 MiB 48.82 MiB 4.88 MiB
041780a+dirty 7.15 MiB 8.42 MiB 1.26 MiB
bcd12b2+dirty 7.15 MiB 8.43 MiB 1.28 MiB
e585099+dirty 7.15 MiB 8.42 MiB 1.27 MiB

@github-actions
Copy link
Contributor Author

iOS (legacy) Performance metrics 🚀

  Plain With Sentry Diff
Startup time 1225.69 ms 1224.64 ms -1.06 ms
Size 3.41 MiB 4.67 MiB 1.25 MiB

Baseline results on branch: main

Startup times

Revision Plain With Sentry Diff
0b64753+dirty 1232.49 ms 1226.96 ms -5.53 ms
5602cc4+dirty 1216.49 ms 1211.58 ms -4.91 ms
eec00c2+dirty 1202.92 ms 1206.38 ms 3.46 ms
a31630c+dirty 1229.09 ms 1230.94 ms 1.85 ms
bfe454a+dirty 1235.33 ms 1243.12 ms 7.79 ms
64cd15c+dirty 1216.31 ms 1214.04 ms -2.26 ms
20d5eaa+dirty 1231.12 ms 1226.00 ms -5.12 ms
98f632c+dirty 1236.40 ms 1241.62 ms 5.22 ms
5c16cdc+dirty 1209.32 ms 1210.67 ms 1.35 ms
e76d0d3+dirty 1223.04 ms 1216.80 ms -6.24 ms

App size

Revision Plain With Sentry Diff
0b64753+dirty 2.63 MiB 3.98 MiB 1.35 MiB
5602cc4+dirty 3.41 MiB 4.67 MiB 1.25 MiB
eec00c2+dirty 3.41 MiB 4.59 MiB 1.18 MiB
a31630c+dirty 2.63 MiB 3.98 MiB 1.34 MiB
bfe454a+dirty 2.63 MiB 3.98 MiB 1.34 MiB
64cd15c+dirty 2.63 MiB 3.81 MiB 1.18 MiB
20d5eaa+dirty 2.63 MiB 3.81 MiB 1.18 MiB
98f632c+dirty 2.63 MiB 3.81 MiB 1.18 MiB
5c16cdc+dirty 2.63 MiB 3.96 MiB 1.33 MiB
e76d0d3+dirty 2.63 MiB 4.00 MiB 1.37 MiB

Previous results on branch: deps/scripts/update-cli.sh

Startup times

Revision Plain With Sentry Diff
6dd38c6+dirty 1225.49 ms 1232.86 ms 7.37 ms
fd73548+dirty 1236.69 ms 1241.47 ms 4.78 ms
ab57c90+dirty 1215.02 ms 1222.59 ms 7.57 ms
faac064+dirty 1225.85 ms 1232.59 ms 6.74 ms
cfa4ccd+dirty 1224.06 ms 1228.02 ms 3.96 ms
a519ee1+dirty 1218.60 ms 1220.85 ms 2.26 ms
041780a+dirty 1203.98 ms 1220.82 ms 16.84 ms
e585099+dirty 1217.67 ms 1212.83 ms -4.85 ms
5592990+dirty 1225.76 ms 1232.94 ms 7.18 ms
3dae04a+dirty 1207.88 ms 1213.21 ms 5.33 ms

App size

Revision Plain With Sentry Diff
6dd38c6+dirty 2.63 MiB 3.98 MiB 1.34 MiB
fd73548+dirty 2.63 MiB 3.81 MiB 1.18 MiB
ab57c90+dirty 3.41 MiB 4.57 MiB 1.16 MiB
faac064+dirty 2.63 MiB 3.81 MiB 1.18 MiB
cfa4ccd+dirty 2.63 MiB 3.81 MiB 1.18 MiB
a519ee1+dirty 3.41 MiB 4.58 MiB 1.17 MiB
041780a+dirty 2.63 MiB 3.80 MiB 1.17 MiB
e585099+dirty 2.63 MiB 3.81 MiB 1.18 MiB
5592990+dirty 2.63 MiB 3.81 MiB 1.18 MiB
3dae04a+dirty 2.63 MiB 3.81 MiB 1.18 MiB

@github-actions
Copy link
Contributor Author

iOS (new) Performance metrics 🚀

  Plain With Sentry Diff
Startup time 1219.00 ms 1209.64 ms -9.36 ms
Size 3.41 MiB 4.67 MiB 1.25 MiB

Baseline results on branch: main

Startup times

Revision Plain With Sentry Diff
0b64753+dirty 1225.77 ms 1232.98 ms 7.21 ms
5602cc4+dirty 1204.83 ms 1212.47 ms 7.64 ms
eec00c2+dirty 1210.90 ms 1211.13 ms 0.23 ms
a31630c+dirty 1241.32 ms 1226.98 ms -14.34 ms
bfe454a+dirty 1231.82 ms 1239.98 ms 8.16 ms
64cd15c+dirty 1213.50 ms 1223.54 ms 10.04 ms
20d5eaa+dirty 1224.67 ms 1223.16 ms -1.51 ms
98f632c+dirty 1221.38 ms 1229.26 ms 7.88 ms
5c16cdc+dirty 1235.67 ms 1241.18 ms 5.51 ms
e76d0d3+dirty 1229.94 ms 1228.04 ms -1.90 ms

App size

Revision Plain With Sentry Diff
0b64753+dirty 3.19 MiB 4.55 MiB 1.36 MiB
5602cc4+dirty 3.41 MiB 4.67 MiB 1.25 MiB
eec00c2+dirty 3.41 MiB 4.59 MiB 1.18 MiB
a31630c+dirty 3.19 MiB 4.54 MiB 1.36 MiB
bfe454a+dirty 3.19 MiB 4.54 MiB 1.36 MiB
64cd15c+dirty 3.19 MiB 4.38 MiB 1.19 MiB
20d5eaa+dirty 3.19 MiB 4.38 MiB 1.19 MiB
98f632c+dirty 3.19 MiB 4.38 MiB 1.19 MiB
5c16cdc+dirty 3.19 MiB 4.53 MiB 1.34 MiB
e76d0d3+dirty 3.19 MiB 4.57 MiB 1.38 MiB

Previous results on branch: deps/scripts/update-cli.sh

Startup times

Revision Plain With Sentry Diff
6dd38c6+dirty 1229.76 ms 1241.57 ms 11.82 ms
fd73548+dirty 1232.16 ms 1239.16 ms 7.00 ms
ab57c90+dirty 1222.98 ms 1223.98 ms 1.00 ms
faac064+dirty 1228.92 ms 1233.42 ms 4.50 ms
cfa4ccd+dirty 1187.09 ms 1189.91 ms 2.82 ms
a519ee1+dirty 1225.48 ms 1224.88 ms -0.60 ms
041780a+dirty 1211.79 ms 1224.02 ms 12.23 ms
e585099+dirty 1195.65 ms 1203.15 ms 7.50 ms
5592990+dirty 1215.52 ms 1214.61 ms -0.91 ms
3dae04a+dirty 1231.08 ms 1231.60 ms 0.52 ms

App size

Revision Plain With Sentry Diff
6dd38c6+dirty 3.19 MiB 4.54 MiB 1.36 MiB
fd73548+dirty 3.19 MiB 4.38 MiB 1.19 MiB
ab57c90+dirty 3.41 MiB 4.57 MiB 1.16 MiB
faac064+dirty 3.19 MiB 4.38 MiB 1.19 MiB
cfa4ccd+dirty 3.19 MiB 4.38 MiB 1.19 MiB
a519ee1+dirty 3.41 MiB 4.58 MiB 1.17 MiB
041780a+dirty 3.19 MiB 4.36 MiB 1.17 MiB
e585099+dirty 3.19 MiB 4.38 MiB 1.19 MiB
5592990+dirty 3.19 MiB 4.38 MiB 1.19 MiB
3dae04a+dirty 3.19 MiB 4.38 MiB 1.19 MiB

@antonis antonis enabled auto-merge (squash) December 11, 2025 08:59
@antonis antonis merged commit 04d5425 into main Dec 11, 2025
86 of 93 checks passed
@antonis antonis deleted the deps/scripts/update-cli.sh branch December 11, 2025 09:00
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Pull requests that update a dependency file ready-to-merge Triggers the full CI test suite

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants