Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
6719 commits
Select commit Hold shift + click to select a range
a2c9f7c
refactor: enhance CASE block matching logic in MySQL splitter to hand…
iwanghc Jul 23, 2025
9081bd9
test: add unit tests for CASE statement handling in BEGIN...END block…
iwanghc Jul 23, 2025
c5f27f8
Merge pull request #3089 from actiontech/sql-insight-ce
iwanghc Jul 23, 2025
c48fb22
feat(api): instance tips api add environment tag information
BugsGuru Jul 23, 2025
8c9fc19
Merge pull request #3093 from actiontech/fix_mysql_procedure_audit
Jarvis1105 Jul 23, 2025
3c8964c
feat(model): add sql_fingerprint field to ExecuteSQL struct
BugsGuru Jul 23, 2025
461400a
Merge pull request #3094 from actiontech/instance-tips-with-env
iwanghc Jul 23, 2025
97306dd
Fix https://github.com/actiontech/sqle-ee/issues/2464:
waterdrink Jul 24, 2025
6ddddce
Merge pull request #3096 from actiontech/sqle_rewriting_fix_oracle_hang
Seechi-Yolo Jul 24, 2025
0901825
fix: use buffer channel to resolve missing email notifications
LordofAvernus Jul 25, 2025
3f8a09c
Merge pull request #3099 from actiontech/fix-3097
BugsGuru Jul 25, 2025
a43875c
feat(instance): expose GetInstances function for external packages
BugsGuru Jul 23, 2025
916a20d
feat(model): add function to check if audit plan is enabled on instance
BugsGuru Jul 24, 2025
f9ccdd1
feat(model): add SQLManageRawSQL struct and related methods
BugsGuru Jul 25, 2025
dbb909d
feat(server): add SQL management raw SQL expiration cleaning function
BugsGuru Jul 25, 2025
5a8fe72
feat(auditplan): save MySQL processlist raw SQL data
BugsGuru Jul 25, 2025
caabf7e
Merge pull request #3095 from actiontech/sql-insight-ce
iwanghc Jul 28, 2025
6f6121f
feat(locale): update and add metric names and audit-related translations
BugsGuru Jul 28, 2025
dfb0eca
feat(auditplan): add metrics and type for SQL insight
BugsGuru Jul 28, 2025
6c2f9f6
feat(server): add job to clean expired SQL insight records
BugsGuru Jul 28, 2025
3b93d6c
refactor(sqle): update MySQL process list task to use param persist
BugsGuru Jul 28, 2025
7a66599
feat(audit-plan-meta): AuditPlanMetaV1 add tips
BugsGuru Jul 28, 2025
2b941c8
feat(swagger): add audit plan type tips to API documentation
BugsGuru Jul 28, 2025
61d28f7
Merge pull request #3100 from actiontech/sql-insight-ce
iwanghc Jul 29, 2025
e7cdf5e
feat(instance): instance tips api add SQL insight functionality
BugsGuru Jul 31, 2025
248d6fd
feat(docs): instance tips api add view_sql_insight to functional modu…
BugsGuru Jul 31, 2025
b55213e
docs(locale): update performance collect feature description
BugsGuru Jul 30, 2025
9892e51
fix(insight): filter out deleted audit plans
BugsGuru Jul 31, 2025
53610e2
feat(api): add project_name parameter to GetSqlPerformanceInsightsReq
BugsGuru Jul 31, 2025
1dd9fd9
build(deps): update go mod vendor
BugsGuru Jul 31, 2025
d3e34bf
feat(insight): add function to check SQL insight view permission
BugsGuru Jul 31, 2025
e0488f0
Merge pull request #3101 from actiontech/sql-insight-ce
Seechi-Yolo Jul 31, 2025
209dd14
feat(rule): expand timestamp default value check to include datetime
BugsGuru Jul 31, 2025
3660239
Merge pull request #3102 from actiontech/fix-rule-desc
Jarvis1105 Aug 1, 2025
48b2c68
build: improve tag retrieval and sorting in Makefile
BugsGuru Aug 1, 2025
5c4b93f
Merge pull request #3104 from actiontech/fix-build-git-tag
LordofAvernus Aug 1, 2025
8de59ce
build: remove leading and trailing spaces from PROJECT_VERSION
BugsGuru Aug 4, 2025
608207d
Merge pull request #3105 from actiontech/fix-building-project-version
LordofAvernus Aug 4, 2025
f277ae4
fix: rule checkIndexesExistBeforeCreatConstraints
Jarvis1105 Aug 7, 2025
4f2ba85
fix: ut TestCheckIndexesExistBeforeCreatConstraints
Jarvis1105 Aug 7, 2025
393826e
fix: compatibly for oceanbase mysql
Jarvis1105 Aug 7, 2025
fc48dd6
Merge pull request #3107 from actiontech/fix_ob_ddl_parse
LordofAvernus Aug 7, 2025
a5be2c8
Merge pull request #3106 from actiontech/fix_rule_chk_idx
iwanghc Aug 7, 2025
56bf735
fix: enable the subquery function to recognize subqueries in the FROM…
huajianxiaowanzi Aug 12, 2025
c395b85
fix: relevant unit tests
huajianxiaowanzi Aug 12, 2025
9209f4d
feat(optimize): add SQL Flash optimization data structures
BugsGuru Aug 19, 2025
16126de
feat(server): update module_status SQL optimization check logic
BugsGuru Aug 19, 2025
0f74c5e
refactor(optimize): instance tips api optimize support all dbType
BugsGuru Aug 19, 2025
dae780f
fix: notify all users with permission when workflow success or failed
Jarvis1105 Aug 19, 2025
616fd6e
fix: code opt
Jarvis1105 Aug 20, 2025
43f6f95
fix: code opt
Jarvis1105 Aug 20, 2025
c320026
fix: code opt
Jarvis1105 Aug 20, 2025
5b2f7f9
Merge pull request #3112 from actiontech/fix_data_export_notify
BugsGuru Aug 20, 2025
032572b
feat: upgrade vendor:dms
Jarvis1105 Aug 20, 2025
87ec4cd
fix: upgrade dms version
Jarvis1105 Aug 20, 2025
2e72406
fix: upgrade vendor dms
Jarvis1105 Aug 20, 2025
3253cc4
fix: remove http api system variable
Jarvis1105 Aug 20, 2025
ce88928
fix: remove model:system variable
Jarvis1105 Aug 20, 2025
b6f3bdb
fix: add docs
Jarvis1105 Aug 20, 2025
8ba09f6
fix: change get system variable from db to dms api
Jarvis1105 Aug 20, 2025
594f548
fix: upgrade vendor: dms
Jarvis1105 Aug 21, 2025
42dbdd5
Merge pull request #3113 from actiontech/feat_sys_var
Seechi-Yolo Aug 21, 2025
d33f9e4
Merge pull request #3111 from actiontech/sql-flash-ce
iwanghc Aug 21, 2025
c60f84c
fix: get sqle url
Jarvis1105 Aug 21, 2025
28158af
fix: code opt
Jarvis1105 Aug 21, 2025
e95c605
Merge pull request #3115 from actiontech/fix_url_err
iwanghc Aug 21, 2025
685fa22
refactor(api): rename getSQLFromFileResp to GetSQLFromFileResp for v2…
BugsGuru Aug 19, 2025
56cd7ba
feat(api): add SQL optimization functionality ce
BugsGuru Aug 22, 2025
58b5d07
refactor(optimize): comment out optimization rule initialization
BugsGuru Aug 19, 2025
35667dc
Merge pull request #3118 from actiontech/sql-flash-ce
Jarvis1105 Aug 22, 2025
e5e3a6c
refactor(optimization): remove PAWSQL rewrite rules and knowledge fil…
BugsGuru Aug 25, 2025
7792fb9
feat(optimization): update swag doc
BugsGuru Aug 25, 2025
07b95e2
Merge pull request #3119 from actiontech/sql-flash-ce
Jarvis1105 Aug 26, 2025
4accdda
feat: add affected row for analysis api
Jarvis1105 Aug 28, 2025
b0a3ced
fix: update swagger
Jarvis1105 Aug 28, 2025
a9bb04f
feat(optimization): add db_type field and update its validation rule
BugsGuru Aug 28, 2025
4fa3f38
feat(optimization): update swag doc
BugsGuru Aug 28, 2025
201fa10
fix: add affectRowsEnabled param for audit plan analysis api
Jarvis1105 Aug 28, 2025
85727cc
update swagger
Jarvis1105 Aug 28, 2025
894f228
Merge pull request #3121 from actiontech/sql-flash-ce
iwanghc Aug 28, 2025
a875835
fix: code opt
Jarvis1105 Aug 29, 2025
6b4dbcf
Merge pull request #3120 from actiontech/feat_affected_rows
Seechi-Yolo Aug 29, 2025
589ef7d
fix: no ssh key error
Jarvis1105 Sep 1, 2025
a360e4f
fix: get system variables error code
Jarvis1105 Sep 2, 2025
a8b7d52
Merge pull request #3124 from actiontech/fix_no_ssh_key
LordofAvernus Sep 2, 2025
9dc39ac
Merge pull request #3109 from huajianxiaowanzi/liulonghui
Seechi-Yolo Sep 4, 2025
48626dd
chore: add new metrics for lock wait, memory, disk usage, and full ta…
iwanghc Sep 5, 2025
d74948b
chore: update localization files with new metrics for MySQL, TiDB, an…
iwanghc Sep 5, 2025
85bf6c4
Merge pull request #3129 from actiontech/add_audit_plan_collect_metrics
Seechi-Yolo Sep 5, 2025
185f463
feat: 增加插件停止时的日志记录功能,便于调试和监控插件状态
Sep 17, 2025
6a35dfb
Merge pull request #3137 from actiontech/fix/2541main
Jarvis1105 Sep 17, 2025
2c1df27
refactor(mysql/analysis): Simplify table extraction logic using table…
BugsGuru Sep 18, 2025
a317f87
Merge pull request #3139 from actiontech/fix-mysql-analysis
Seechi-Yolo Sep 18, 2025
4057376
feat(driver): add ExecErr to TxResponse for transaction error handling
BugsGuru Sep 17, 2025
aae2b40
refactor(driver): update MysqlDriverImpl.Tx
BugsGuru Sep 17, 2025
551b803
refactor(driver): update PluginImplV2.Tx
BugsGuru Sep 17, 2025
6c8d255
refactor(driver): update PluginImplV1.Tx
BugsGuru Sep 17, 2025
54a51a4
refactor(driver): update DriverImpl.Tx
BugsGuru Sep 17, 2025
e7ee829
refactor(test): update mockDriver.Tx
BugsGuru Sep 17, 2025
be66f96
fix(server): improve error handling for transaction execution
BugsGuru Sep 18, 2025
15935c3
Merge pull request #3141 from actiontech/fix-tx-exec-err
LordofAvernus Sep 22, 2025
a7d9e1f
fix(workflow): remove unnecessary workflow template check
BugsGuru Sep 24, 2025
0000bca
Merge pull request #3144 from actiontech/fix-update-workflow
Jarvis1105 Sep 24, 2025
4643c91
fix: return CurrentStepAssigneeUser by username
Jarvis1105 Sep 29, 2025
29fa33b
Merge pull request #3147 from actiontech/fix_workflow_name
BugsGuru Sep 29, 2025
e992303
feat(workflow): add re-execute task endpoint for workflows
iwanghc Oct 16, 2025
11167a7
gen swagger: re-execute task sqls interfase definition
iwanghc Oct 16, 2025
0862561
Merge pull request #3148 from actiontech/task_re-execute
BugsGuru Oct 16, 2025
3fc60d7
fix: fix incorrect interface path
iwanghc Oct 17, 2025
cacab6c
Merge pull request #3149 from actiontech/task_re-execute
BugsGuru Oct 17, 2025
fa0f3e8
go mod vendor
LordofAvernus Oct 17, 2025
b018b05
Merge pull request #3151 from actiontech/fix-3150-ce
BugsGuru Oct 17, 2025
3a36c07
feat(workflow): implement task re-execution logic and validation checks
iwanghc Oct 17, 2025
218a70f
feat(storage): add methods for retrieving task details and executing …
iwanghc Oct 17, 2025
6bb58c8
feat(task): enhance addTask method to accept execSqlIds and add new A…
iwanghc Oct 17, 2025
59b3e3c
test: add mock expectation for execute_sql_detail query in action exe…
iwanghc Oct 20, 2025
9d851f8
fix: handle error from GetExecSqlsByTaskIdAndStatus in action execution
iwanghc Oct 20, 2025
ccafa3e
remove: Re-execution does not require im notification and unused chan
iwanghc Oct 20, 2025
eaf461b
Merge pull request #3152 from actiontech/task_re-execute
LordofAvernus Oct 22, 2025
c0b4b5b
fix(rule): fix charset consistency check for table and columns
BugsGuru Oct 21, 2025
f0d82e5
fix(test): update rule_00075 test cases for charset validation
BugsGuru Oct 21, 2025
493176f
Merge pull request #3153 from actiontech/fix-rule-char-set
iwanghc Oct 22, 2025
740d1a9
feat(ai): Enhance type compatibility checks in RuleSQLE00112
Oct 22, 2025
1e7b1ae
test(mysql): Add comprehensive type compatibility test cases for Rule…
Oct 22, 2025
e52a58b
fix(ai): handle nil ValueExpr in getValueFromExpr function
Oct 23, 2025
5acab00
swagger: add api definition for retrieving global data export workflo…
iwanghc Oct 23, 2025
689a13c
Merge pull request #3156 from actiontech/global_data_export_sqle_ce
Seechi-Yolo Oct 23, 2025
acd59f5
chore(workflow): update status enum values in workflow definitions to…
iwanghc Oct 24, 2025
c5dbbab
Merge pull request #3157 from actiontech/global_data_export_sqle_ce
Seechi-Yolo Oct 24, 2025
7cd5196
Merge pull request #3155 from actiontech/fix/3049
iwanghc Oct 24, 2025
69517fc
chore(deps): update actiontech/dms dependency
iwanghc Oct 27, 2025
c6394d5
Merge pull request #3158 from actiontech/global_data_export_sqle_ce
Seechi-Yolo Oct 27, 2025
14b9bea
feat(notification): update notification formatting
BugsGuru Oct 27, 2025
df0c3ad
fix: mismatching between pipeline permissions and actual obtained values
Oct 27, 2025
f793554
Merge pull request #3161 from actiontech/fix/3140
BugsGuru Oct 28, 2025
024b9f1
fix(configuration): update Git authentication method and add support …
LordofAvernus Oct 29, 2025
98b46cd
fix(configuration): enable InsecureSkipTLS for Git operations to supp…
LordofAvernus Oct 29, 2025
f6f4334
Merge pull request #3160 from actiontech/update-notification
LordofAvernus Oct 31, 2025
1135b03
Merge pull request #3163 from actiontech/fix-3162
Seechi-Yolo Oct 31, 2025
9a56443
feat(sql_flash): enhance index advice structure and add rewrite task …
iwanghc Nov 6, 2025
745a58f
gen swagger
iwanghc Nov 6, 2025
b2f1d13
Merge pull request #3164 from actiontech/sqlfash_api_update_ce
BugsGuru Nov 7, 2025
ad40ff7
chore: add empty ce SyncOptimizeResult function and invoke it in Run
iwanghc Nov 7, 2025
4711609
chore: add enable_high_analysis field to OptimizationSQLDetail and up…
iwanghc Nov 7, 2025
b5165ad
Merge pull request #3167 from actiontech/sqlfash_api_update_ce
BugsGuru Nov 10, 2025
1db78b3
chore: add EnableHighAnalysis field to OptimizeSQLReq
iwanghc Nov 10, 2025
70ab733
gen swagger
iwanghc Nov 10, 2025
e84b1e1
Merge pull request #3168 from actiontech/sqlfash_api_update_ce
BugsGuru Nov 10, 2025
6a8e9ae
feat: add GetSelectivityOfSQLColumns method to Plugin and Driver inte…
iwanghc Nov 10, 2025
67bc39c
feat: implement GetSelectivityOfSQLColumnsRequest and response types …
iwanghc Nov 10, 2025
eab9363
feat: implement GetSelectivityOfSQLColumns method in PluginImplV1 and…
iwanghc Nov 10, 2025
ebec200
feat: add ExtractColumnsFromSelectStmt function to improve SQL column…
iwanghc Nov 10, 2025
c394ae3
Merge pull request #3169 from actiontech/sqlfash_api_update_ce
BugsGuru Nov 10, 2025
994cf7a
feat: add enable_high_analysis parameter to optimization API and upda…
iwanghc Nov 11, 2025
86b3b58
chore: add SelectivityMap field to CreateAdviseIndexTaskReq for enhan…
iwanghc Nov 11, 2025
8fe078c
Merge pull request #3170 from actiontech/sqlfash_api_update_ce
LordofAvernus Nov 11, 2025
33b0d6e
refactor: remove unused RewriteResult and GetRewriteResultResp types …
iwanghc Nov 14, 2025
b371e3e
Merge pull request #3172 from actiontech/sqlfash_api_update_ce
Jarvis1105 Nov 17, 2025
4b95ac8
feat(pprof): add pprof support for profiling and diagnostics
LordofAvernus Nov 25, 2025
246ce91
Merge pull request #3178 from actiontech/support_pprof
Seechi-Yolo Nov 26, 2025
89de1cc
fix: correct variable assignment in ExecSQLs function for error handling
BugsGuru Nov 18, 2025
dc4c6d7
feat: add SQLType field to AuditSQLResV2 and update task conversion f…
BugsGuru Nov 20, 2025
b561e58
feat: add AutoCreateAndExecuteWorkflowV1 endpoint for automated workf…
BugsGuru Nov 25, 2025
9c72a6c
feat: update swagger
BugsGuru Nov 27, 2025
96c8151
Merge pull request #3173 from actiontech/feat-add-sql-type
LordofAvernus Nov 28, 2025
71ba63a
feat: enhance DirectAuditByInstance function to include rule template…
BugsGuru Dec 4, 2025
0c75638
feat: add instance name and schema name fields to DirectAudit request…
BugsGuru Dec 4, 2025
4f9ef59
feat: update swagger
BugsGuru Dec 4, 2025
b7b3aef
Merge pull request #3181 from actiontech/direct-audit-support-online
LordofAvernus Dec 5, 2025
054e02b
feat(workflow): add filter for current step assignee user ID in workf…
LordofAvernus Dec 2, 2025
7ca2f6b
feat(docs): update API documentation to include filter_current_step_a…
LordofAvernus Dec 2, 2025
46c2185
feat(docs): enhance API documentation with filter_current_step_assign…
LordofAvernus Dec 5, 2025
70de8e7
Merge pull request #3182 from actiontech/feat-3171
Seechi-Yolo Dec 5, 2025
ef7db03
fix(backup): implement conversion for backup strategy in RecommendBac…
BugsGuru Dec 11, 2025
d576663
Merge pull request #3188 from actiontech/fix-backup-ce
Jarvis1105 Dec 15, 2025
9c30c07
feat(notification): add workflow cancellation and completion notifica…
BugsGuru Dec 25, 2025
154067a
Merge pull request #3191 from actiontech/feat-add-workflow-notification
Jarvis1105 Dec 25, 2025
da8001d
feat(audit): sort SQL files by filename in getSqlsFromZip function
BugsGuru Dec 31, 2025
781e3f0
Merge pull request #3194 from actiontech/feat-audit-zip-sort-by-filename
LordofAvernus Dec 31, 2025
2db05ab
feat(utils): add natural comparison function for string sorting
BugsGuru Jan 4, 2026
8d098d7
feat(audit): implement natural sorting for SQL file paths in getSqlsF…
BugsGuru Jan 4, 2026
105ed13
Merge pull request #3196 from actiontech/feat-audit-zip-sort-by-filename
LordofAvernus Jan 4, 2026
f9771ef
feat: add metrics for obmysql full collect
Jarvis1105 Jan 5, 2026
91a6dae
fix: update ApMetricClientIP to ApMetricUserClientIP
Jarvis1105 Jan 5, 2026
a9e477d
fix: change MetricNameUserClientIp to MetricNameUserClientIP
Jarvis1105 Jan 5, 2026
7572b94
Merge pull request #3197 from actiontech/feat_new_ob_task
BugsGuru Jan 5, 2026
4239704
feat: add go mod excelize
Jarvis1105 Jan 6, 2026
67033e2
swagger change
Jarvis1105 Jan 6, 2026
514bb84
api change
Jarvis1105 Jan 6, 2026
7dfe428
feat: excel support for AuditPlanSQLExport
Jarvis1105 Jan 6, 2026
f5ffad4
fix: ExportDataAsExcel ExportDataAsCSV
Jarvis1105 Jan 6, 2026
68cdef1
fix: add function NormalizeExportFormat
Jarvis1105 Jan 7, 2026
d1cd580
fix: code opt
Jarvis1105 Jan 7, 2026
308aaea
Merge pull request #3199 from actiontech/feat_excel_support
LordofAvernus Jan 7, 2026
0a2f478
feat(locale): 添加总执行时间(微秒)的本地化支持
Jarvis1105 Jan 7, 2026
c4fa98b
Merge pull request #3200 from actiontech/fix_unit
LordofAvernus Jan 7, 2026
d569796
feat(workflow): refactor workflow execution and notification for auto…
BugsGuru Jan 9, 2026
8e3226d
feat(workflow): enhance documentation and logic for auto-created work…
BugsGuru Jan 9, 2026
ab3f06d
Merge pull request #3201 from actiontech/fix-auto-exec-webhook
Jarvis1105 Jan 9, 2026
af9d3d6
feat(session): add support for views in schema context and implement …
BugsGuru Jan 22, 2026
9a47731
refactor(mysql): update table existence checks to include views
BugsGuru Jan 22, 2026
509d919
test(mysql): add mock expectations for view queries in unit tests
BugsGuru Jan 22, 2026
e1e2293
Merge pull request #3204 from actiontech/fix-views-not-exist
iwanghc Jan 22, 2026
772c4d8
feat(permission): optimize user permission retrieval and add filterin…
BugsGuru Jan 28, 2026
bd3bb73
Merge pull request #3207 from actiontech/feat-workflow-operator
iwanghc Jan 29, 2026
0088b07
refactor(knowledge_base): remove FULLTEXT index from content field
LordofAvernus Feb 6, 2026
40c536c
Merge pull request #3209 from actiontech/fix-2640
Seechi-Yolo Feb 6, 2026
51e3366
api: define four HTTP API interfaces that support AIHub
Seechi-Yolo Feb 24, 2026
a01dc91
swagger: make swagger
Seechi-Yolo Feb 24, 2026
773d2ae
feat(workflow): add hooks for post-creation workflow and audit statis…
Seechi-Yolo Feb 24, 2026
7f49e54
refactor(aihub): introduce BannerCard structure and update module def…
Seechi-Yolo Feb 25, 2026
e6d5871
docs: make swagger
Seechi-Yolo Feb 25, 2026
4796194
fix(task): too many place holder when saving a large batch of execute…
Seechi-Yolo Feb 26, 2026
6a801ef
fix(audit_plan): too many placeholder when create a large batch of sqls
Seechi-Yolo Feb 26, 2026
e7ab537
Merge pull request #3211 from actiontech/commit/fix3024
LordofAvernus Feb 26, 2026
10417ef
refactor(operation_record): remove CleanExpiredOperationLog and relat…
BugsGuru Feb 26, 2026
f6e4fcb
refactor(operation_record): remove operation record endpoints and rel…
BugsGuru Feb 26, 2026
f7f0523
refactor(operation_record): update swagger API documentation
BugsGuru Feb 26, 2026
020e931
Merge pull request #3210 from actiontech/commit/fix2169
iwanghc Feb 26, 2026
60db395
Merge pull request #3212 from actiontech/refact-op-log-ce
Seechi-Yolo Feb 26, 2026
17a0020
fix(workflow): update file change prevention pattern to exclude _ee.m…
Seechi-Yolo Mar 2, 2026
807e7f0
feat(locale): update English and Chinese locale files with new metric…
BugsGuru Mar 3, 2026
a162def
Merge pull request #3213 from actiontech/commit/aihub-phase1
LordofAvernus Mar 5, 2026
07ef3bc
Merge pull request #3214 from actiontech/feat-operation-log-ce
LordofAvernus Mar 5, 2026
cde1e48
feat(rule): add rule to check for uncommitted transactions before DDL…
BugsGuru Mar 6, 2026
72a2700
feat(optimization): add feedback endpoints for SQL optimization recor…
iwanghc Mar 10, 2026
621b3e9
gen swagger: add feedback api for sql optimization
iwanghc Mar 10, 2026
739971d
Merge pull request #3216 from actiontech/sql_opt_feedback_ce
LordofAvernus Mar 11, 2026
46ab084
Merge pull request #3215 from actiontech/feat-rule-check-transactions
iwanghc Mar 11, 2026
bf9ee5f
Update admin password in README
Gygkimo95 Mar 13, 2026
20db407
Merge pull request #3219 from Gygkimo95/patch-1
LordofAvernus Mar 16, 2026
b7227d7
feat(git): add newCloneOptions function and corresponding tests for G…
LordofAvernus Mar 24, 2026
8264886
Merge pull request #3221 from actiontech/fix-3220
Seechi-Yolo Mar 24, 2026
8d5b9ea
refactor(api): remove middleware from AI Hub banner endpoint
Seechi-Yolo Mar 24, 2026
b12c3df
Merge pull request #3222 from actiontech/fix/aihubbanner
BugsGuru Mar 24, 2026
ae9f613
fix(optimization): expand optimization status fields in GetOptimizati…
iwanghc Mar 25, 2026
5966454
fix(swagger docs): add optimize_status field and expand status option…
iwanghc Mar 25, 2026
67b81dd
Merge pull request #3223 from actiontech/fix_swagger_enum
LordofAvernus Mar 25, 2026
e11abf9
ce feat(sql_lineage): implement SQL lineage analysis for MySQL, inclu…
Seechi-Yolo Mar 30, 2026
c84c4f3
Merge pull request #3225 from actiontech/commit/data-masking
LordofAvernus Apr 2, 2026
ca65541
Enhance DDL tests for full-width quotation marks handling in MySQL. A…
Seechi-Yolo Apr 3, 2026
91b9ec0
Refactor full-width quotation mark check in DDLNode handling to itera…
Seechi-Yolo Apr 3, 2026
0b886c1
Implement DDL tests for column charset consistency in MySQL. Added te…
Seechi-Yolo Apr 3, 2026
4bf8442
Refine charset handling in ALTER TABLE statements by skipping binary …
Seechi-Yolo Apr 3, 2026
5e219dc
Merge pull request #3231 from actiontech/fix-rule/quotation
BugsGuru Apr 3, 2026
50fa4d2
Merge pull request #3232 from actiontech/fix-rule/charset-same
BugsGuru Apr 3, 2026
4154dc1
feat: add workflowType branching to validWorkflowTemplateReq for data…
LordofAvernus Apr 8, 2026
8e1b784
feat: add workflow template list API and support workflow_type param …
LordofAvernus Apr 8, 2026
a2f520f
feat: support workflow_type in update template API and create data_ex…
LordofAvernus Apr 8, 2026
ad52648
fix: CE getWorkflowTemplate now supports workflow_type query parameter
LordofAvernus Apr 2, 2026
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
The diff you're trying to view is too large. We only load the first 3000 changed files.
35 changes: 35 additions & 0 deletions .github/ISSUE_TEMPLATE/bug-report.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
---
name: Bug report
about: Create a report to help us improve
title: ''
labels: bug
assignees: LordofAvernus

