chore: increment version to 0.8.46 and update changelog
Deploy Development / deploy (push) Successful in 35s
Test Suite / pytest-backend (push) Successful in 28s
Test Suite / lint-backend (push) Successful in 0s
Test Suite / build-frontend (push) Successful in 7s
Test Suite / playwright-tests (push) Successful in 23s

- Updated APP_VERSION to 0.8.46 and MODULE_VERSIONS for exercises to 2.15.1.
- Added structured logging for media upload conflicts in the backend.
- Removed explanatory media hints from the ExerciseFormPage in the frontend to streamline the user interface.
This commit is contained in:
Lars committed 2026-05-07 13:30:25 +02:00
1 parent da368222e0
commit 88fb60e244
3 files changed
+36 -22

No files matched your search

+25
View File
@@ -2186,6 +2186,20 @@ async def upload_exercise_media(
),
)
elif lc in ("trash_soft", "trash_hidden"):
logger.warning(
"exercise_media_upload_conflict MEDIA_ASSET_IN_TRASH exercise_id=%s profile_id=%s "
"media_asset_id=%s lifecycle_state=%s visibility=%s club_id=%s sha256_prefix=%s "
"upload_filename=%s stored_original_filename=%s",
exercise_id,
profile_id,
ea["id"],
lc,
ex_vis,
ex_club,
full_sha[:16],
(file.filename or "")[:200],
(ea.get("original_filename") or "")[:200],
)
raise HTTPException(
status_code=409,
detail={
@@ -2200,6 +2214,17 @@ async def upload_exercise_media(
},
)
else:
logger.warning(
"exercise_media_upload_conflict MEDIA_ASSET_UNAVAILABLE exercise_id=%s profile_id=%s "
"media_asset_id=%s lifecycle_state=%s visibility=%s club_id=%s sha256_prefix=%s",
exercise_id,
profile_id,
ea["id"],
lc,
ex_vis,
ex_club,
full_sha[:16],
)
raise HTTPException(
status_code=409,
detail={