[PR #347] [MERGED] feat: implement scaling and resource management features for services #439

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

📋 Pull Request Information

Original PR: https://github.com/dflow-sh/dflow/pull/347
Author: @manikanta9176
Created: 7/15/2025
Status: Merged
Merged: 7/15/2025
Merged by: @manikanta9176

Base: mainHead: feat/service-scaling-support


📝 Commits (1)

  • 1492611 feat: implement scaling and resource management features for services

📊 Changes

12 files changed (+1577 additions, -0 deletions)

View changed files

📝 .vscode/settings.json (+1 -0)
📝 src/actions/service/index.ts (+238 -0)
📝 src/actions/service/validator.ts (+42 -0)
📝 src/app/(frontend)/(dashboard)/[organisation]/dashboard/project/[id]/service/[serviceId]/layout.client.tsx (+2 -0)
📝 src/app/(frontend)/(dashboard)/[organisation]/dashboard/project/[id]/service/[serviceId]/page.tsx (+18 -0)
src/components/service/ScalingTab.tsx (+868 -0)
📝 src/lib/dokku/index.ts (+18 -0)
src/lib/dokku/process/resource.ts (+130 -0)
src/lib/dokku/process/scale.ts (+76 -0)
📝 src/lib/searchParams.tsx (+1 -0)
src/queues/app/resource.ts (+116 -0)
src/queues/app/scale.ts (+67 -0)

📄 Description

  • Added new actions for scaling services and managing resource limits and reservations.
  • Introduced scaleServiceAction, setServiceResourceLimitAction, and setServiceResourceReserveAction to handle scaling and resource configurations.
  • Created a new ScalingTab component for the frontend to manage scaling and resource settings visually.
  • Updated service validation schemas to include scaling and resource management.
  • Enhanced the backend with new queue processing for resource and scaling actions.
  • Updated the dashboard layout to include a new scaling tab for better user experience.

🔄 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/347 **Author:** [@manikanta9176](https://github.com/manikanta9176) **Created:** 7/15/2025 **Status:** ✅ Merged **Merged:** 7/15/2025 **Merged by:** [@manikanta9176](https://github.com/manikanta9176) **Base:** `main` ← **Head:** `feat/service-scaling-support` --- ### 📝 Commits (1) - [`1492611`](https://github.com/dflow-sh/dflow/commit/149261175bf2e8fbb0f2ad1a31d55770f5ed3dbd) feat: implement scaling and resource management features for services ### 📊 Changes **12 files changed** (+1577 additions, -0 deletions) <details> <summary>View changed files</summary> 📝 `.vscode/settings.json` (+1 -0) 📝 `src/actions/service/index.ts` (+238 -0) 📝 `src/actions/service/validator.ts` (+42 -0) 📝 `src/app/(frontend)/(dashboard)/[organisation]/dashboard/project/[id]/service/[serviceId]/layout.client.tsx` (+2 -0) 📝 `src/app/(frontend)/(dashboard)/[organisation]/dashboard/project/[id]/service/[serviceId]/page.tsx` (+18 -0) ➕ `src/components/service/ScalingTab.tsx` (+868 -0) 📝 `src/lib/dokku/index.ts` (+18 -0) ➕ `src/lib/dokku/process/resource.ts` (+130 -0) ➕ `src/lib/dokku/process/scale.ts` (+76 -0) 📝 `src/lib/searchParams.tsx` (+1 -0) ➕ `src/queues/app/resource.ts` (+116 -0) ➕ `src/queues/app/scale.ts` (+67 -0) </details> ### 📄 Description - Added new actions for scaling services and managing resource limits and reservations. - Introduced `scaleServiceAction`, `setServiceResourceLimitAction`, and `setServiceResourceReserveAction` to handle scaling and resource configurations. - Created a new `ScalingTab` component for the frontend to manage scaling and resource settings visually. - Updated service validation schemas to include scaling and resource management. - Enhanced the backend with new queue processing for resource and scaling actions. - Updated the dashboard layout to include a new scaling tab for better user experience. --- <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: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/dflow#439
No description provided.