---

<!-- 创建issue请填写 -->

## 版本信息(Version)

## 问题描述(Describe)

## 截图或日志(Log)

## 如何复现(To Reproduce)

<!-- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -->
<!-- 以下内容为issue处理人填写,创建工单时请不要不要删除 -->
## 问题原因

## 解决方案

## 变更影响面
<!-- 必须包含但不限于从以下方面进行影响面评估(更详细信息参考研发内部开发规范) -->
#### 受影响的模块或功能
<!-- 必须指明对用户使用流程和后台工作流的影响 -->
#### 外部引用的潜在问题或风险
<!-- 包括替换第三方包、引入新包的影响 -->
#### 版本兼容性
<!-- 破坏性变更的说明和处理措施 -->
#### 测试建议
<!-- 如果有特定的测试方法或策略可用于验证变更的影响,建议提供相应的测试建议 -->
29 changes: 29 additions & 0 deletions .github/ISSUE_TEMPLATE/new-feature-.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
---
name: 'New feature '
about: Suggest an feature for this project
title: ''
labels: ''
assignees: LordofAvernus

---

<!-- 创建issue请填写 -->

## 需求描述(Describe)


<!-- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -->
<!-- 以下内容为issue处理人填写,创建工单时请不要不要删除 -->

## 实现方案

