Remove sync name prefix configuration from arcane-deploy#12
Merged
Conversation
The prefix added no functional value since syncs are already scoped by environment (host) in Arcane. Root compose files now get the name "root" instead of the repo name.
nsheaps
commented
Mar 19, 2026
| # "stacks/myapp/compose.yml" -> "${prefix}-myapp" | ||
| # "compose.yml" (root) -> "${prefix}" | ||
| # "stacks/myapp/compose.yml" -> "myapp" | ||
| # "compose.yml" (root) -> "root" |
Owner
Author
There was a problem hiding this comment.
this will never be possible. Everything will have a name.
What other complications are hiding behind the accordion here? Why isn't this as simple as possible?
nsheaps
commented
Mar 19, 2026
Owner
Author
nsheaps
left a comment
There was a problem hiding this comment.
Simplified — removed the dead root fallback. sync_name_from_path is now a single expression.
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.
Summary
This PR removes the
sync-name-prefixinput parameter and related logic from the arcane-deploy GitHub Action, simplifying how sync names are derived from compose file paths.Key Changes
sync-name-prefixinput parameter fromaction.ymlSYNC_NAME_PREFIXvariable initialization fromaction.shsync_name_from_path()function to generate sync names without prefix logic:"root"instead of the repository name"myapp"instead of"prefix-myapp")INPUT_SYNC_NAME_PREFIXenvironment variable from the action runner configurationImplementation Details
The sync naming is now deterministic and based solely on the file path structure, eliminating the need for external configuration. This reduces complexity and makes sync names more predictable across different repository setups.
https://claude.ai/code/session_01KxSbM7uQL4SrYBjKpGL8yd