Skip to content

Ravendb upgrade - #5978

Draft
afprtclr wants to merge 8 commits into
masterfrom
ravendb-upgrade
Draft

afprtclr wants to merge 8 commits into
masterfrom
ravendb-upgrade

Conversation

@afprtclr

@afprtclr afprtclr commented Oct 9, 2026

Copy link
Copy Markdown
Contributor

No description provided.

afprtclr and others added 6 commits October 9, 2026 15:39
Brings the branch up to date so the retention sweep tests and the RavenDB
environment data tests are present alongside the RavenDB 7 upgrade changes.

Co-Authored-By: Claude Code <noreply@anthropic.com>
RavenDB 7 removed the 'Logs.Mode' setting (None/Operations/Information) in
favour of 'Logs.MinLevel', which takes a Sparrow.Logging.LogLevel name, so
the quiet default now reports as "Warn" rather than "Operations".

Co-Authored-By: Claude Code <noreply@anthropic.com>
A_cancelled_sweep_keeps_the_errors_of_passes_that_failed_first cancelled from
the test thread right after TryStartManualSweep returned. When the failing pass
and the empty database let the whole sweep finish before the token was observed,
the sweep had genuinely completed and reported Failed rather than Cancelled.
Raise the cancellation from inside the sweep instead, by arming the batch-delete
interceptor over an event log pass with more than one batch of expired rows, so
the cancellation can only land between batches.

Check_does_not_expire_with_time advanced the shared fake clock by two hours to
prove the alert does not age out, but that also let the hosted sweeper's own
timer fire. A sweep against a healthy database succeeded, cleared the reported
failure and reset the consecutive failure count, so the check passed. Keep the
error retention period unrepresentable so those background sweeps fail too,
which is the shape the check exists for.

Co-Authored-By: Claude Code <noreply@anthropic.com>
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