## 变更影响面
<!-- 必须包含但不限于从以下方面进行影响面评估(更详细信息参考研发内部开发规范) -->
#### 受影响的模块或功能
<!-- 必须指明对用户使用流程和后台工作流的影响 -->
#### 外部引用的潜在问题或风险
<!-- 包括替换第三方包、引入新包的影响 -->
#### 版本兼容性
<!-- 破坏性变更的说明和处理措施 -->
#### 测试建议
<!-- 如果有特定的测试方法或策略可用于验证变更的影响,建议提供相应的测试建议 -->
15 changes: 15 additions & 0 deletions .github/pull_request_template.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
## 关联的 issue

## 描述你的变更

## 确认项(pr提交后操作)
> [!TIP]
> 请在指定**复审人**之前,确认并完成以下事项,完成后✅
----------------------------------------------------------------------
- [ ] 我已完成自测
- [ ] 我已记录完整日志方便进行诊断
- [ ] 我已在关联的issue里补充了实现方案
- [ ] 我已在关联的issue里补充了测试影响面
- [ ] 我已确认了变更的兼容性,如果不兼容则在issue里标记 `not_compatible`
- [ ] 我已确认了是否要更新文档,如果要更新则在issue里标记 `need_update_doc`
----------------------------------------------------------------------
36 changes: 36 additions & 0 deletions .github/workflows/check-pr-files.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,36 @@
name: prevent-file-change
on:
pull_request:
branches:
- '*-ee'
jobs:
prevent-file-change:
if: github.head_ref != 'main' && !startsWith(github.head_ref, 'release')
runs-on: ubuntu-latest
steps:
- uses: xalvarez/prevent-file-change-action@68e23e206c9680e3a4f13d3b10b9d7f506c90d2b
name: Prevent file change
with:
githubToken: ${{ secrets.GITHUB_TOKEN }}
pattern: ^(?!.*_ee\/.*$)(?!.*_ee\.go$)(?!.*_ee\.md$)(?!.*_ee_test\.go$)(?!.*_rel\.go$)(?!.*_rel_test\.go$)(?!go\.mod$)(?!go\.sum$)(?!\.github\/workflows\/check-pr-files\.yml$)(?!vendor\/.*)(?!.*_qa\.go$)(?!.*\.xml$).*
trustedAuthors: xalvarez

