[PR #1165] [MERGED] fix #1137 #1160

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

📋 Pull Request Information

Original PR: https://github.com/certimate-go/certimate/pull/1165
Author: @Qmli04
Created: 1/16/2026
Status: Merged
Merged: 1/20/2026
Merged by: @fudiwei

Base: mainHead: main


📝 Commits (3)

📊 Changes

8 files changed (+38 additions, -9 deletions)

View changed files

📝 migrations/1757476800_upgrade_v0.4.0.go (+7 -3)
📝 migrations/1757476801_initialize_v0.4.0.go (+5 -1)
📝 migrations/1760486400_upgrade_v0.4.1.go (+5 -1)
📝 migrations/1762142400_upgrade_v0.4.3.go (+5 -1)
📝 migrations/1762516800_upgrade_v0.4.4.go (+5 -1)
📝 migrations/1763373600_upgrade_v0.4.5.go (+5 -1)
📝 migrations/1763640000_upgrade_v0.4.6.go (+5 -1)
📝 migrations/1766592000_upgrade_v0.4.11.go (+1 -0)

📄 Description

该 PR 包含以下内容变更:

fix: 关闭 https://github.com/certimate-go/certimate/issues/1137

大致原因为在匹配以下划线开头的 nodeid时,使用了错误的方法。下划线在sqlite中为特殊字符,需要转义。该错误用法会导致触发该migration时,workflow_output和workflow_log中的nodeid每次都会被去除前三个字符。


🔄 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/1165 **Author:** [@Qmli04](https://github.com/Qmli04) **Created:** 1/16/2026 **Status:** ✅ Merged **Merged:** 1/20/2026 **Merged by:** [@fudiwei](https://github.com/fudiwei) **Base:** `main` ← **Head:** `main` --- ### 📝 Commits (3) - [`8fd6792`](https://github.com/certimate-go/certimate/commit/8fd6792b6975e2dd13e2bd15e7ea83169fdab4c6) fix: #1137 - [`080681e`](https://github.com/certimate-go/certimate/commit/080681e79553b9626ad31daf7233702a6b87f209) fix: The query on _migration is not working - [`e1403d8`](https://github.com/certimate-go/certimate/commit/e1403d8534aba85c4a222489797df709fdb77d72) refactor ### 📊 Changes **8 files changed** (+38 additions, -9 deletions) <details> <summary>View changed files</summary> 📝 `migrations/1757476800_upgrade_v0.4.0.go` (+7 -3) 📝 `migrations/1757476801_initialize_v0.4.0.go` (+5 -1) 📝 `migrations/1760486400_upgrade_v0.4.1.go` (+5 -1) 📝 `migrations/1762142400_upgrade_v0.4.3.go` (+5 -1) 📝 `migrations/1762516800_upgrade_v0.4.4.go` (+5 -1) 📝 `migrations/1763373600_upgrade_v0.4.5.go` (+5 -1) 📝 `migrations/1763640000_upgrade_v0.4.6.go` (+5 -1) 📝 `migrations/1766592000_upgrade_v0.4.11.go` (+1 -0) </details> ### 📄 Description 该 PR 包含以下内容变更: fix: 关闭 https://github.com/certimate-go/certimate/issues/1137 大致原因为在匹配以下划线开头的 nodeid时,使用了错误的方法。下划线在sqlite中为特殊字符,需要转义。该错误用法会导致触发该migration时,workflow_output和workflow_log中的nodeid每次都会被去除前三个字符。 --- <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:58 +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#1160
No description provided.