Commit 83884a0
Allow configuring shutdown and session flush timeouts externally and speed up tests (#4641)
* Add new modules for Spring 7 and Spring Boot 4
* Fix Spring 7 and Spring Boot 4 modules (#4602)
* Attempt to fix kotlin 2.2 issue (#4603)
* 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]>
* changelog
* fix ci
* add ignored span origins for Spring 7 and Spring Boot 4
* move changelog
* Speed up tests
* docs(changelog): Add entry for external shutdown/session-flush timeout options
Co-Authored-By: Claude <[email protected]>
* ref: Use tracingEnabledRunner in boot4 and jakarta test classes
The tracingEnabledRunner was defined but unused in spring-boot-4 and
spring-boot-jakarta. Migrate the tracing tests to use it, matching
what was already done in spring-boot.
Co-Authored-By: Claude <[email protected]>
* ref: Add Millis suffix to ExternalOptions timeout fields
Rename shutdownTimeout/sessionFlushTimeout to
shutdownTimeoutMillis/sessionFlushTimeoutMillis for consistency
with SentryOptions naming convention.
Co-Authored-By: Claude <[email protected]>
* ref: Add Millis suffix to ExternalOptions timeout fields
Rename shutdownTimeout/sessionFlushTimeout to
shutdownTimeoutMillis/sessionFlushTimeoutMillis in ExternalOptions
for consistency with SentryOptions naming convention. Also rename
the sentry.properties keys from shutdown-timeout to
shutdown-timeout-millis and session-flush-timeout to
session-flush-timeout-millis.
Co-Authored-By: Claude <[email protected]>
* docs(changelog): Restructure timeout options changelog entry
List each configuration method separately for clarity.
Co-Authored-By: Claude <[email protected]>
* fix(test): Use baseContextRunner for transport factory tests
Tests asserting AsyncHttpTransportFactory must not use contextRunner
which includes NoOpTransportConfiguration, as the NoOp bean would
override the auto-configured transport factory.
Co-Authored-By: Claude <[email protected]>
* Format code
* ci: retrigger CI
---------
Co-authored-by: Sentry Github Bot <[email protected]>
Co-authored-by: markushi <[email protected]>
Co-authored-by: Claude <[email protected]>1 parent 8ec9ca8 commit 83884a0
File tree
19 files changed
+667
-317
lines changed- sentry-jul/src/test/kotlin/io/sentry/jul
- sentry-log4j2/src/test
- kotlin/io/sentry/log4j2
- resources
- sentry-logback/src/test/kotlin/io/sentry/logback
- sentry-spring-boot-4/src/test/kotlin/io/sentry/spring/boot4
- sentry-spring-boot-jakarta/src/test/kotlin/io/sentry/spring/boot/jakarta
- sentry-spring-boot/src/test/kotlin/io/sentry/spring/boot
- sentry
- api
- src
- main/java/io/sentry
- test/java/io/sentry
19 files changed
+667
-317
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
4 | 4 | | |
5 | 5 | | |
6 | 6 | | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
7 | 11 | | |
8 | 12 | | |
9 | 13 | | |
| |||
Lines changed: 8 additions & 6 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
7 | 7 | | |
8 | 8 | | |
9 | 9 | | |
| 10 | + | |
10 | 11 | | |
11 | 12 | | |
12 | 13 | | |
| |||
44 | 45 | | |
45 | 46 | | |
46 | 47 | | |
| 48 | + | |
47 | 49 | | |
48 | 50 | | |
49 | 51 | | |
| |||
415 | 417 | | |
416 | 418 | | |
417 | 419 | | |
418 | | - | |
| 420 | + | |
419 | 421 | | |
420 | 422 | | |
421 | 423 | | |
| |||
431 | 433 | | |
432 | 434 | | |
433 | 435 | | |
434 | | - | |
| 436 | + | |
435 | 437 | | |
436 | 438 | | |
437 | 439 | | |
| |||
442 | 444 | | |
443 | 445 | | |
444 | 446 | | |
445 | | - | |
| 447 | + | |
446 | 448 | | |
447 | 449 | | |
448 | 450 | | |
| |||
453 | 455 | | |
454 | 456 | | |
455 | 457 | | |
456 | | - | |
| 458 | + | |
457 | 459 | | |
458 | 460 | | |
459 | 461 | | |
| |||
464 | 466 | | |
465 | 467 | | |
466 | 468 | | |
467 | | - | |
| 469 | + | |
468 | 470 | | |
469 | 471 | | |
470 | 472 | | |
| |||
475 | 477 | | |
476 | 478 | | |
477 | 479 | | |
478 | | - | |
| 480 | + | |
479 | 481 | | |
480 | 482 | | |
481 | 483 | | |
| |||
Lines changed: 6 additions & 6 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
248 | 248 | | |
249 | 249 | | |
250 | 250 | | |
251 | | - | |
| 251 | + | |
252 | 252 | | |
253 | 253 | | |
254 | 254 | | |
| |||
267 | 267 | | |
268 | 268 | | |
269 | 269 | | |
270 | | - | |
| 270 | + | |
271 | 271 | | |
272 | 272 | | |
273 | 273 | | |
| |||
278 | 278 | | |
279 | 279 | | |
280 | 280 | | |
281 | | - | |
| 281 | + | |
282 | 282 | | |
283 | 283 | | |
284 | 284 | | |
| |||
289 | 289 | | |
290 | 290 | | |
291 | 291 | | |
292 | | - | |
| 292 | + | |
293 | 293 | | |
294 | 294 | | |
295 | 295 | | |
| |||
300 | 300 | | |
301 | 301 | | |
302 | 302 | | |
303 | | - | |
| 303 | + | |
304 | 304 | | |
305 | 305 | | |
306 | 306 | | |
| |||
311 | 311 | | |
312 | 312 | | |
313 | 313 | | |
314 | | - | |
| 314 | + | |
315 | 315 | | |
316 | 316 | | |
317 | 317 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
| 3 | + | |
| 4 | + | |
Lines changed: 11 additions & 9 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
18 | 18 | | |
19 | 19 | | |
20 | 20 | | |
| 21 | + | |
21 | 22 | | |
22 | 23 | | |
23 | 24 | | |
| |||
68 | 69 | | |
69 | 70 | | |
70 | 71 | | |
| 72 | + | |
71 | 73 | | |
72 | 74 | | |
73 | 75 | | |
| |||
317 | 319 | | |
318 | 320 | | |
319 | 321 | | |
320 | | - | |
| 322 | + | |
321 | 323 | | |
322 | 324 | | |
323 | 325 | | |
| |||
328 | 330 | | |
329 | 331 | | |
330 | 332 | | |
331 | | - | |
| 333 | + | |
332 | 334 | | |
333 | 335 | | |
334 | 336 | | |
| |||
339 | 341 | | |
340 | 342 | | |
341 | 343 | | |
342 | | - | |
| 344 | + | |
343 | 345 | | |
344 | 346 | | |
345 | 347 | | |
| |||
350 | 352 | | |
351 | 353 | | |
352 | 354 | | |
353 | | - | |
| 355 | + | |
354 | 356 | | |
355 | 357 | | |
356 | 358 | | |
| |||
361 | 363 | | |
362 | 364 | | |
363 | 365 | | |
364 | | - | |
| 366 | + | |
365 | 367 | | |
366 | 368 | | |
367 | 369 | | |
| |||
372 | 374 | | |
373 | 375 | | |
374 | 376 | | |
375 | | - | |
| 377 | + | |
376 | 378 | | |
377 | 379 | | |
378 | 380 | | |
| |||
394 | 396 | | |
395 | 397 | | |
396 | 398 | | |
397 | | - | |
| 399 | + | |
398 | 400 | | |
399 | 401 | | |
400 | 402 | | |
| |||
420 | 422 | | |
421 | 423 | | |
422 | 424 | | |
423 | | - | |
| 425 | + | |
424 | 426 | | |
425 | 427 | | |
426 | 428 | | |
| |||
447 | 449 | | |
448 | 450 | | |
449 | 451 | | |
450 | | - | |
| 452 | + | |
451 | 453 | | |
452 | 454 | | |
453 | 455 | | |
| |||
0 commit comments