Skip to content

feat(cron): 增加定时任务执行记录弹窗 / add execution history dialog - #243

Open
mqqss wants to merge 1 commit into
TencentCloud:developfrom
mqqss:feature/cron-run-history
Open

feat(cron): 增加定时任务执行记录弹窗 / add execution history dialog#243
mqqss wants to merge 1 commit into
TencentCloud:developfrom
mqqss:feature/cron-run-history

Conversation

@mqqss

@mqqss mqqss commented Aug 12, 2026

Copy link
Copy Markdown

概述 / Summary

为定时任务增加执行记录查看功能。用户可以从表格操作列或卡片视图的更多菜单打开弹窗,查看历史执行结果。
Add cron execution history viewing. Users can open a modal from the table action column or the card view's more menu to inspect previous execution results.

变更内容 / Changes

  • 增加带 Agent 所有权校验的分页执行记录 API。
    Add a paginated execution history API with agent ownership checks.

  • 复用现有 cron.run_okcron.run_failed 审计记录,无需数据库迁移。
    Reuse existing cron.run_ok and cron.run_failed audit records without requiring a database migration.

  • 在弹窗表格中展示完成时间、执行状态和失败原因。
    Display completion time, execution status, and failure reason in a modal table.

  • 在表格操作列和卡片视图中增加执行记录入口。
    Add execution history entry points to both table and card views.

  • 增加中英文界面文案、自动化测试和 Changelog。
    Add localized UI copy, automated tests, and a changelog entry.

验证 / Validation

  • make all:1951 passed,12 skipped,31 deselected。
    make all: 1951 passed, 12 skipped, and 31 deselected.

  • Dashboard TypeScript 检查和生产构建通过。
    Dashboard TypeScript checks and the production build passed.

  • 本次变更的前端文件通过 ESLint。
    Changed frontend files passed ESLint.

说明 / Notes

当前记录展示完成时间、状态和失败原因;现有审计数据不区分手动触发与自动调度。
The history currently shows completion time, status, and failure reason; existing audit data does not distinguish manual runs from scheduled runs.

@jubaoliang

Copy link
Copy Markdown
Collaborator

我们需要评估一下

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