Repository navigation
fix(job): 使用简洁失败文案 - #225
Merged
Merged
Conversation
ThaddeusJiang
marked this pull request as ready for review
July 1, 2026 14:14
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
变更内容
jobs.error原始内容。根因
jobs.error会保存 worker 失败时的诊断信息,但 UI 直接渲染了该字段,导致内部异常和 provider response 可能展示给用户。验证
MIX_ENV=test mise exec -- mix test test/vmemo_web/live/jobs_live_test.exs test/vmemo_web/job_notifications_test.exs15 tests, 0 failuresMIX_ENV=prod启动 Phoenix 后,用 Browser 打开 failed caption job detail,确认 UI 展示Caption generation failed. Please retry later.且不展示内部异常。本地 prod 验证截图
冲突处理
/media/images/:id/thumb缩略图路径断言,并保留失败 job 的用户可读文案测试。