feat(task): legacy API aliases, task_center compat, and WebUI updates#135
Merged
duguwanglong merged 3 commits intomainfrom Apr 17, 2026
Merged
feat(task): legacy API aliases, task_center compat, and WebUI updates#135duguwanglong merged 3 commits intomainfrom
duguwanglong merged 3 commits intomainfrom
Conversation
added 3 commits
April 16, 2026 17:39
- Add enum parsing helpers with legacy status/priority aliases in task routes - Extend task store/manager and task_center for backward compatibility - Update legacy table migration script - Refresh Task queue/sheet UI, API types, and locales; add unit tests Made-with: Cursor
- Claim queue ref and flip execution in one SQLite transaction; executor respects prior RUNNING/started_at from claim. - Migration preserves paused executions/queue refs; scheduler active when legacy not cancelled; delete paused queue refs on pause. - Stabilize orphan-queue recovery test; relax paused-scheduler migration assertion. - WebUI: resolve assistant role/finish from message.info for reply preview. Made-with: Cursor
- task_center: infer scheduled task when run_once=True so missing run_at/cron
raises a proper validation error instead of silently executing immediately.
- task_center: coerce string booleans ("false"/"0"/"no"/...) in the schedule
JSON compat layer via _coerce_legacy_bool, preventing recurring tasks from
being misclassified as one-time.
- webui QueuedSection: refresh the open detail drawer by execution id so the
detail keeps updating after pagination/filter changes, independent of the
current page's tasks list.
- tests: add compat tests for the two task_center regressions above.
Made-with: Cursor
duguwanglong
approved these changes
Apr 17, 2026
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.
Summary
task_centertool for backward compatibility.