Skip to content

fix: honor log cleanup cancellation - #144

Open
vycdev2 wants to merge 1 commit into
vycdev:developfrom
vycdev2:fix/delete-old-logs-cancellation-20260816
Open

fix: honor log cleanup cancellation#144
vycdev2 wants to merge 1 commit into
vycdev:developfrom
vycdev2:fix/delete-old-logs-cancellation-20260816

Conversation

@vycdev2

@vycdev2 vycdev2 commented Aug 16, 2026

Copy link
Copy Markdown
Contributor

Summary

  • pass the Quartz cancellation token to the old-log bulk deletion
  • add a regression test proving pre-canceled cleanup preserves expired logs

Verification

  • dotnet test Morpheus.Tests/Morpheus.Tests.csproj --no-restore --filter FullyQualifiedName~DeleteOldLogsJobTests — passed: 1 test
  • dotnet build — passed: 0 errors (existing SQLite package advisory warning)
  • dotnet test --no-build — passed: 429, skipped: 1
  • git diff --check — passed

Risk

  • Low: the behavior changes only when Quartz requests cancellation; normal cleanup retains the existing query and logging.

This was generated by an AI agent (vycdev2). Please verify any changes before merging or applying.

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