Skip to content

Conversation

@samdark
Copy link
Member

@samdark samdark commented Oct 24, 2025

--prune makes removing unused container that are no longer in the stack.

--detach=false make the command actually get the output from the Docker Swarm about how actual deployment goes and errors if any. Previously it was existing with success as long as compose file was sent.

Q A
Is bugfix?
New feature? ✔️
Breaks BC?
Fixed issues -

@samdark samdark requested review from Copilot and vjik October 24, 2025 14:08
Copy link

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull Request Overview

This PR enhances the production deployment command for Docker Swarm by adding container pruning and synchronous deployment behavior. The changes ensure that obsolete containers are removed during deployment and that the deployment process waits for completion before returning control.

  • Added --prune flag to remove services that are no longer defined
  • Added --detach=false to make the deployment wait for completion
  • Both flags improve deployment reliability and observability

Tip: Customize your code reviews with copilot-instructions.md. Create the file or learn how to get started.

@codecov
Copy link

codecov bot commented Oct 24, 2025

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 76.96%. Comparing base (4a3d353) to head (2b5fee4).

Additional details and impacted files
@@             Coverage Diff              @@
##             master     #415      +/-   ##
============================================
- Coverage     77.22%   76.96%   -0.26%     
  Complexity       29       29              
============================================
  Files            11       11              
  Lines           180      178       -2     
============================================
- Hits            139      137       -2     
  Misses           41       41              

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

Copy link
Member

@vjik vjik left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Add line to changelog

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants