feat(cron): 增加定时任务执行记录弹窗 / add execution history dialog - #243
Open
mqqss wants to merge 1 commit into
Open
Conversation
Collaborator
|
我们需要评估一下 |
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
为定时任务增加执行记录查看功能。用户可以从表格操作列或卡片视图的更多菜单打开弹窗,查看历史执行结果。
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_ok和cron.run_failed审计记录,无需数据库迁移。Reuse existing
cron.run_okandcron.run_failedaudit 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.