Skip to content

Honor forced disaster mode at startup - #278

Merged
snapetech merged 1 commit into
mainfrom
agent/honor-disaster-force
Jul 24, 2026
Merged

Honor forced disaster mode at startup#278
snapetech merged 1 commit into
mainfrom
agent/honor-disaster-force

Conversation

@snapetech

Copy link
Copy Markdown
Owner

What changed

  • initialize DisasterModeCoordinator in FullFallback when virtualSoulfind.disasterMode.force is enabled
  • add focused lifecycle coverage for the forced startup state

Why

The option was bound from configuration and exposed through the options API, but the coordinator always initialized in Normal, so the documented force override had no runtime effect.

Impact

Operators and tests that explicitly enable the force override now receive the requested full fallback state immediately at startup. The default remains Normal.

Validation

  • dotnet test tests/slskd.Tests.Unit/slskd.Tests.Unit.csproj -c Release --filter FullyQualifiedName~DisasterModeLifecycleTests --no-restore
  • 4 passed, 0 failed

@snapetech
snapetech merged commit 69ff0a4 into main Jul 24, 2026
13 of 16 checks passed
@snapetech
snapetech deleted the agent/honor-disaster-force branch July 24, 2026 17:36
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.

1 participant