# 禁止actions自动提交commit
check-commits:
runs-on: ubuntu-latest
steps:
- name: Check out the code
uses: actions/checkout@v2
with:
fetch-depth: 0 # 检出完整历史

- name: Check commit authors
run: |
# 获取所有提交的作者
authors=$(git log --pretty=format:"%an" origin/main..HEAD)

# 检查是否包含不允许的用户
if echo "$authors" | grep -q "actions-user"; then
echo "Error: actions-user has made a commit in this PR."
exit 1
fi
49 changes: 49 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,49 @@
name: CI (no build)

on:
pull_request:
branches:
- 'main*'
- 'release*'

jobs:
lint:
name: lint
runs-on: ubuntu-latest
steps:
- name: Set up repository
uses: actions/checkout@v2

- name: Set up Go
uses: actions/setup-go@v2
with:
# Should be consistent with go.mod
go-version: '1.19.6'

- name: Lint
uses: golangci/golangci-lint-action@v2
with:
# Optional: version of golangci-lint to use in form of v1.2 or v1.2.3 or `latest` to use the latest version
version: v1.45.2

# If set to true then the action will use pre-installed Go
skip-go-installation: true

# Optional: golangci-lint command line arguments.
# The config file has lower priority than command-line options.
args: --config=.golangci.yml

