Skip to content

Add status and index diagnostics - #2728

Merged
Widthdom merged 4 commits into
mainfrom
codex/fix-issue1637-1680-1792-1817
May 31, 2026
Merged

Add status and index diagnostics#2728
Widthdom merged 4 commits into
mainfrom
codex/fix-issue1637-1680-1792-1817

Conversation

@Widthdom

Copy link
Copy Markdown
Owner

Summary

  • Add DB/WAL sizes and per-language symbol-kind histograms to status JSON.
  • Add current process heap/GC/working-set metrics and persisted last-index-run metadata for CLI/MCP index runs.
  • Add index --memory-trace JSON memory timelines, CDIDX_MEM_WARN_MB warnings, docs, tests, and changelog fragment.

Validation

  • dotnet build CodeIndex.sln -c Release -p:UseSharedCompilation=false
  • dotnet test tests/CodeIndex.Tests/CodeIndex.Tests.csproj -c Release -p:UseSharedCompilation=false --filter "FullyQualifiedNameCliFlagSchemaTests|FullyQualifiedNameDbReaderTests.GetStatus_ExposesOperationalMetrics|FullyQualifiedNameJsonOutputSnapshotTests.RunStatus_JsonOutput_MatchesGolden|FullyQualifiedNameCliJsonSerializerContextTests|FullyQualifiedName~JsonOutputApiVersionTests"
  • dotnet run --project tools/CodeIndex.Changelog -- check
  • dotnet ./src/CodeIndex/bin/Release/net8.0/cdidx.dll status --json
  • dotnet ./src/CodeIndex/bin/Release/net8.0/cdidx.dll index . --files README.md --json --memory-trace --parallelism 1
  • codex adversarial review: No blocking/actionable issues found.

Notes

Fixes #1637
Fixes #1680
Fixes #1792
Fixes #1817

Widthdom added 3 commits May 31, 2026 13:49
…680-1792-1817

# Conflicts:
#	AGENT_GUIDE.md
#	src/CodeIndex/Cli/ConsoleUi.cs
#	src/CodeIndex/Database/DbReader.FilesStatus.cs
@Widthdom
Widthdom marked this pull request as ready for review May 31, 2026 05:38
…680-1792-1817

# Conflicts:
#	src/CodeIndex/Cli/ConsoleUi.cs
#	src/CodeIndex/Cli/IndexCommandRunner.Parse.cs
#	src/CodeIndex/Cli/IndexCommandRunner.cs
@Widthdom
Widthdom merged commit 5ebd972 into main May 31, 2026
11 checks passed
@Widthdom
Widthdom deleted the codex/fix-issue1637-1680-1792-1817 branch May 31, 2026 07:21
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