Skip to content

chore: release 0.2.5791 hotfix#358

Open
justrach wants to merge 3 commits intomainfrom
release/0.2.5791-hotfix
Open

chore: release 0.2.5791 hotfix#358
justrach wants to merge 3 commits intomainfrom
release/0.2.5791-hotfix

Conversation

@justrach
Copy link
Copy Markdown
Owner

@justrach justrach commented May 3, 2026

Summary

Prepare hotfix release 0.2.5791 by bumping the embedded release version on the release branch.

Context

This PR merges the release/0.2.5791-hotfix branch back into main so the hotfix release metadata is aligned on the default branch.

Changes

  • Updated the embedded release semver from 0.2.579 to 0.2.5791.
  • Includes hotfix branch commits for scoped regex search support and query step auto-detection already present relative to the release branch history.

Key Implementation Details

The net change currently visible against main is limited to src/release_info.zig, which controls the release semver reported by the binary.

Testing

Reviewers can verify with:

zig build test
python3 scripts/e2e_mcp_test.py --binary zig-out/bin/codedb --project /path/to/codedb

Links

  • Release branch: release/0.2.5791-hotfix

justrach added 3 commits May 3, 2026 03:03
Previously, when both scope=true and regex=true were set, the scope branch
always used literal search (searchContentWithScope), ignoring the regex flag.
The branch order in handleSearch was: if (scope) {literal only} else {regex/literal}.

Now restructured to 4-way branch:
1. scope && regex -> searchContentRegexWithScope (NEW)
2. scope         -> searchContentWithScope (unchanged)
3. regex         -> searchContentRegex (unchanged)
4. default       -> searchContent (unchanged)

Added searchContentRegexWithScope public method and
searchInContentRegexWithScope private helper to Explorer, using trigram
acceleration and regexMatch per-line with scope lookup.
@github-actions
Copy link
Copy Markdown

github-actions Bot commented May 3, 2026

Benchmark Regression Report

Thresholds: 10.00% and 50,000 ns absolute delta

NOISE means the percentage threshold was exceeded, but the absolute delta was too small to fail CI.

Tool Base (ns) Head (ns) Delta Abs Delta (ns) Status
codedb_bundle 538209 528941 -1.72% -9268 OK
codedb_changes 55115 59536 +8.02% +4421 OK
codedb_deps 10263 12066 +17.57% +1803 NOISE
codedb_edit 6221 7206 +15.83% +985 NOISE
codedb_find 62096 61790 -0.49% -306 OK
codedb_hot 104137 107389 +3.12% +3252 OK
codedb_outline 296551 291029 -1.86% -5522 OK
codedb_read 94077 95080 +1.07% +1003 OK
codedb_search 188092 183499 -2.44% -4593 OK
codedb_snapshot 287597 272797 -5.15% -14800 OK
codedb_status 200464 205865 +2.69% +5401 OK
codedb_symbol 61456 59995 -2.38% -1461 OK
codedb_tree 44057 45067 +2.29% +1010 OK
codedb_word 75674 70249 -7.17% -5425 OK

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.

1 participant