Skip to content

feat: 数据导出审批流程模板 - SQLE CE 部分#3234

Open
actiontech-bot wants to merge 6719 commits intomainfrom
sqle/feat-data-export-workflow-template
Open

feat: 数据导出审批流程模板 - SQLE CE 部分#3234
actiontech-bot wants to merge 6719 commits intomainfrom
sqle/feat-data-export-workflow-template

Conversation

@actiontech-bot
Copy link
Copy Markdown
Member

变更说明

扩展 WorkflowTemplate 模型支持数据导出审批流程模板类型:

  • 新增 workflow template list API
  • 支持 workflow_type 查询参数
  • CE 版 getWorkflowTemplate 支持 workflow_type 分支
  • validWorkflowTemplateReq 支持 data_export 类型

关联 PR

  • sqle-ee EE 部分
  • dms CE/EE 部分
  • dms-ui CE 部分

iwanghc and others added 30 commits July 23, 2025 13:46
- Add SqlFingerprint field to ExecuteSQL struct
- Update audit logic to store SQL fingerprint
- Use longtext type for SqlFingerprint to accommodate large values
- Index SqlFingerprint for efficient querying
feat(api): instance tips api add environment tag information
FillingSQLWithParamMarker 添加对非MySQL数据库类型的错误处理,确保遇到其他数据库类型快速返回
FillingSQLWithParamMarker 添加对非MySQL数据库类型的错误处理,确保遇到其他数据库类型快速返回
**What**
- Emails failed to send after workflow finish
fix: use buffer channel to resolve missing email notifications
- Add new type: TypeMySQLPerformanceCollect for MySQL performance data collection
- Introduce new metrics for SQL insight:
  - MetricNameSqlInsightCollectTime - MetricNameSqlInsightThreadsConnected
  - MetricNameSqlInsightQueries
  - MetricNameSqlInsightQPS
- Update ALLMetric map to include new metrics
- Implement CleanExpiredSqlManageInsightRecords function in CleanJob
- Add RemoveExpiredSqlInsightRecord method to Storage
- Integrate new cleaning job into existing cleanup processes
- Use existing GetSqlManageRawSqlExpiredHoursOrDefault method for expiration time
- Add tips for performance collection audit plan
- Update audit plan metadata structure to include tips
- Localize tips message in English and Chinese
- Modify audit plan response to include tips information
- Add new field 'audit_plan_type_tips' to API documentation in docs.go
- Update swagger.json and swagger.yaml to include the new field
- Add new functional module for viewing SQL insight
- Update API endpoints and models to support SQL insight feature
- Extend permission checks to include SQL insight operations
…le list

- Add "view_sql_insight" to the list of functional modules in docs.go, swagger.json, and swagger.yaml
- This change enhances the documentation to include the new SQL insight viewing feature
- Add conditions to filter out deleted audit plans and plan versions in the query
- Improve data accuracy for instance audit plan retrieval
LordofAvernus and others added 28 commits March 5, 2026 14:23
feat(locale): update English and Chinese locale files with new metric…
feat(rule): add rule to check for uncommitted transactions before DDL…
Update admin password in README
feat(git): add newCloneOptions function and corresponding tests for Git clone options
refactor(api): remove middleware from AI Hub banner endpoint
ce feat(sql_lineage): implement SQL lineage analysis for MySQL
…dded test cases to verify correct identification of violations and false positives related to full-width quotation marks in identifiers and comments.
…te over object names. This improves detection of violations related to full-width double quotation marks in identifiers.
…st cases to validate correct handling of character set declarations in table and column definitions, ensuring proper identification of violations and compliance with charset rules.
…types. Updated logic to ensure only relevant character sets are considered for column charset consistency checks.
fix: incorrect triggering of rule : Chinese full-width quotes are not recommended in DDL
fix: incorrect triggering of rule : chartset should be the same in one DDL
…port default template on project creation (CE)
When DMS cross-service calls GET /v1/projects/{name}/workflow_template
with workflow_type=data_export, the CE version now returns the correct
DefaultDataExportWorkflowTemplate instead of the SQL workflow template.
@CLAassistant
Copy link
Copy Markdown

CLAassistant commented Apr 8, 2026

CLA assistant check
All committers have signed the CLA.

@LordofAvernus LordofAvernus force-pushed the sqle/feat-data-export-workflow-template branch from 1ec742d to ad52648 Compare April 9, 2026 08:58
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.

10 participants