[PR #535] [MERGED] Cover Postgres, PgBouncer, and MySQL in DB integration tests #567

Closed
opened 2026-02-16 01:16:20 -05:00 by yindo · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/langgenius/dify-plugin-daemon/pull/535
Author: @Yeuoly
Created: 12/12/2025
Status: Merged
Merged: 12/12/2025
Merged by: @Yeuoly

Base: feat/support-pg-bouncerHead: codex/refactor-.github-tests-into-directories


📝 Commits (1)

  • 962c6b7 Add MySQL and multi-driver DB integration tests

📊 Changes

10 files changed (+351 additions, -172 deletions)

View changed files

.github/workflows/tests-db-integration.yml (+85 -0)
.github/workflows/tests-plugin-integration.yml (+72 -0)
📝 .github/workflows/tests-unit.yml (+6 -21)
integration/db/db_executor_integration_test.go (+127 -0)
integration/db/db_init_integration_test.go (+61 -0)
📝 integration/plugin/agent_integration_test.go (+0 -0)
📝 integration/plugin/testdata/invoke_agent_strategy_json.json (+0 -0)
📝 integration/plugin/testdata/langgenius-agent_0.0.14.difypkg (+0 -0)
internal/db/executor_test.go (+0 -113)
internal/db/init_test.go (+0 -38)

📄 Description

Summary

  • expand database integration tests to cover PostgreSQL, PgBouncer, and MySQL initialization and transactions
  • add MySQL service to the database integration workflow so MySQL tests run in CI

Testing

  • not run (not requested)

Codex Task


🔄 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/langgenius/dify-plugin-daemon/pull/535 **Author:** [@Yeuoly](https://github.com/Yeuoly) **Created:** 12/12/2025 **Status:** ✅ Merged **Merged:** 12/12/2025 **Merged by:** [@Yeuoly](https://github.com/Yeuoly) **Base:** `feat/support-pg-bouncer` ← **Head:** `codex/refactor-.github-tests-into-directories` --- ### 📝 Commits (1) - [`962c6b7`](https://github.com/langgenius/dify-plugin-daemon/commit/962c6b7b288c0c4258bf5c89333eee9b18359a57) Add MySQL and multi-driver DB integration tests ### 📊 Changes **10 files changed** (+351 additions, -172 deletions) <details> <summary>View changed files</summary> ➕ `.github/workflows/tests-db-integration.yml` (+85 -0) ➕ `.github/workflows/tests-plugin-integration.yml` (+72 -0) 📝 `.github/workflows/tests-unit.yml` (+6 -21) ➕ `integration/db/db_executor_integration_test.go` (+127 -0) ➕ `integration/db/db_init_integration_test.go` (+61 -0) 📝 `integration/plugin/agent_integration_test.go` (+0 -0) 📝 `integration/plugin/testdata/invoke_agent_strategy_json.json` (+0 -0) 📝 `integration/plugin/testdata/langgenius-agent_0.0.14.difypkg` (+0 -0) ➖ `internal/db/executor_test.go` (+0 -113) ➖ `internal/db/init_test.go` (+0 -38) </details> ### 📄 Description ## Summary - expand database integration tests to cover PostgreSQL, PgBouncer, and MySQL initialization and transactions - add MySQL service to the database integration workflow so MySQL tests run in CI ## Testing - not run (not requested) ------ [Codex Task](https://chatgpt.com/codex/tasks/task_b_693bb729bc988326be424403a6ece130) --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
yindo added the pull-request label 2026-02-16 01:16:20 -05:00
yindo closed this issue 2026-02-16 01:16:20 -05:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: langgenius/dify-plugin-daemon#567