Skip to content

feat(application): add scaling and rollout controls#4214

Open
cromulus wants to merge 2 commits into
Dokploy:canaryfrom
cromulus:feat/zero-downtime-apps-ui
Open

feat(application): add scaling and rollout controls#4214
cromulus wants to merge 2 commits into
Dokploy:canaryfrom
cromulus:feat/zero-downtime-apps-ui

Conversation

@cromulus
Copy link
Copy Markdown

@cromulus cromulus commented Apr 13, 2026

Summary

  • add a first-order "Scaling & Rollouts" card to application general settings
  • expose instances and deployment strategy without requiring users to edit raw swarm rollout settings
  • warn when zero-downtime rollouts are configured without a health check or with host-published ports that can still conflict

Notes

  • this is scoped to Dokploy applications only as a first pass
  • saving normalizes custom swarm mode back to simple replicated scaling for this UI path
  • health-check authoring still lives in Advanced -> Cluster Settings; a dedicated first-order health-check UI can follow separately

Validation

  • biome check apps/dokploy/components/dashboard/application/general/show.tsx apps/dokploy/components/dashboard/application/general/show-scaling-and-rollouts.tsx apps/dokploy/components/dashboard/application/general/scaling-and-rollouts.ts apps/dokploy/__test__/application/scaling-and-rollouts.test.ts
  • pnpm --filter=dokploy exec vitest run --config __test__/vitest.config.ts __test__/application/scaling-and-rollouts.test.ts
  • git diff --check origin/canary...HEAD

@cromulus cromulus marked this pull request as ready for review May 10, 2026 16:51
@cromulus cromulus requested a review from Siumauricio as a code owner May 10, 2026 16:51
@dosubot dosubot Bot added size:L This PR changes 100-499 lines, ignoring generated files. enhancement New feature or request pr-open labels May 10, 2026
@cromulus cromulus force-pushed the feat/zero-downtime-apps-ui branch from 496aeb8 to 0d129fc Compare May 19, 2026 15:54
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request pr-open size:L This PR changes 100-499 lines, ignoring generated files.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant