[PR #265] [MERGED] Refactor ssh connection #406

Closed
opened 2026-03-03 11:29:48 +03:00 by kerem · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/dflow-sh/dflow/pull/265
Author: @pavanbhaskardev
Created: 6/24/2025
Status: Merged
Merged: 6/24/2025
Merged by: @pavanbhaskardev

Base: mainHead: refactor-ssh-connection


📝 Commits (2)

  • f167310 feat: added common method for dynamicSSH and extracting SSH details
  • e62414f fix: resolved dynamicSSH in checkServerConnection

📊 Changes

42 files changed (+305 additions, -636 deletions)

View changed files

📝 src/actions/dbBackup/index.ts (+7 -27)
📝 src/actions/deployment/deploy.ts (+2 -6)
📝 src/actions/netdata/index.ts (+5 -21)
📝 src/actions/plugin/index.ts (+17 -110)
📝 src/actions/server/index.ts (+25 -45)
📝 src/actions/service/index.ts (+66 -119)
📝 src/actions/terminal/index.ts (+10 -30)
📝 src/lib/ssh.ts (+79 -17)
📝 src/payload/collections/Servers/hooks/populateDokkuVersion.ts (+6 -7)
📝 src/payload/endpoints/logs/index.ts (+2 -11)
📝 src/payload/jobs/checkServersConnections.ts (+3 -8)
📝 src/queues/app/buildpacks-deployment.ts (+2 -7)
📝 src/queues/app/destroy.ts (+3 -8)
📝 src/queues/app/dockerImage-deployment.ts (+2 -7)
📝 src/queues/app/dockerfile-deployment.ts (+2 -7)
📝 src/queues/app/railpack-deployment.ts (+2 -7)
📝 src/queues/app/rebuilt.ts (+2 -7)
📝 src/queues/app/restart.ts (+3 -8)
📝 src/queues/app/start.ts (+2 -7)
📝 src/queues/app/stop.ts (+3 -8)

...and 22 more files

📄 Description

  1. Refactored the ssh connection to DRY code & support for tailscale integration

🔄 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/dflow-sh/dflow/pull/265 **Author:** [@pavanbhaskardev](https://github.com/pavanbhaskardev) **Created:** 6/24/2025 **Status:** ✅ Merged **Merged:** 6/24/2025 **Merged by:** [@pavanbhaskardev](https://github.com/pavanbhaskardev) **Base:** `main` ← **Head:** `refactor-ssh-connection` --- ### 📝 Commits (2) - [`f167310`](https://github.com/dflow-sh/dflow/commit/f167310beda5a7cd680b586c3dfcc6ae813c18a3) feat: added common method for dynamicSSH and extracting SSH details - [`e62414f`](https://github.com/dflow-sh/dflow/commit/e62414f67f2c3d21e409245cf879808dda28078f) fix: resolved dynamicSSH in checkServerConnection ### 📊 Changes **42 files changed** (+305 additions, -636 deletions) <details> <summary>View changed files</summary> 📝 `src/actions/dbBackup/index.ts` (+7 -27) 📝 `src/actions/deployment/deploy.ts` (+2 -6) 📝 `src/actions/netdata/index.ts` (+5 -21) 📝 `src/actions/plugin/index.ts` (+17 -110) 📝 `src/actions/server/index.ts` (+25 -45) 📝 `src/actions/service/index.ts` (+66 -119) 📝 `src/actions/terminal/index.ts` (+10 -30) 📝 `src/lib/ssh.ts` (+79 -17) 📝 `src/payload/collections/Servers/hooks/populateDokkuVersion.ts` (+6 -7) 📝 `src/payload/endpoints/logs/index.ts` (+2 -11) 📝 `src/payload/jobs/checkServersConnections.ts` (+3 -8) 📝 `src/queues/app/buildpacks-deployment.ts` (+2 -7) 📝 `src/queues/app/destroy.ts` (+3 -8) 📝 `src/queues/app/dockerImage-deployment.ts` (+2 -7) 📝 `src/queues/app/dockerfile-deployment.ts` (+2 -7) 📝 `src/queues/app/railpack-deployment.ts` (+2 -7) 📝 `src/queues/app/rebuilt.ts` (+2 -7) 📝 `src/queues/app/restart.ts` (+3 -8) 📝 `src/queues/app/start.ts` (+2 -7) 📝 `src/queues/app/stop.ts` (+3 -8) _...and 22 more files_ </details> ### 📄 Description 1. Refactored the ssh connection to DRY code & support for tailscale integration --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
kerem 2026-03-03 11:29:48 +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/dflow#406
No description provided.