Commit graph

5 commits

Author SHA1 Message Date
jedarden
200a638c05 feat(bench): add performance benchmarks and regression gate (P9.5)
Implement plan §8 performance benchmarks with criterion:

- Fixed merger_bench.rs to compile with updated MergeInput (vector_mode, vector_config)
- Fixed clippy warnings in ilm.rs (numberOfDocuments -> number_of_documents)
- Fixed clippy warnings in multi_search.rs (indexUid -> index_uid)
- Added docs/benchmarks.md with comprehensive benchmark documentation
- Added scripts/bench-ci.sh for CI benchmark runner
- Added scripts/bench-compare.sh for regression gate (>20% slowdown detection)

Benchmarks verified:
- router_bench: Rendezvous ~384 µs for 10K docs (target: <1 ms) 
- merger_bench: Merger ~1.07 ms for 1000 hits/3 shards (target: <1 ms) ⚠️
- integration_bench: E2E latency and ingest throughput (require docker-compose)

Closes: miroir-89x.5

Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
2026-05-25 00:44:33 -04:00
jedarden
56585972ca fix(release): strip quotes from Chart.yaml appVersion in release-ready-check
The appVersion field in Chart.yaml has quotes around the value (e.g.
appVersion: "0.1.0"), which the release-ready-check.sh script was
including in the parsed value. This caused false positive failures
when comparing Cargo.toml version (0.1.0) with Chart.yaml appVersion
("0.1.0").

Fix by piping to tr -d '"' to strip the quotes.

Closes: miroir-qjt.6 (P8.6 Release mechanics)

All release mechanics acceptance criteria verified:
- bump-version.sh atomically updates all 3 files
- miroir-release.yaml handles tag-triggered releases
- Pre-release tags skip :latest and float tags
- release-ready-check.sh now correctly validates version sync

Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
2026-05-25 00:09:16 -04:00
jedarden
83c239ee60 feat(ci): add changelog lint script and fix clippy warnings
- Add scripts/changelog-lint.sh to validate [Unreleased] section has entries
- Remove unused imports from cdc.rs, explainer.rs, group_sync_worker.rs
- Fix unused variables in scatter.rs tests
- Use fully-qualified path for MockNodeClient in anti_entropy.rs tests

The changelog lint script enforces the plan §7 CHANGELOG maintenance
pattern by checking that the [Unreleased] section gained at least one
entry under standard subheadings (Added, Changed, etc.) since the last
release. This prevents silent CHANGELOG drift.

Closes: miroir-uyx.2

Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
2026-05-24 09:10:50 -04:00
jedarden
158752fe7b feat(multi-search): implement timeout enforcement and acceptance tests (§13.11)
- Add per-query and total timeout enforcement to MultiSearchExecutor
- Improve SearchResult with helper methods (ok, err, timeout, is_success)
- Fix ModeACoordinator feature-gate compilation issues
- Add comprehensive acceptance tests for multi-search:
  - 5-query batch completion
  - Slow query doesn't block fast queries (parallel execution)
  - Partial failure handling
  - Per-query timeout
  - Total timeout
  - 100-query batch completion

Closes: miroir-uhj.11
2026-05-24 01:54:20 -04:00
jedarden
2dcfae8822 P8.6: Release mechanics — bump script, release-ready check, PR template, Argo CIs
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-04-19 09:54:26 -04:00