test:
name: test
runs-on: ubuntu-latest
steps:
- name: Set up repository
uses: actions/checkout@v2

- name: Set up Go
uses: actions/setup-go@v2
with:
# Should be consistent with go.mod
go-version: '1.19.6'
- name: Unit test
run: make test
28 changes: 28 additions & 0 deletions .github/workflows/pr-agent.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
on:
pull_request:
types: [opened, reopened, ready_for_review, synchronize]
jobs:
pr_agent_job:
if: ${{ github.event.sender.type != 'Bot' && github.actor != 'actiontech-bot' }}
runs-on: ubuntu-latest
permissions:
issues: write
pull-requests: write
contents: write
name: Run pr agent on every pull request, respond to user comments
steps:
- name: PR Agent action step
id: pragent
uses: qodo-ai/pr-agent@main
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
github_action_config.pr_actions: '["opened", "reopened", "ready_for_review", "review_requested", "synchronize"]'
OPENAI_API_VERSION: ${{ vars.AZURE_API_VERSION }}
github_action_config.auto_review: "true"
github_action_config.auto_describe: "true"
github_action_config.auto_improve: "true"
OPENAI_KEY: ${{ secrets.OPENAI_KEY }}
OPENAI.API_TYPE: "azure"
OPENAI.API_BASE: ${{ secrets.OPENAI_API_BASE }}
AZURE_API_VERSION: ${{ vars.AZURE_API_VERSION }}
OPENAI.DEPLOYMENT_ID: ${{ secrets.DEPLOYMENT_ID }}
25 changes: 25 additions & 0 deletions .github/workflows/pr-ce-release-2-main.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
on:
pull_request:
branches:
- release*
types: ["closed"]

