Skip to content

feat(task): legacy API aliases, task_center compat, and WebUI updates#135

Merged
duguwanglong merged 3 commits intomainfrom
feat/task-legacy-compat-api-webui
Apr 17, 2026
Merged

feat(task): legacy API aliases, task_center compat, and WebUI updates#135
duguwanglong merged 3 commits intomainfrom
feat/task-legacy-compat-api-webui

Conversation

@xiami762
Copy link
Copy Markdown
Contributor

@xiami762 xiami762 commented Apr 16, 2026

Summary

  • Add enum parsing helpers with legacy status/priority aliases for task entity API routes.
  • Extend task store/manager and task_center tool for backward compatibility.
  • Update legacy task table migration script.
  • Refresh Task queue/sheet WebUI, API types, and i18n; add unit tests (Python + frontend).

xiami762 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 duguwanglong merged commit cd89e40 into main Apr 17, 2026
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants