Skip to content

Conversation

@leighmcculloch
Copy link
Member

@leighmcculloch leighmcculloch commented Jan 12, 2026

What

Copy stellar-rpc.conf unconditionally during supervisor config setup, removing the ENABLE_RPC environment variable check.

Why

The RPC config file should always be copied alongside other optional configs like galexie.conf and friendbot.conf, which already copy unconditionally with silent failure fallback. It's unnecessary to gate it. I am guessing at some point we thought it was necessary but the service won't be started automatically.

This isn't causing any problems. I noticed the inconsistency when I was adding Galaxie here recently to the same area of code and went on a bit of search trying to figure out how we should be doing it then realising the gate for RPC is not required.

@leighmcculloch leighmcculloch requested a review from a team January 12, 2026 06:31
@github-project-automation github-project-automation bot moved this to Backlog (Not Ready) in DevX Jan 12, 2026
@leighmcculloch leighmcculloch marked this pull request as ready for review January 12, 2026 06:32
Copy link
Contributor

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 removes an unnecessary conditional check when copying the stellar-rpc.conf supervisor configuration file, aligning it with the pattern used for other optional service configs.

Changes:

  • Removed the ENABLE_RPC environment variable check that gated copying stellar-rpc.conf during supervisor config setup

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@leighmcculloch leighmcculloch enabled auto-merge (squash) January 12, 2026 13:58
@leighmcculloch leighmcculloch merged commit b13d712 into main Jan 12, 2026
97 checks passed
@leighmcculloch leighmcculloch deleted the smallfix branch January 12, 2026 14:08
@github-project-automation github-project-automation bot moved this from Backlog (Not Ready) to Done in DevX Jan 12, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Status: Done

Development

Successfully merging this pull request may close these issues.

3 participants