jobs:
cherry_pick_release_2_main:
if: contains(github.event.pull_request.labels.*.name, 'need_cherry_pick')
runs-on: ubuntu-latest
name: Cherry pick into main
steps:
- name: checkout
uses: actions/checkout@v2
with:
fetch-depth: 0
- name: Create PR to main
uses: carloscastrojumo/github-cherry-pick-action@v1.0.1
with:
branch: ${{ github.repository == 'actiontech/sqle-ee' && 'main-ee' || 'main' }}
labels: |
cherry-pick

env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
22 changes: 22 additions & 0 deletions .github/workflows/trigger-ee-workflow.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
name: Trigger sqle-ee Workflow

on:
push:
branches:
- main
- 'release*'

jobs:
trigger-sync-workflow:
# this file will sync to sqle-ee, we only execute job on actiontech/sqle
if: github.repository == 'actiontech/sqle'
name: Create workflow dispatch on sqle-ee
runs-on: ubuntu-latest
steps:
- name: Trigger sqle-ee workflow
uses: benc-uk/workflow-dispatch@v1
with:
token: ${{ secrets.DOWNSTREAM_REPO_SECRET }}
repo: actiontech/sqle-ee
workflow: Sync with SQLE
ref: ${{ github.ref }}-ee
8 changes: 6 additions & 2 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -4,10 +4,14 @@
#build
/docs
*.rpm
*.rpm.md5
*.log
/sqled
/sqled.yml*
/sqled.yml
etc
/swag
bin/
ui/
.vscode/
static/
.vscode/
jdk/
32 changes: 32 additions & 0 deletions .golangci.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
run:
timeout: 5m

