[PR #430] [MERGED] feat: enhance workflow #955

Closed
opened 2026-03-03 01:07:00 +03:00 by kerem · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/certimate-go/certimate/pull/430
Author: @fudiwei
Created: 1/21/2025
Status: Merged
Merged: 1/23/2025
Merged by: @usual2970

Base: nextHead: feat/new-workflow


📝 Commits (10+)

  • d556860 refactor: clean code
  • c61b2d2 fix: couldn't list expire soon certificates
  • 8dc8620 feat: support removing workflow runs
  • 79c1da6 feat: a new status for canceled workflow run
  • 7e0f575 feat(ui): jump to workflow detail page in dashboard
  • bee4ba1 feat: generate run record at the beginning of the workflow execution
  • 0f94588 feat: cancel workflow run
  • 7a2fc5e Merge branch 'next' into feat/new-workflow
  • b67049f refactor: clean code
  • 5cabceb feat(ui): improve workflow elements scroll area

📊 Changes

53 files changed (+889 additions, -517 deletions)

View changed files

📝 go.mod (+12 -16)
📝 go.sum (+34 -38)
📝 internal/applicant/acme_user.go (+3 -4)
📝 internal/applicant/applicant.go (+1 -1)
📝 internal/certificate/service.go (+1 -1)
📝 internal/domain/dtos/certificate.go (+0 -5)
📝 internal/domain/dtos/workflow.go (+6 -1)
📝 internal/domain/workflow.go (+5 -5)
📝 internal/domain/workflow_run.go (+10 -5)
📝 internal/pkg/core/logger/builtin.go (+3 -1)
📝 internal/pkg/utils/certs/parser.go (+15 -0)
📝 internal/pkg/utils/certs/transformer.go (+3 -19)
📝 internal/pkg/utils/types/types.go (+1 -0)
📝 internal/repository/certificate.go (+6 -5)
📝 internal/repository/workflow.go (+34 -11)
📝 internal/rest/handlers/certificate.go (+16 -14)
📝 internal/rest/handlers/workflow.go (+19 -5)
📝 internal/workflow/event.go (+1 -1)
📝 internal/workflow/node-processor/apply_node.go (+1 -1)
📝 internal/workflow/processor/processor.go (+7 -11)

...and 33 more files

📄 Description

该 PR 包含以下内容的变更:

  • feat: 支持删除工作流执行历史记录。
  • feat: 执行工作流时先生成执行历史记录,以便用户可在前端看到执行中的状态。
  • feat: 仪表盘可从最近执行历史记录列表跳转到工作流详情页。
  • fix: 修复因 #424 pocketbase 升级导致列出即将过期的证书查询语句语法错误的问题。

🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/certimate-go/certimate/pull/430 **Author:** [@fudiwei](https://github.com/fudiwei) **Created:** 1/21/2025 **Status:** ✅ Merged **Merged:** 1/23/2025 **Merged by:** [@usual2970](https://github.com/usual2970) **Base:** `next` ← **Head:** `feat/new-workflow` --- ### 📝 Commits (10+) - [`d556860`](https://github.com/certimate-go/certimate/commit/d5568608f51c2e47fa11a722e7b4007e0dfb35af) refactor: clean code - [`c61b2d2`](https://github.com/certimate-go/certimate/commit/c61b2d2d3f475ce545d70358135a53a4b50909e5) fix: couldn't list expire soon certificates - [`8dc8620`](https://github.com/certimate-go/certimate/commit/8dc86209df06dfd5cedc5f430e8727ea52930cb8) feat: support removing workflow runs - [`79c1da6`](https://github.com/certimate-go/certimate/commit/79c1da6d14b0037bd99fb06a1c9c2828926be8f0) feat: a new status for canceled workflow run - [`7e0f575`](https://github.com/certimate-go/certimate/commit/7e0f575e0a15110c0ef5ff7b32cf36360394d380) feat(ui): jump to workflow detail page in dashboard - [`bee4ba1`](https://github.com/certimate-go/certimate/commit/bee4ba10cbb15a7d09fd6c3cef56fde04fc644bc) feat: generate run record at the beginning of the workflow execution - [`0f94588`](https://github.com/certimate-go/certimate/commit/0f945881a172f0a57c775e82e3f1d5e04aef28d7) feat: cancel workflow run - [`7a2fc5e`](https://github.com/certimate-go/certimate/commit/7a2fc5e2fd482304b588fd335678cc896cbf00a0) Merge branch 'next' into feat/new-workflow - [`b67049f`](https://github.com/certimate-go/certimate/commit/b67049f9aa3cf010c305126f1ce661ba4a7cfdea) refactor: clean code - [`5cabceb`](https://github.com/certimate-go/certimate/commit/5cabceb08e4f08e2fbe2fdce3cf5c3f5b925b327) feat(ui): improve workflow elements scroll area ### 📊 Changes **53 files changed** (+889 additions, -517 deletions) <details> <summary>View changed files</summary> 📝 `go.mod` (+12 -16) 📝 `go.sum` (+34 -38) 📝 `internal/applicant/acme_user.go` (+3 -4) 📝 `internal/applicant/applicant.go` (+1 -1) 📝 `internal/certificate/service.go` (+1 -1) 📝 `internal/domain/dtos/certificate.go` (+0 -5) 📝 `internal/domain/dtos/workflow.go` (+6 -1) 📝 `internal/domain/workflow.go` (+5 -5) 📝 `internal/domain/workflow_run.go` (+10 -5) 📝 `internal/pkg/core/logger/builtin.go` (+3 -1) 📝 `internal/pkg/utils/certs/parser.go` (+15 -0) 📝 `internal/pkg/utils/certs/transformer.go` (+3 -19) 📝 `internal/pkg/utils/types/types.go` (+1 -0) 📝 `internal/repository/certificate.go` (+6 -5) 📝 `internal/repository/workflow.go` (+34 -11) 📝 `internal/rest/handlers/certificate.go` (+16 -14) 📝 `internal/rest/handlers/workflow.go` (+19 -5) 📝 `internal/workflow/event.go` (+1 -1) 📝 `internal/workflow/node-processor/apply_node.go` (+1 -1) 📝 `internal/workflow/processor/processor.go` (+7 -11) _...and 33 more files_ </details> ### 📄 Description 该 PR 包含以下内容的变更: - **feat**: 支持删除工作流执行历史记录。 - **feat**: 执行工作流时先生成执行历史记录,以便用户可在前端看到执行中的状态。 - **feat**: 仪表盘可从最近执行历史记录列表跳转到工作流详情页。 - **fix**: 修复因 #424 pocketbase 升级导致列出即将过期的证书查询语句语法错误的问题。 --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
kerem 2026-03-03 01:07:00 +03:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/certimate#955
No description provided.