Repository navigation
fix(web): a scheduled task with a cleared run time no longer saves as 09:00 - #36789
Conversation
… 09:00 Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
# Conflicts: # apps/web/src/components/settings/scheduledTasksSettings.logic.test.ts
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
ApprovabilityVerdict: Needs Human Approval Macroscope's review found this PR requires human approval — Clearing a scheduled task’s run time now blocks saving rather than silently selecting 09:00. Removing that existing fallback requires confirmation of the intended product behavior; the initial form time remains unchanged. You can add or adjust custom eligibility rules. Learn more. |
|
No actionable comments were generated in the recent review. Walkthrough
Merge Risk:
|
… 09:00 (pingdotgg#36789) Co-authored-by: Alex Southwell <4596216+saphid@users.noreply.github.com> Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com> (cherry picked from commit b5df3c1)
Nothing needed changing this round. All 8 required checks passed on c52ab58. The review bots left no line comments and no reviews. Macroscope's only comment is an approvability verdict ('Needs Human Approval'). It reports no defect: it asks a human to confirm that clearing a fixed run time should block saving instead of silently saving 09:00. That is the pending maintainer decision the brief already preserves, so it is left for the maintainer. The fix itself is unchanged: in the scheduled task form, a fixed-time draft with an empty time now fails validation with 'Invalid run time: Pick a time.' instead of being saved as 09:00. New tasks still start at 09:00.
Supersedes #29870. The change is @saphid's; their commits are kept.
Reproduction on main
Reproduced on main at cebdf39:
timeOfDay: draft.timeOfDay || "09:00"in apps/web/src/components/settings/scheduledTasksSettings.logic.ts on main.Evidence
Real web app, Chromium 156 on Linux, 1280×800, light theme, UTC; fresh synthetic data on each commit.
scenarios:proveexited 0: fails on base and passes on head.Created Afternoon check with prompt Say hello, weekdays at 14:30. Edited and cleared all time segments using Backspace/Tab, saved, and reloaded. Restored 14:30, cleared only minutes, saved, and reloaded again. Base silently persisted 09:00 for both edits. Head showed “Invalid run time / Pick a time.”, kept the editor open, and preserved 14:30.
Scenario driver, uploaded without committing.
Tests
No new commands run this round. The PR's 8 required CI checks passed on c52ab58. The earlier round ran: vp test run src/components/settings/scheduledTasksSettings.logic.test.ts (26 passed) and vp run check:changed (all pass).
Not in this change
Who did the work
Run by the t3code factory in T3 Code.