Phase 6.1 Stream B.4 follow-up - ScheduledRecycleHostedService #101
Reference in New Issue
Block a user
Delete Branch "phase-6-1-stream-b4-hosted-service"
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?
Turns the pure-logic ScheduledRecycleScheduler into a running background feature.
Summary
ScheduledRecycleHostedService : BackgroundService. AddScheduler before StartAsync; post-start throws.TickOnceAsyncpublic method extracted as the unit-of-work so tests drive it directly, bypassing BackgroundService + FakeTimeProvider timing semantics.Test plan
dotnet test: 1193 passing (was 1186, +7).Production wiring example
🤖 Generated with Claude Code