fix(downloads): clip long titles to fit display_name (VARCHAR 255)
A download whose source title exceeded 255 chars (e.g. a recipe baked into a Facebook video's title) failed with a StringDataRightTruncation: the worker auto-fills an empty display_name from the title, which overflows the 255-char column. Clip the title to 255 at every point it flows into display_name (worker completion paths + enqueue); the full title is untouched on the asset. Pre-existing latent bug, surfaced by an unusually long title. Release v0.31.1.
This commit is contained in:
parent
ccbcc34bd3
commit
33fad8911b
4 changed files with 14 additions and 4 deletions
|
|
@ -14,6 +14,14 @@ export interface ReleaseEntry {
|
|||
}
|
||||
|
||||
export const RELEASE_NOTES: ReleaseEntry[] = [
|
||||
{
|
||||
version: "0.31.1",
|
||||
date: "2026-07-07",
|
||||
summary: "Fix: a download could fail when the video's title was very long.",
|
||||
fixes: [
|
||||
"Downloads: fixed a download failing right at the end when the source's title was very long (e.g. a whole recipe in the title) — the auto-filled display name overflowed its limit. Long titles are now trimmed for the name; the full title still shows everywhere else.",
|
||||
],
|
||||
},
|
||||
{
|
||||
version: "0.31.0",
|
||||
date: "2026-07-07",
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue