Skip to content

Conversation

adinauer
Copy link
Member

#skip-changelog

💡 Motivation and Context

Less waiting

adinauer and others added 12 commits August 7, 2025 14:55
* Fix Spring 7 and Spring Boot 4 modules

* Attempt to fix kotlin 2.2 issue

* Second attempt to fix Kotlin 2.2 (#4610)

* Second attempt to fix Kotlin 2.2

* Format code

* Third attempt at fixing Kotlin 2.2 compat (#4613)

---------

Co-authored-by: Sentry Github Bot <[email protected]>

* Address compose-related issues

* Fix tests for Spring 7 and Spring Boot 4 (#4614)

* Second attempt to fix Kotlin 2.2

* Format code

* Third attempt at fixing Kotlin 2.2 compat

* Fix tests for Spring 7 and Spring Boot 4

* Move Spring 7 and Spring Boot 4 packages (#4615)

* Move Spring 7 and Spring Boot 4 packages

* Fix class not found due to OTel not supporting spring boot 4 yet (#4616)

* Format code

* some fixes

* change kotlin 1.8 to 1.9 and some cleanup

* ignore warnings about api level that is not relevant

* fix optional dependencies in SentryAutoConfiguration

* Update trace origin

* Remove duplicate e2e test config

* Update Strings for Spring 7 and Spring Boot 4

* Disable Spring Boot 4 agentless e2e tests for now

---------

Co-authored-by: Sentry Github Bot <[email protected]>

---------

Co-authored-by: Sentry Github Bot <[email protected]>
Co-authored-by: markushi <[email protected]>
@adinauer adinauer changed the base branch from fix/spring-boot-3-4-request-caching to 08-04-add_new_modules_for_spring_7_and_spring_boot_4 August 14, 2025 11:57
@adinauer adinauer requested a review from lcian as a code owner August 14, 2025 11:57
Copy link
Contributor

github-actions bot commented Aug 14, 2025

Messages
📖 Do not forget to update Sentry-docs with your feature once the pull request gets approved.

Generated by 🚫 dangerJS against 3b965a8

Comment on lines +3 to +4
shutdown-timeout=0
session-flush-timeout=0
Copy link
Contributor

Choose a reason for hiding this comment

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

should these be set in the properties files for jul and logback tests as well?

Copy link
Member Author

Choose a reason for hiding this comment

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

For those it was already possible to manipulate options directly in the test which I prefer since it'll be obvious. Didn't wanna spend much time on adding options to the log4j2 test so I opted for this instead.

Comment on lines +37 to +38
private @Nullable Long shutdownTimeout;
private @Nullable Long sessionFlushTimeout;
Copy link
Member

Choose a reason for hiding this comment

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

m should we name these with the Millis suffix to match the naming in SentryOptions?

Copy link
Member Author

Choose a reason for hiding this comment

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

I copied what we did for shutdownTimeout. Also open to adding the suffix.

Copy link
Member

Choose a reason for hiding this comment

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

I would prefer if we add the suffix for consistency, even though it's not too important

Base automatically changed from 08-04-add_new_modules_for_spring_7_and_spring_boot_4 to main August 26, 2025 10:34
Copy link
Contributor

github-actions bot commented Aug 26, 2025

Performance metrics 🚀

  Plain With Sentry Diff
Startup time 397.69 ms 473.81 ms 76.12 ms
Size 1.58 MiB 2.10 MiB 533.26 KiB

Baseline results on branch: main

Startup times

Revision Plain With Sentry Diff
ee747ae 358.21 ms 389.41 ms 31.20 ms
ee747ae 396.82 ms 441.67 ms 44.86 ms
ee747ae 405.43 ms 485.70 ms 80.28 ms
ee747ae 400.46 ms 423.61 ms 23.15 ms
ee747ae 357.79 ms 421.84 ms 64.05 ms
ee747ae 415.92 ms 470.15 ms 54.23 ms
ee747ae 374.71 ms 455.18 ms 80.47 ms
ee747ae 554.98 ms 611.50 ms 56.52 ms
ee747ae 386.94 ms 431.43 ms 44.49 ms
674d437 355.28 ms 504.18 ms 148.90 ms

App size

Revision Plain With Sentry Diff
ee747ae 1.58 MiB 2.10 MiB 530.95 KiB
ee747ae 1.58 MiB 2.10 MiB 530.95 KiB
ee747ae 1.58 MiB 2.10 MiB 530.95 KiB
ee747ae 1.58 MiB 2.10 MiB 530.95 KiB
ee747ae 1.58 MiB 2.10 MiB 530.95 KiB
ee747ae 1.58 MiB 2.10 MiB 530.95 KiB
ee747ae 1.58 MiB 2.10 MiB 530.95 KiB
ee747ae 1.58 MiB 2.10 MiB 530.95 KiB
ee747ae 1.58 MiB 2.10 MiB 530.95 KiB
674d437 1.58 MiB 2.10 MiB 530.94 KiB

Previous results on branch: feat/speed-up-tests

Startup times

Revision Plain With Sentry Diff
1f6a25e 439.89 ms 525.04 ms 85.15 ms
5ccd0cc 413.90 ms 472.33 ms 58.44 ms

App size

Revision Plain With Sentry Diff
1f6a25e 1.58 MiB 2.10 MiB 533.24 KiB
5ccd0cc 1.58 MiB 2.10 MiB 533.25 KiB

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