lif
81f9296d79
Fix: handle invalid img_id format in chunk update (#12422)
## Summary
- Fix ValueError when updating chunk with invalid/empty `img_id` format
- Add validation before splitting `img_id` by hyphen
- Use `split("-", 1)` to handle object names containing hyphens
## Test plan
- [x] Verify chunk update works with valid `img_id` (format:
`bucket-objectname`)
- [x] Verify chunk update doesn't crash with empty `img_id`
- [x] Verify chunk update doesn't crash when `img_id` has no hyphen
- [x] Verify ruff check passes
Fixes #12035
Signed-off-by: majiayu000 <1835304752@qq.com>
2026-01-05 11:27:19 +08:00
..
2025-12-01 14:24:06 +08:00
2026-01-04 19:16:29 +08:00
2025-12-25 16:59:05 +08:00
2025-12-01 14:24:06 +08:00
2025-12-25 21:18:13 +08:00
2026-01-05 11:27:19 +08:00
2025-12-12 10:23:40 +08:00
2025-12-11 09:47:44 +08:00
2025-12-17 10:03:33 +08:00
2025-12-29 12:54:11 +08:00
2025-12-03 17:00:58 +08:00
2025-12-17 10:03:33 +08:00
2025-12-03 14:19:53 +08:00
2025-12-25 21:18:13 +08:00
2025-12-08 09:43:03 +08:00
2025-12-22 19:27:26 +08:00
2025-12-22 16:47:21 +08:00
2025-12-30 15:54:07 +08:00
2025-12-25 21:18:13 +08:00
2025-11-18 17:05:16 +08:00
2025-12-01 14:24:06 +08:00
2025-12-30 11:27:04 +08:00
2025-12-12 10:23:40 +08:00
2025-12-22 16:47:21 +08:00