Some checks failed
CI / Unit & Component Tests (pull_request) Successful in 6m12s
CI / OCR Service Tests (pull_request) Successful in 42s
CI / Backend Unit Tests (pull_request) Failing after 17m13s
CI / fail2ban Regex (pull_request) Successful in 2m37s
CI / Compose Bucket Idempotency (pull_request) Successful in 2m6s
sentry-spring-boot-starter-jakarta 8.5.0 does not support Spring Boot 4.0 — it logs an "Incompatible Spring Boot Version" warning and its SentryAutoConfiguration crashes SF7 bean-name generation. sentry-spring-boot-4 (added in 8.21.0) is the dedicated Spring Boot 4 module with a fixed auto-configuration class. - Replace sentry-spring-boot-starter-jakarta:8.5.0 with sentry-spring-boot-4:8.41.0 - Delete SentryConfig.java — workaround no longer needed, auto-config handles init - Remove spring.autoconfigure.exclude from application.yaml + application-test.yaml - Delete SentryConfigTest.java — tested the deleted workaround class - Update ApplicationContextTest: assert Sentry.isEnabled() is false when no DSN set Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
31 lines
860 B
YAML
31 lines
860 B
YAML
app:
|
|
s3:
|
|
endpoint: http://localhost:9000
|
|
access-key: dummy
|
|
secret-key: dummy
|
|
bucket: test-bucket
|
|
region: us-east-1
|
|
|
|
spring:
|
|
datasource:
|
|
url: will-be-overridden-by-testcontainers
|
|
username: test
|
|
password: test
|
|
mail:
|
|
host: localhost
|
|
|
|
# Disable OTel SDK entirely in tests — prevents auto-configuration from loading resource providers
|
|
# (e.g. AzureAppServiceResourceProvider) that fail against the semconv version used here.
|
|
otel:
|
|
sdk:
|
|
disabled: true
|
|
|
|
# Disable trace export in tests — prevents OTLP connection attempts when no Tempo is running.
|
|
# Sampling probability 0.0 means no spans are created, so no export is attempted.
|
|
management:
|
|
server:
|
|
port: 0 # random port per context — prevents TIME_WAIT conflicts when @DirtiesContext restarts the context
|
|
tracing:
|
|
sampling:
|
|
probability: 0.0
|