Add options to use service volumes#922
Merged
nightfury1204 merged 1 commit intostagingfrom Oct 9, 2025
Merged
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What is the feature/update/fix?
Feature: Service Volume Support for
convox runCommandWe have added support for attaching service volumes when using the
convox runcommand. This feature introduces a new--use-service-volumeflag that automatically maps all volumes configured for a service to the run pod, ensuring that one-off processes have access to the same persistent storage as their parent service.This resolves an issue where services scaled to zero that were executed with
convox runwould not properly attach to configured volumes, particularly EFS volumes. Now, when you run a one-off command with the--use-service-volumeflag, the pod will inherit all volume configurations from the service definition.Usage Example:
Why is this important?
This feature is particularly valuable for:
Does it have a breaking change?
No breaking changes are introduced with this update.
The feature is opt-in through the
--use-service-volumeflag. Existingconvox runcommands will continue to work as before without volume attachments unless the new flag is explicitly added.Requirements
To use this feature, you must be on at least version
3.22.3for both the CLI and the rack.Update the CLI: Run
convox updateto update your CLI to the latest version. You can verify your CLI version withconvox version.For a minor version update, you must state the version with the command
convox rack update 3.22.3 -r rackName.You must be on at least rack version
3.21.0to perform this update.If you are unfamiliar with v3 rack versioning, we advise checking the documentation Updating a Rack