Skip to content

chore: fix benchmark results by running one by one#35

Merged
aeneasr merged 5 commits intomainfrom
more-bench
Mar 10, 2026
Merged

chore: fix benchmark results by running one by one#35
aeneasr merged 5 commits intomainfrom
more-bench

Conversation

@aeneasr
Copy link
Member

@aeneasr aeneasr commented Mar 10, 2026

No description provided.

@aeneasr aeneasr enabled auto-merge (squash) March 10, 2026 22:30
aeneasr and others added 3 commits March 10, 2026 23:32
…exVersion

Using the git commit hash in the DB path forced a full re-index on every
release, even when nothing in the chunker or index format changed. Replace
BinaryVersion (dynamically resolved from VCS at build time) with a static
IndexVersion constant ("1") in internal/config/version.go.

Increment IndexVersion only when a chunker, embedder, or index-format
change makes existing indexes incompatible. Document the reason in the
commit message. This means users re-index only when necessary, not on
every binary update.

- Remove ldflags injection from Makefile, .goreleaser.yml, and e2e_test.go
- Add DBPathForProject tests covering determinism, model/path isolation,
  and IndexVersion stability

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
@aeneasr aeneasr merged commit 144de08 into main Mar 10, 2026
4 checks passed
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