Skip to content

Fix Elixir pipe and defimpl indexing - #2737

Merged
Widthdom merged 5 commits into
mainfrom
codex/fix-issue1664-1824
May 31, 2026
Merged

Fix Elixir pipe and defimpl indexing#2737
Widthdom merged 5 commits into
mainfrom
codex/fix-issue1664-1824

Conversation

@Widthdom

Copy link
Copy Markdown
Owner

Summary

  • Index Elixir pipe targets as call references for qualified and local pipe steps.
  • Index Elixir defimpl blocks as protocol_impl symbols and emit protocol/type references.
  • Migrate stale SQLite kind CHECK constraints so existing databases accept the new protocol_impl symbol/container kind.

Validation

  • dotnet test tests/CodeIndex.Tests/CodeIndex.Tests.csproj --filter "FullyQualifiedName~Extract_ElixirPipeCalls_DetectsQualifiedAndUnqualifiedTargets|FullyQualifiedName~InitializeSchema_RefreshesLegacyKindCheckConstraints|FullyQualifiedName~Extract_Elixir_DetectsProtocolImplementations|FullyQualifiedName~Extract_ElixirDefimpl_CapturesProtocolAndImplementedTypes" -p:UseSharedCompilation=false
  • dotnet run --project tools/CodeIndex.Changelog -- check
  • dotnet build CodeIndex.sln -c Release -p:UseSharedCompilation=false
  • dotnet test CodeIndex.sln -c Release --no-build -p:UseSharedCompilation=false fails in this local environment because git-backed tests inherit the user's global SSH signing key and cannot unlock /Users/widthdom/.ssh/id_ed25519_signing; observed failure mode is fatal: failed to write commit object.
  • Adversarial review: No blocking/actionable issues found.

Fixes #1664
Fixes #1824

@Widthdom
Widthdom merged commit 1b5aa22 into main May 31, 2026
10 checks passed
@Widthdom
Widthdom deleted the codex/fix-issue1664-1824 branch May 31, 2026 07:22
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.

Elixir defimpl protocol implementation not extracted Elixir pipe operator chains miss intermediate function-call references

1 participant