linters:
disable-all: true
enable:
- errcheck
- govet
- bodyclose
- durationcheck
- makezero
- nilerr
- rowserrcheck
- sqlclosecheck
- staticcheck
# - forcetypeassert
- prealloc
- deadcode
- gosimple
- unconvert
- errname
#- dupl
- misspell

linters-settings:

issues:
exclude-rules:
- path: _test\.go
linters:
- errcheck
- gosec
65 changes: 65 additions & 0 deletions .pr_agent.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,65 @@
[config]
response_language="zh-CN"
verbosity_level=2

[pr_reviewer] # /review #
# enable/disable features
# general options
extra_instructions = """
- Please describe the issue_content,issue_header field in Chinese.

- In Golang code, using db.Query() and using stmt, err := db.Prepare() followed by stmt.Query() have the same effect. For example, db.Query(\"SELECT * FROM tb1 WHERE a = ? AND b = ?\", aa, bb) also uses parameter passing with ? placeholders. Please do not flag such cases as SQL injection risks.
- During review, if a specific type of code issue is encountered, please do not overlook this issue in subsequent reviews and continue to provide suggestions for all code blocks exhibiting the problem.
"""
final_update_message = true
# review labels
enable_review_labels_security=false
enable_review_labels_effort=false
# specific configurations for incremental review (/review -i)
enable_intro_text=false
enable_help_text=false

