Skip to content

feat: 排程執行紀錄 + 推送紀錄(Web UI)#17

Merged
cablate merged 1 commit intomasterfrom
feat/run-logs
Apr 25, 2026
Merged

feat: 排程執行紀錄 + 推送紀錄(Web UI)#17
cablate merged 1 commit intomasterfrom
feat/run-logs

Conversation

@cablate
Copy link
Copy Markdown
Owner

@cablate cablate commented Apr 25, 2026

Summary

  • 新增 run_logs / notification_logs 表,pipeline 每次執行自動記錄狀態
  • Web UI 右側面板新增「排程」「推送」tab,可即時查看歷史執行與推送結果
  • 排程被跳過(上一次還在跑)也會記錄為 skip 狀態

Changed files

檔案 說明
src/db.ts 新增 run_logs + notification_logs
src/run-logger.ts 新模組:startRun/endRun/logNotification + 查詢
src/index.ts pipeline 埋入 run logging + notification logging
src/web.ts API endpoints + 前端 tab UI(排程/推送)

Test plan

  • 部署後執行排程,確認「排程」tab 顯示執行紀錄
  • 確認推送成功/失敗都有記錄在「推送」tab
  • 確認 skip 狀態正確記錄(連續觸發排程時)

🤖 Generated with Claude Code

新增 run_logs / notification_logs 表,pipeline 每次執行自動記錄狀態。
Web UI 右側面板加入排程/推送 tab,可即時查看歷史執行與推送結果。

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
@cablate cablate merged commit 56d84f8 into master Apr 25, 2026
3 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.

1 participant