Skip to content

Load the config file on startup#258

Merged
bal-e merged 6 commits intomainfrom
load-config-on-startup
Oct 22, 2025
Merged

Load the config file on startup#258
bal-e merged 6 commits intomainfrom
load-config-on-startup

Conversation

@bal-e
Copy link
Contributor

@bal-e bal-e commented Oct 21, 2025

I had initially design the config system with the idea that Cascade can restart at any time and continue exactly as it was before. But this idea has unintuitive effects, and we've heard from users that they expect restarting the daemon will reload the configuration file. It also caused confusing problems with binding privileged ports. This PR restores the standard behavior.

Solves #192. Should help with #226.

bal-e added 2 commits October 21, 2025 13:29
Previously, the configuration file was stored in state and only reloaded
in response to 'cascade reload'.  Users found this behaviour confusing,
and it complicates some internal logic, so we're changing it to the
standard approach.
@bal-e bal-e added this to the 0.1.0-alpha3 milestone Oct 21, 2025
@bal-e bal-e self-assigned this Oct 21, 2025
@bal-e bal-e added the enhancement New feature or request label Oct 21, 2025
Copy link
Member

@mozzieongit mozzieongit left a comment

Choose a reason for hiding this comment

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

Just missing a few doc changes, but I would have a few commits prepared for that. Should I push them or make a new PR?

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

Labels

enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants