The first setting saved to a custom runtime configuration file in a folder that did not exist at start now applies live #322
No reviewers
Labels
No labels
agent
api-regen
agent
architect
agent
coder
agent
console-coder
agent
docs-writer
agent
mechanic
agent
protocol-coder
agent
storage-coder
area/api
area/ci
area/console
area/dhcp
area/dns
area/docs
area/packaging
area/process
area/storage
area/windows
kind
bug
kind
chore
kind
docs
kind
epic
kind
feature
kind
performance
kind
security
kind
test
priority
high
priority
low
priority
medium
resolution
duplicate
resolution
not-a-bug
resolution
wontfix
status
blocked
status
in-progress
status
needs-decision
status
needs-design
status
ready
theme
ad-samba-dns
theme
alternatives-benchmark
theme
console-toolchain
theme
later
theme
parity-devices
theme
parity-query
theme
post-release-fixes
theme
tracker-setup
theme
valkey
theme
windows-installer
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
lantea-one/ninlil!322
Loading…
Reference in a new issue
No description provided.
Delete branch "feature/321-custom-settings-missing-folder"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
When a custom runtime configuration file's folder does not exist at start,
ResolveFileProvider()roots the file watcher at the nearest existing ancestor. That watcher can miss the creation of the folder and of the first file, so the first settings save did not apply live.RuntimeConfigurationFileSource.AddIfMissingnow creates the folder before it builds the source. If the folder cannot be created (read-only location,ProtectSystem=strict), startup continues: the file is optional, and the first save reports its own error.Verified: build has 0 warnings, csharpier is clean, and
Ninlil.Web.Testspasses (2128 tests, without the Docker-only ones). The verifier reported no blocking findings.Closes #321
🤖 Generated with Claude Code
https://claude.ai/code/session_01T33E3pmQvqkTriyQUMNUTK