Skip to content

Make the services definition path env-overridable#97

Open
lewispb wants to merge 1 commit into
mainfrom
staging-services-config
Open

Make the services definition path env-overridable#97
lewispb wants to merge 1 commit into
mainfrom
staging-services-config

Conversation

@lewispb

@lewispb lewispb commented Jun 30, 2026

Copy link
Copy Markdown
Member

Adds Upright.config.services_path (defaults to config/services.yml) and has Upright::Service read from it, mirroring probes_path. This lets a host point a given environment at a different services file so the public status page reflects that environment's actual probe set.

Backward-compatible: the default is unchanged, so existing installs (and the dummy app) behave exactly as before.

Paired with 37upright's staging-services-config branch, which sets services_path to a staging-only services file.

🤖 Generated with Claude Code

Add Upright.config.services_path (defaults to config/services.yml), and have
Upright::Service read from it. Lets a host point staging at a different
services file so the public status page reflects the environment's probe set,
mirroring probes_path.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
Copilot AI review requested due to automatic review settings June 30, 2026 14:43

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Copilot was unable to review this pull request because the user who requested the review has reached their quota limit.

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