Skip to content

Fix DB compatibility docs and checkpoint rollback - #2748

Merged
Widthdom merged 6 commits into
mainfrom
fix-issue1718-1721
May 31, 2026
Merged

Fix DB compatibility docs and checkpoint rollback#2748
Widthdom merged 6 commits into
mainfrom
fix-issue1718-1721

Conversation

@Widthdom

Copy link
Copy Markdown
Owner

Summary

  • Add bilingual DB compatibility policy documentation and link it from README/DEVELOPER_GUIDE.
  • Add db checkpoint/list/restore commands and automatic backfill-fold checkpointing.
  • Harden restore against incomplete checkpoints and restore failures.

Issues

Fixes #1718
Fixes #1721

Follow-up: #2747

Validation

  • dotnet build CodeIndex.sln -c Release -p:UseSharedCompilation=false
  • dotnet test tests/CodeIndex.Tests/CodeIndex.Tests.csproj -c Release -p:UseSharedCompilation=false --filter DbCommandRunnerTests
  • dotnet test tests/CodeIndex.Tests/CodeIndex.Tests.csproj --filter DbCommandRunnerTests --no-restore
  • dotnet run --project tools/CodeIndex.Changelog -- check
  • git diff --check
  • dotnet ./src/CodeIndex/bin/Debug/net8.0/cdidx.dll status --check --json
  • Codex adversarial review: No blocking/actionable issues found.

Full solution test run was attempted earlier but encountered unrelated intermittent failures/stall; tracked separately in #2747.

@Widthdom
Widthdom marked this pull request as ready for review May 31, 2026 11:28
@Widthdom
Widthdom merged commit d65ea68 into main May 31, 2026
11 checks passed
@Widthdom
Widthdom deleted the fix-issue1718-1721 branch May 31, 2026 11:29
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.

No rollback / checkpoint mechanism for partial migration failures Schema version forward/backward compatibility policy is not documented

1 participant