[pr_description] # /describe #
publish_labels = false
add_original_user_description = true
generate_ai_title = false
use_bullet_points = true
extra_instructions = "Please describe all the contents of the Description field in Chinese."
enable_pr_type = false

[pr_code_suggestions] # /improve #
extra_instructions = """
- Please describe all the contents of the Suggestions field in Chinese.
- Please describe in Chinese why these code modification suggestions are being provided.
- When a new commit is submitted, please re-review all code changes and update the persistent review.
- When reviewing, if identical issues are found in multiple code blocks, please offer recommendations for each instance.

- In Golang code, using db.Query() and using stmt, err := db.Prepare() followed by stmt.Query() have the same effect. Please do not suggest replacing db.Query() with db.Prepare() in code review suggestions.

These issues require special attention, and should be highlighted in review suggestions along with explanations of their severity:
# Things about panic #
- Nil pointer dereferences.
- Array or slice out-of-bounds access.
- Invalid type assertions.
- Operations on nil or closed channels.
- Division by zero.
- Concurrent map access without proper synchronization.
- Use of uninitialized variables.
- Improper use of defer functions.
- Any other conditions that could trigger a panic.

- Failure to close an opened file leads to a file descriptor leak. This is a crucial issue that the AI should prioritize during code reviews to prevent resource exhaustion.
- Network connection leaks
- Database connection leaks
- Memory leaks
- Other system resource leaks

- Make certain that all the reviewer's questions have received corresponding suggestions.
"""

[github_app]
# settings for "pull_request" event with "synchronize" action - used to detect and handle push triggers for new commits
handle_push_trigger = true

[litellm]
drop_params = true
9 changes: 9 additions & 0 deletions Add-On-LICENSE
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
许可信息申明
这是云树SQL审核软件(简称:CTREE SQLE)的一个开源发行版本,由上海爱可生信息技术股份有限公司的SQLE开发团队为您提供。本软件基于 Mozilla Public License 第2版发布。
上海爱可生信息技术股份有限公司对其发行的作品享有版权,受各国版权法及国际版权公约的保护。
对于上述版权内容,超越合理使用范畴、并未经本公司书面许可的使用行为,我公司均保留追究法律责任的权利。
本“许可信息申明”以中英文双语表述,中英文版本具有同等法律效力。如果中英文版本存在任何不一致,以中文版为准。
Licensing Information
This is an open source SQL audit software, brought to you by the SQLE team at Shanghai Action Information Technology Co., Ltd.(ActionTech). This software is released under Mozilla Public License Version 2.0.
Copyright (c) ActionTech and/or its affiliates.
THIS "Licensing Information" IS WRITTEN IN BOTH CHINESE AND ENGLISH, AND THE CHINESE VERSION AND ENGLISH VERSION SHALL HAVE THE SAME LEGAL EFFECT. IN THE CASE OF DIVERGENCE BETWEEN THE CHINESE AND ENGLISH VERSIONS, THE CHINESE VERSION SHALL PREVAIL.
Loading