Skip to content

Fix trimmed backfill-fold JSON output - #1074

Merged
Widthdom merged 3 commits into
mainfrom
fix-issue181
Apr 30, 2026
Merged

Fix trimmed backfill-fold JSON output#1074
Widthdom merged 3 commits into
mainfrom
fix-issue181

Conversation

@Widthdom

Copy link
Copy Markdown
Owner

Summary

  • Replace backfill-fold JSON envelopes with source-generated DTOs so the trimmed release no longer aborts on --json.
  • Add a regression that publishes a trimmed cdidx.dll and exercises both the success and missing-db JSON paths.
  • Update the changelog in both English and Japanese.

Validation

  • dotnet build
  • dotnet test tests/CodeIndex.Tests/CodeIndex.Tests.csproj --filter FullyQualifiedName~RunBackfillFold_PublishedTrimmedBinary_SerializesSuccessAndErrorJson
  • dotnet test tests/CodeIndex.Tests/CodeIndex.Tests.csproj --filter FullyQualifiedName~RunBackfillFold_
  • dotnet test tests/CodeIndex.Tests/CodeIndex.Tests.csproj

Documentation / Changelog

  • Updated CHANGELOG.md in both language sections.

Fixes #181

Follow-up candidates

  • Other CLI JSON paths in QueryCommandRunner still use anonymous-object serialization and may need the same source-generated treatment if trimmed-build JSON support is expanded beyond backfill-fold.

@Widthdom
Widthdom merged commit a76eee9 into main Apr 30, 2026
6 checks passed
@Widthdom
Widthdom deleted the fix-issue181 branch April 30, 2026 15:58

Copy link
Copy Markdown
Owner Author

Work started on branch fix-issue1074 to address the follow-up candidates from this PR.

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