Skip to content

Harden DbWriter transaction coverage and metadata writes - #2745

Merged
Widthdom merged 3 commits into
mainfrom
fix-issue1669-1735-1753
May 31, 2026
Merged

Harden DbWriter transaction coverage and metadata writes#2745
Widthdom merged 3 commits into
mainfrom
fix-issue1669-1735-1753

Conversation

@Widthdom

Copy link
Copy Markdown
Owner

Summary

  • Add a weekly Stryker.NET mutation-testing workflow scoped to DbWriter rollback/savepoint paths.
  • Lock in GetUnchangedFileId checksum-drift behavior with regression coverage.
  • Make SetMeta join writer transaction boundaries or use a standalone SQLite savepoint, with metadata rollback tests and developer documentation.

Validation

  • dotnet run --project tools/CodeIndex.Changelog -- check
  • dotnet test tests/CodeIndex.Tests/CodeIndex.Tests.csproj --filter "FullyQualifiedName~DatabaseTests|FullyQualifiedName~PreparedCommandCacheTests" -p:UseSharedCompilation=false
  • dotnet build CodeIndex.sln -c Release -p:UseSharedCompilation=false

Documentation / Changelog

  • DEVELOPER_GUIDE.md
  • changelog.d/unreleased/1669.internal.md
  • changelog.d/unreleased/1735.fixed.md
  • changelog.d/unreleased/1753.fixed.md

Follow-up References

Fixes #1669
Fixes #1735
Fixes #1753

@Widthdom
Widthdom force-pushed the fix-issue1669-1735-1753 branch from b198b83 to 21dfee7 Compare May 31, 2026 10:05
@Widthdom
Widthdom merged commit 6daa1f3 into main May 31, 2026
10 checks passed
@Widthdom
Widthdom deleted the fix-issue1669-1735-1753 branch May 31, 2026 10:27
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

1 participant