Skip to content

fix(ui-tasks): accept null completionDateUtc and result in task schema - #3372

Merged
hdinia merged 1 commit into
devfrom
fix/tasks-null-completion-date-result
Aug 28, 2026
Merged

fix(ui-tasks): accept null completionDateUtc and result in task schema#3372
hdinia merged 1 commit into
devfrom
fix/tasks-null-completion-date-result

Conversation

@hdinia

@hdinia hdinia commented Aug 27, 2026

Copy link
Copy Markdown
Member

The tasks API returns null for completionDateUtc/result while a task is still running (e.g. right after a disk scan), but the zod schema only allowed undefined, causing a validation error on the tasks page.

@hdinia
hdinia requested a review from skamril August 27, 2026 14:23
@hdinia hdinia self-assigned this Aug 27, 2026
@hdinia
hdinia force-pushed the fix/tasks-null-completion-date-result branch from 382b823 to 11ca574 Compare August 28, 2026 08:11
@hdinia
hdinia merged commit 06f2f92 into dev Aug 28, 2026
15 checks passed
@hdinia
hdinia deleted the fix/tasks-null-completion-date-result branch August 28, 2026 13:27
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants