Unify Testcontainers dependencies to a consistent version and remove
custom container tweaks that caused instability with Podman.
- align all Testcontainers dependencies to 2.0.5
- remove `HostPortWaitStrategy` (PostgreSQLContainer already defines an appropriate wait strategy)
- remove `withReuse(true)` (may retain state across runs and break reproducibility)
Signed-off-by: Marcus Fihlon <marcus@fihlon.swiss>
Default title generation could fail when parsed activity data had no timezone set. This change adds a null/blank fallback in `ActivityFormatter` so titles can still be generated without throwing a `NullPointerException`.
Signed-off-by: Marcus Fihlon <marcus@fihlon.swiss>
The test method was already disabled, but the Spring test context for the class was still being created during the regular test run. Moving `@Disabled` to the class prevents the Testcontainers-based application context from loading for this manual-only test and stops `verify` from failing.
Signed-off-by: Marcus Fihlon <marcus@fihlon.swiss>
Avoid unique-constraint violations during achievement rebuilds by forcing the old rows to be deleted in the database before inserting rebuilt achievements.
Signed-off-by: Marcus Fihlon <marcus@fihlon.swiss>
Prevent delete-triggered achievement rebuilds from failing when activity history changes again while an async recalculation is already running.
Signed-off-by: Marcus Fihlon <marcus@fihlon.swiss>
Prevent concurrent achievement and summary rebuilds for the same user when multiple activities are deleted in quick succession.
Signed-off-by: Marcus Fihlon <marcus@fihlon.swiss>
Move achievement and summary rebuilds out of the activity delete request path so the UI is not blocked by long-running recalculations.
Signed-off-by: Marcus Fihlon <marcus@fihlon.swiss>
* chore: add .sdkmanrc for SDK version management
Add .sdkmanrc to define and standardize SDK versions
used in the project via SDKMAN.
* revert: remove unrelated change from feature branch
Signed-off-by: Marcus Fihlon <marcus@fihlon.swiss>
* revert: remove unrelated change from feature branch
---------
Signed-off-by: Marcus Fihlon <marcus@fihlon.swiss>
Add Maven Wrapper to ensure consistent build environment and
eliminate the need for a preinstalled Maven version.
Signed-off-by: Marcus Fihlon <marcus@fihlon.swiss>